GroupController.UpdateCustomAttributesForGroup Method |
Updates the custom attributes for the specified group.
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("UpdateCustomAttributesForGroup/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
public ActionResult<GroupData> UpdateCustomAttributesForGroup(
Guid id,
[FromBodyAttribute] IList<CustomAttributeData> customAttributes,
Guid? sessionId = null
)
<HttpPostAttribute("UpdateCustomAttributesForGroup/{id}")>
<ProducesResponseTypeAttribute(403)>
<ProducesResponseTypeAttribute(405)>
<ProducesResponseTypeAttribute(409)>
<ProducesResponseTypeAttribute(410)>
<ProducesResponseTypeAttribute(440)>
Public Function UpdateCustomAttributesForGroup (
id As Guid,
<FromBodyAttribute> customAttributes As IList(Of CustomAttributeData),
Optional sessionId As Guid? = Nothing
) As ActionResult(Of GroupData)
public:
[HttpPostAttribute(L"UpdateCustomAttributesForGroup/{id}")]
[ProducesResponseTypeAttribute(403)]
[ProducesResponseTypeAttribute(405)]
[ProducesResponseTypeAttribute(409)]
[ProducesResponseTypeAttribute(410)]
[ProducesResponseTypeAttribute(440)]
ActionResult<GroupData^>^ UpdateCustomAttributesForGroup(
Guid id,
[FromBodyAttribute] IList<CustomAttributeData^>^ customAttributes,
Nullable<Guid> sessionId = nullptr
)
[<HttpPostAttribute("UpdateCustomAttributesForGroup/{id}")>]
[<ProducesResponseTypeAttribute(403)>]
[<ProducesResponseTypeAttribute(405)>]
[<ProducesResponseTypeAttribute(409)>]
[<ProducesResponseTypeAttribute(410)>]
[<ProducesResponseTypeAttribute(440)>]
member UpdateCustomAttributesForGroup :
id : Guid *
[<FromBodyAttribute>] customAttributes : IList<CustomAttributeData> *
?sessionId : Nullable<Guid>
(* Defaults:
let _sessionId = defaultArg sessionId null
*)
-> ActionResult<GroupData>
Parameters
- id
- Type: System.Guid
The group ID to be updated. - customAttributes
- Type: System.Collections.Generic.IList<CustomAttributeData>
The list of CustomAttributeData objects to be updated. - sessionId (Optional)
- Type: System.Nullable<Guid>
The current session ID.
Return Value
Type:
ActionResult<GroupData>The operation completed successfully. The payload contains a
GroupData object.
See Also