POST api/Branding/ChangeColors

Request Information

URI Parameters

None.

Body Parameters

BrandingColors
NameDescriptionTypeAdditional information
Light

boolean

None.

LightCatalog

boolean

None.

ColorCatalog

string

None.

SelectionColorCatalog

string

None.

ImageId

string

None.

CatalogId

string

None.

BackgroundId

string

None.

DefaultLogo

string

None.

DefaultBackground

string

None.

Color

string

None.

SelectionColor

string

None.

Request Formats

application/json, text/json

Sample:
{
  "light": true,
  "lightCatalog": true,
  "colorCatalog": "sample string 3",
  "selectionColorCatalog": "sample string 4",
  "imageId": "sample string 5",
  "catalogId": "sample string 6",
  "backgroundId": "sample string 7",
  "defaultLogo": "sample string 8",
  "defaultBackground": "sample string 9",
  "color": "sample string 10",
  "selectionColor": "sample string 11"
}

application/xml, text/xml

Sample:
<BrandingColors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient">
  <BackgroundId>sample string 7</BackgroundId>
  <CatalogId>sample string 6</CatalogId>
  <Color>sample string 10</Color>
  <ColorCatalog>sample string 3</ColorCatalog>
  <DefaultBackground>sample string 9</DefaultBackground>
  <DefaultLogo>sample string 8</DefaultLogo>
  <ImageId>sample string 5</ImageId>
  <Light>true</Light>
  <LightCatalog>true</LightCatalog>
  <SelectionColor>sample string 11</SelectionColor>
  <SelectionColorCatalog>sample string 4</SelectionColorCatalog>
</BrandingColors>

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 'BrandingColors'.

Response Information

Resource Description

ObjResultOfBoolean
NameDescriptionTypeAdditional information
Data

boolean

None.

Error

Error description if the operation failed

string

None.

Success

Operation result

boolean

None.

ErrorCode

Error code

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "data": true,
  "error": "sample string 2",
  "success": true,
  "errorCode": 4
}

application/xml, text/xml

Sample:
<ObjResultOfboolean xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DAMClient.Models">
  <_x003C_ErrorCode_x003E_k__BackingField>4</_x003C_ErrorCode_x003E_k__BackingField>
  <_x003C_Error_x003E_k__BackingField>sample string 2</_x003C_Error_x003E_k__BackingField>
  <_x003C_Success_x003E_k__BackingField>true</_x003C_Success_x003E_k__BackingField>
  <Data>true</Data>
</ObjResultOfboolean>
bool hasModels = Model.ParameterModels.Count > 0; if (hasModels) {

Parameter Information

data

Property Description
Light (Boolean)

				
LightCatalog (Boolean)

				
ColorCatalog (String)

				
SelectionColorCatalog (String)

				
ImageId (String)

				
CatalogId (String)

				
BackgroundId (String)

				
DefaultLogo (String)

				
DefaultBackground (String)

				
Color (String)

				
SelectionColor (String)

				
}