POST {clientId}/ProfileDataExport/SegmentPermissions/{segmentLink}
This method allows you to create a Segment's specific (discrete) permissions
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId |
This is your organization’s MyPreferences account Id. |
string |
Required |
| segmentLink |
The unique id of the Segment |
integer |
Required |
Body Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserGroupLink |
|
integer | |
| CanView |
|
boolean | |
| CanEdit |
|
boolean | |
| CanExecute |
|
boolean | |
| Special |
|
integer |
Request Formats
application/json, text/json, application/json-patch+json
Sample:
[
{
"UserGroupLink": 1,
"CanView": true,
"CanEdit": true,
"CanExecute": true,
"Special": 5
},
{
"UserGroupLink": 1,
"CanView": true,
"CanEdit": true,
"CanExecute": true,
"Special": 5
}
]
application/xml, text/xml
Sample:
<ArrayOfProfilesSegmentPermission xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ProfileServices.REST.Models">
<ProfilesSegmentPermission>
<CanEdit>true</CanEdit>
<CanExecute>true</CanExecute>
<CanView>true</CanView>
<Special>5</Special>
<UserGroupLink>1</UserGroupLink>
</ProfilesSegmentPermission>
<ProfilesSegmentPermission>
<CanEdit>true</CanEdit>
<CanExecute>true</CanExecute>
<CanView>true</CanView>
<Special>5</Special>
<UserGroupLink>1</UserGroupLink>
</ProfilesSegmentPermission>
</ArrayOfProfilesSegmentPermission>
Response Information
Resource Description
None.
Response Formats
application/json, text/json, application/json-patch+json, application/xml, text/xml
Sample:
Sample not available.