ApplicationsControllerGetFaultedResult - метод
Get errors occured when downloading app as
PlainValidationResult object.
Returns 204 (No Content) if data is unavailable: there were no errors or history record is inaccessible by user.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpGetAttribute("faulted-results/{id:guid}")]
[SessionMethodAttribute(UserAccessLevel.Regular)]
[ProducesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult<PlainValidationResult>> GetFaultedResult(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = default
)
<HttpGetAttribute("faulted-results/{id:guid}")>
<SessionMethodAttribute(UserAccessLevel.Regular)>
<ProducesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(204)>
Public Function GetFaultedResult (
<FromRouteAttribute> id As Guid,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult(Of PlainValidationResult))
public:
[HttpGetAttribute(L"faulted-results/{id:guid}")]
[SessionMethodAttribute(UserAccessLevel::Regular)]
[ProducesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult<PlainValidationResult^>^>^ GetFaultedResult(
[FromRouteAttribute] Guid id,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpGetAttribute("faulted-results/{id:guid}")>]
[<SessionMethodAttribute(UserAccessLevel.Regular)>]
[<ProducesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(204)>]
member GetFaultedResult :
[<FromRouteAttribute>] id : Guid *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult<PlainValidationResult>>
- id Guid
-
History record`s id. Use property ActionHistoryRowID
of downloaded package to get it.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
TaskActionResultPlainValidationResult
Errors occured when downloading app as
PlainValidationResult object,
or 204 (No Content) if data is unavailable.