FormEditorControllerQueryAsync - метод
Queries all forms with specified parameters.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.0+ffad8363f63902f18b3b3f4cfa533a14b2fb19a6
[HttpGetAttribute("query-forms")]
[SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<List<FormEditorRootModel>>> QueryAsync(
[FromQueryAttribute(Name = "bundleId")] Guid? bundleID,
[FromQueryAttribute(Name = "alias")] string? alias,
[FromQueryAttribute(Name = "cardTypeId")] Guid? cardTypeID,
[FromQueryAttribute(Name = "taskTypeId")] Guid? taskTypeID,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("query-forms")>
<SessionMethodAttribute(UserAccessLevel.Regular, false, New String() { ... })>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function QueryAsync (
<FromQueryAttribute(Name := "bundleId")> bundleID As Guid?,
<FromQueryAttribute(Name := "alias")> alias As String,
<FromQueryAttribute(Name := "cardTypeId")> cardTypeID As Guid?,
<FromQueryAttribute(Name := "taskTypeId")> taskTypeID As Guid?,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of List(Of FormEditorRootModel)))
public:
[HttpGetAttribute(L"query-forms")]
[SessionMethodAttribute(UserAccessLevel::Regular, false, __gc new array<String^>^ { ... })]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<List<FormEditorRootModel^>^>^>^ QueryAsync(
[FromQueryAttribute(Name = L"bundleId")] Nullable<Guid> bundleID,
[FromQueryAttribute(Name = L"alias")] String^ alias,
[FromQueryAttribute(Name = L"cardTypeId")] Nullable<Guid> cardTypeID,
[FromQueryAttribute(Name = L"taskTypeId")] Nullable<Guid> taskTypeID,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("query-forms")>]
[<SessionMethodAttribute(UserAccessLevel.Regular, false, new string[] { ... })>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member QueryAsync :
[<FromQueryAttribute(Name = "bundleId")>] bundleID : Nullable<Guid> *
[<FromQueryAttribute(Name = "alias")>] alias : string *
[<FromQueryAttribute(Name = "cardTypeId")>] cardTypeID : Nullable<Guid> *
[<FromQueryAttribute(Name = "taskTypeId")>] taskTypeID : Nullable<Guid> *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<List<FormEditorRootModel>>>
- bundleID NullableGuid
- Bundle's identifier.
- alias String
- form name.
- cardTypeID NullableGuid
- Card type identifier.
- taskTypeID NullableGuid
- Task type identifier.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResultListFormEditorRootModelList of
FormEditorRootModel