Request Information

URI Parameters

System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList

None.

Body Parameters (Color)

This object takes all the parameters needed to create a new color.

System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList
ID integer Required on Update

ID of the given color.

SiteID globally unique identifier Required

ID of the site for the given color.

Rank integer Required

Rank of the given color.

Name string Required

Name of the given color. (Max length 50 characters)

Code string Required

Hex Value of the given color.

Request Formats

application/xml, text/xml

Sample
<Color xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4">
  <ID>1</ID>
  <SiteID>70873c05-14ba-49ad-b6f0-8b55d06bb882</SiteID>
  <Rank>1</Rank>
  <Name>sample string 1</Name>
  <Code>sample string 2</Code>
</Color>

application/json, text/json

Sample
{
  "ID": 1,
  "SiteID": "70873c05-14ba-49ad-b6f0-8b55d06bb882",
  "Rank": 1,
  "Name": "sample string 1",
  "Code": "sample string 2"
}

Response Information

Resource Description (Color)

System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList
ID integer Required on Update

ID of the given color.

SiteID globally unique identifier Required

ID of the site for the given color.

Rank integer Required

Rank of the given color.

Name string Required

Name of the given color. (Max length 50 characters)

Code string Required

Hex Value of the given color.

Response Formats

application/xml, text/xml

Sample
<Color xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://col4.com/api/v4">
  <ID>1</ID>
  <SiteID>ae908fb0-6cdc-4b8e-a9a7-3b0d57033f3e</SiteID>
  <Rank>1</Rank>
  <Name>sample string 1</Name>
  <Code>sample string 2</Code>
</Color>

application/json, text/json

Sample
{
  "ID": 1,
  "SiteID": "ae908fb0-6cdc-4b8e-a9a7-3b0d57033f3e",
  "Rank": 1,
  "Name": "sample string 1",
  "Code": "sample string 2"
}