OperationsControllerGetID - метод
Get identifier of existent operation with the same request hash and attributes,
or 204 (No Content) if no such operation is found.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute("get-id")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<Guid?>> GetID(
[FromQueryAttribute(Name = "type")] Guid typeID,
[FromQueryAttribute(Name = "hash")] byte[] requestHash,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("get-id")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetID (
<FromQueryAttribute(Name := "type")> typeID As Guid,
<FromQueryAttribute(Name := "hash")> requestHash As Byte(),
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of Guid?))
public:
[HttpGetAttribute(L"get-id")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<Nullable<Guid>>^>^ GetID(
[FromQueryAttribute(Name = L"type")] Guid typeID,
[FromQueryAttribute(Name = L"hash")] array<unsigned char>^ requestHash,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("get-id")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetID :
[<FromQueryAttribute(Name = "type")>] typeID : Guid *
[<FromQueryAttribute(Name = "hash")>] requestHash : byte[] *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<Nullable<Guid>>>
- typeID Guid
- Type identifier of operation to find. System types are listed in OperationTypes class.
- requestHash Byte
- Hash value of operation's request parameters.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultNullableGuid
Identifier of existent operation with the same request hash and attributes,
or 204 (No Content) if no such operation is found.