AccountRegistrationController.ApproveRequest Method |
Approves the registration request.
Namespace:
Dundas.BI.WebApi.Controllers
Assembly:
Dundas.BI.WebApi (in Dundas.BI.WebApi.dll) Version: 2.0.0.0 (25.2.0.1000)
Syntax[HttpPostAttribute("Approve/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult ApproveRequest(
Guid id,
[FromBodyAttribute] ApproveRequestOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("Approve/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function ApproveRequest (
id As Guid,
<FromBodyAttribute> options As ApproveRequestOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult
public:
[HttpPostAttribute(L"Approve/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult^ ApproveRequest(
Guid id,
[FromBodyAttribute] ApproveRequestOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("Approve/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member ApproveRequest :
id : Guid *
[<FromBodyAttribute>] options : ApproveRequestOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- id
- Type: System.Guid
The ID of the request to approve. - options
- Type: Dundas.BI.WebApi.Models.ApproveRequestOptions
The options. - sessionId (Optional)
- Type: System.Nullable<Guid>
The session ID.
Return Value
Type:
ActionResult
See Also