SchemeControllerPutTable - метод
Save table, creating new one or modifying existent.
Method is available for administrators only.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.0.4
[HttpPutAttribute("tables/{id:guid}")]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[ConsumesAttribute("application/json", new string[] { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(201)]
public ValueTask<IActionResult> PutTable(
[FromRouteAttribute] Guid id,
[FromBodyAttribute] PlainSchemeTable table,
CancellationToken cancellationToken = default
)
<HttpPutAttribute("tables/{id:guid}")>
<DisableRequestSizeLimitAttribute>
<TypedJsonBodyAttribute>
<ConsumesAttribute("application/json", New String() { ... })>
<ProducesResponseTypeAttribute(200)>
<ProducesResponseTypeAttribute(201)>
Public Function PutTable (
<FromRouteAttribute> id As Guid,
<FromBodyAttribute> table As PlainSchemeTable,
Optional cancellationToken As CancellationToken = Nothing
) As ValueTask(Of IActionResult)
public:
[HttpPutAttribute(L"tables/{id:guid}")]
[DisableRequestSizeLimitAttribute]
[TypedJsonBodyAttribute]
[ConsumesAttribute(L"application/json", __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(200)]
[ProducesResponseTypeAttribute(201)]
ValueTask<IActionResult^> PutTable(
[FromRouteAttribute] Guid id,
[FromBodyAttribute] PlainSchemeTable^ table,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPutAttribute("tables/{id:guid}")>]
[<DisableRequestSizeLimitAttribute>]
[<TypedJsonBodyAttribute>]
[<ConsumesAttribute("application/json", new string[] { ... })>]
[<ProducesResponseTypeAttribute(200)>]
[<ProducesResponseTypeAttribute(201)>]
member PutTable :
[<FromRouteAttribute>] id : Guid *
[<FromBodyAttribute>] table : PlainSchemeTable *
?cancellationToken : CancellationToken
(* Defaults:
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> ValueTask<IActionResult>
- id Guid
- Identifier of table to save.
- table PlainSchemeTable
- Table to save.
- cancellationToken CancellationToken (Optional)
- Token to cancel async task.
ValueTaskIActionResult204 (No Content).