GET api/v1/client-settings/colors
Get a list of colors to style the client
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of WP_ColorDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Hex | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"name": "sample string 2",
"hex": "sample string 3"
},
{
"id": 1,
"name": "sample string 2",
"hex": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfWP_ColorDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models">
<WP_ColorDto>
<Hex>sample string 3</Hex>
<Id>1</Id>
<Name>sample string 2</Name>
</WP_ColorDto>
<WP_ColorDto>
<Hex>sample string 3</Hex>
<Id>1</Id>
<Name>sample string 2</Name>
</WP_ColorDto>
</ArrayOfWP_ColorDto>