SettingsUnitsControllerPostResetRecords - метод
Resets the existing settings unit records for specified category.
Пространство имён: Tessa.Web.ControllersСборка: Tessa.Web (в Tessa.Web.dll) Версия: 4.2.1+2efecbe35c10dec386bb05925f2876c4acbb708d
[HttpPostAttribute("reset/c/{category}")]
[SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })]
[ProducesResponseTypeAttribute(204)]
public Task<ActionResult> PostResetRecords(
[FromRouteAttribute] string category,
[FromQueryAttribute] bool nested = false,
CancellationToken cancellationToken = default
)
<HttpPostAttribute("reset/c/{category}")>
<SessionMethodAttribute(UserAccessLevel.Administrator, false, New String() { ... })>
<ProducesResponseTypeAttribute(204)>
Public Function PostResetRecords (
<FromRouteAttribute> category As String,
<FromQueryAttribute> Optional nested As Boolean = false,
Optional cancellationToken As CancellationToken = Nothing
) As Task(Of ActionResult)
public:
[HttpPostAttribute(L"reset/c/{category}")]
[SessionMethodAttribute(UserAccessLevel::Administrator, false, __gc new array<String^>^ { ... })]
[ProducesResponseTypeAttribute(204)]
Task<ActionResult^>^ PostResetRecords(
[FromRouteAttribute] String^ category,
[FromQueryAttribute] bool nested = false,
CancellationToken cancellationToken = CancellationToken()
)
[<HttpPostAttribute("reset/c/{category}")>]
[<SessionMethodAttribute(UserAccessLevel.Administrator, false, new string[] { ... })>]
[<ProducesResponseTypeAttribute(204)>]
member PostResetRecords :
[<FromRouteAttribute>] category : string *
[<FromQueryAttribute>] ?nested : bool *
?cancellationToken : CancellationToken
(* Defaults:
let _nested = defaultArg nested false
let _cancellationToken = defaultArg cancellationToken new CancellationToken()
*)
-> Task<ActionResult>
- category String
- The URL-encoded category name of the settings units. See Name.
- nested Boolean (Optional)
- Specifies that units in nested categories will also be reset.
- cancellationToken CancellationToken (Optional)
Propagates notification that operations should be canceled.
TaskActionResult