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.1.3+7e2b1422f9b8c7c41fbbc4b151a843bed05319ab
[HttpGetAttribute("get-id")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<Guid?>> GetID(
[FromQueryAttribute(Name = "type")] Guid typeID,
[FromQueryAttribute] byte[] hash,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("get-id")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetID (
<FromQueryAttribute(Name := "type")> typeID As Guid,
<FromQueryAttribute> hash As Byte(),
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of Guid?))
public:
[HttpGetAttribute(L"get-id")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<Nullable<Guid>>^>^ GetID(
[FromQueryAttribute(Name = L"type")] Guid typeID,
[FromQueryAttribute] array<unsigned char>^ hash,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("get-id")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetID :
[<FromQueryAttribute(Name = "type")>] typeID : Guid *
[<FromQueryAttribute>] hash : 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.
- hash Byte
- Operation's hash value.
- cancellationToken CancellationToken (Optional)
- Token to cancel an async task.
TaskActionResultNullableGuid
Identifier of existent operation with the same request hash and attributes,
or 204 (No Content) if no such operation is found.