SessionController.SetCustomAttributes Method |
Sets the custom attributes for the specified session ID.
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("CustomAttributes")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
public ActionResult SetCustomAttributes(
[FromBodyAttribute] SetSessionCustomAttributesOptions options,
Guid? sessionId = null
)
<HttpPostAttribute("CustomAttributes")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(440)>
Public Function SetCustomAttributes (
<FromBodyAttribute> options As SetSessionCustomAttributesOptions,
Optional sessionId As Guid? = Nothing
) As ActionResult
public:
[HttpPostAttribute(L"CustomAttributes")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(440)]
ActionResult^ SetCustomAttributes(
[FromBodyAttribute] SetSessionCustomAttributesOptions^ options,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("CustomAttributes")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(440)>]
member SetCustomAttributes :
[<FromBodyAttribute>] options : SetSessionCustomAttributesOptions *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult
Parameters
- options
- Type: Dundas.BI.WebApi.Models.SetSessionCustomAttributesOptions
The information to be used to set the custom attributes for the session. - sessionId (Optional)
- Type: System.Nullable<Guid>
ID of the current session (session must be of a user with high enough permissions to set attributes).
Return Value
Type:
ActionResult
See Also