Request Information

URI Parameters

System.Collections.ObjectModel.Collection`1[Connections.API.Areas.HelpPage.ModelDescriptions.ParameterDescription] IList
siteid globally unique identifier Required

Guid ID of the site for which to read colors.

Body Parameters

None.

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>755c3eb1-85e0-46c6-91d2-fbf0c7ff1493</SiteID>
  <Rank>1</Rank>
  <Name>sample string 1</Name>
  <Code>sample string 2</Code>
</Color>

application/json, text/json

Sample
{
  "ID": 1,
  "SiteID": "755c3eb1-85e0-46c6-91d2-fbf0c7ff1493",
  "Rank": 1,
  "Name": "sample string 1",
  "Code": "sample string 2"
}