OperationsController.GetID - метод
Возвращает идентификатор операции по хеш-значению запроса с параметрами операции
или null (204 No Content), если соответствующей операции не было найдено.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 3.6.0.23
[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
-> Task<ActionResult<Nullable<Guid>>>
- typeID Guid
- Идентификатор типа операции. Системные типы перечислены в OperationTypes.
- requestHash Byte[]
- Хеш-значение для параметров запроса операции.
- cancellationToken CancellationToken (Optional)
- Объект, посредством которого можно отменить асинхронную задачу.
Task<ActionResult<Nullable<Guid>>>
Идентификатор операции по хеш-значению запроса с параметрами операции
или
null (204 No Content), если соответствующей операции не было найдено.