PUT api/v1/CalendarDatas/{id}/CalendarDataSecurityRoleLinks
Links calendar datas to security roles. The whole result set must be given when setting links because this method handles both adding/removing of links. If no links are given, clears all calendar data's links.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
Calendar data Id |
globally unique identifier |
Required |
Body Parameters
Parameter containing links
CalendarDataSecurityRoleLinksSetLinksParam| Name | Description | Type | Additional information |
|---|---|---|---|
| SecurityRoleIds |
Security role Ids to link for calendar data The whole result set must be given when setting links because this method handles both adding/removing of links. If no links are given, clears all calendar data's links. |
Collection of globally unique identifier |
None. |
Request Formats
application/json, text/json
Sample:
{
"SecurityRoleIds": [
"16d12b6e-37c9-4893-b01b-8bcaaf1af59e",
"2351fb96-0480-4f80-a101-31689c8865e0"
]
}
application/xml, text/xml
Sample:
<CalendarDataSecurityRoleLinksParams.CalendarDataSecurityRoleLinksSetLinksParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iloq.manager.server.ws.WebApi.Params">
<SecurityRoleIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:guid>16d12b6e-37c9-4893-b01b-8bcaaf1af59e</d2p1:guid>
<d2p1:guid>2351fb96-0480-4f80-a101-31689c8865e0</d2p1:guid>
</SecurityRoleIds>
</CalendarDataSecurityRoleLinksParams.CalendarDataSecurityRoleLinksSetLinksParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.