POST api/Color/AddColor
Request Information
URI Parameters
None.
Body Parameters
Color| Name | Description | Type | Additional information |
|---|---|---|---|
| ItemColorId | integer |
None. |
|
| ItemColorName | string |
None. |
|
| OperationType | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"ItemColorId": 1,
"ItemColorName": "sample string 2",
"OperationType": "sample string 3"
}
application/xml, text/xml
Sample:
<Color xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/INTEGRAFFAPI.Models"> <ItemColorId>1</ItemColorId> <ItemColorName>sample string 2</ItemColorName> <OperationType>sample string 3</OperationType> </Color>
application/x-www-form-urlencoded
Sample:
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. |