POST api/role/{id}/savebrandportalexclusions

Get all brands with details for an agency

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

Collection of Dezrez.Core.DataContracts.External.Api.Role.Command.SaveBrandPortalExclusions.BrandPortalExclusionsDataContract
NameDescriptionTypeAdditional information
BrandId

integer

None.

PortalConfigurationIdsToExclude

Collection of string

None.

Request Formats

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'IList`1'.

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

System.Net.Http.HttpResponseMessage
NameDescriptionTypeAdditional information
Version

System.Version

None.

Content

System.Net.Http.HttpContent

None.

StatusCode

System.Net.HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

System.Net.Http.HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.