POST Colors/AddColor
Request Information
URI Parameters
None.
Body Parameters
ColorsDataContext| Name | Description | Type | Additional information |
|---|---|---|---|
| colorId | integer |
None. |
|
| colorName | string |
None. |
|
| colorArchiveStatus | boolean |
None. |
|
| statusWithAll | boolean |
None. |
|
| page | integer |
None. |
|
| filterStatus | boolean |
None. |
|
| textSearch | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"colorId": 1,
"colorName": "sample string 2",
"colorArchiveStatus": true,
"statusWithAll": true,
"page": 5,
"filterStatus": true,
"textSearch": "sample string 7"
}
application/xml, text/xml
Sample:
<ColorsDataContext xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartMeter_Installation.Models.OtherSettings.Colors"> <colorArchiveStatus>true</colorArchiveStatus> <colorId>1</colorId> <colorName>sample string 2</colorName> <filterStatus>true</filterStatus> <page>5</page> <statusWithAll>true</statusWithAll> <textSearch>sample string 7</textSearch> </ColorsDataContext>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |