POST api/role/{id}/savebrandportalexclusions
Get all brands with details for an agency Processes this role API request. The parameter and response sections describe the data exchanged with the API.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
The unique identifier of the requested resource. |
integer |
Required |
Body Parameters
The brands to save value supplied with the request.
Collection of BrandPortalExclusionsDataContract| Name | Description | Type | Additional information |
|---|---|---|---|
| BrandId |
The unique identifier of the related brand resource. |
integer |
None. |
| PortalConfigurationIdsToExclude |
The collection of portal configuration ids to exclude. |
Collection of string |
None. |
Request Formats
application/x-www-form-urlencoded
Sample:
Sample not available.
application/json, text/json
Sample:
[
{
"BrandId": 1,
"PortalConfigurationIdsToExclude": [
"sample string 1",
"sample string 2"
]
},
{
"BrandId": 1,
"PortalConfigurationIdsToExclude": [
"sample string 1",
"sample string 2"
]
}
]
Response Information
Resource Description
The response returned after the operation completes.
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version |
The version value. |
Version |
None. |
| Content |
The content value. |
HttpContent |
None. |
| StatusCode |
The status code classification. |
HttpStatusCode |
None. |
| ReasonPhrase |
The reason phrase value. |
string |
None. |
| Headers |
The collection of headers. |
Collection of Object |
None. |
| RequestMessage |
The request message value. |
HttpRequestMessage |
None. |
| IsSuccessStatusCode |
Indicates whether this item is success status code. |
boolean |
None. |