GET api/v1/client-settings/labels/{clientId}
Get a list of labels based on user language and customer template
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| clientId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of WP_LabelDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Name | string |
None. |
|
| Value | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"name": "sample string 2",
"value": "sample string 3"
},
{
"id": 1,
"name": "sample string 2",
"value": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfWP_LabelDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Workpilot.ServiceLayer.Models">
<WP_LabelDto>
<Id>1</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</WP_LabelDto>
<WP_LabelDto>
<Id>1</Id>
<Name>sample string 2</Name>
<Value>sample string 3</Value>
</WP_LabelDto>
</ArrayOfWP_LabelDto>