PUT api/Colours/Update
Request Information
URI Parameters
None.
Body Parameters
Collection of EskimoClassLibraries.clsColourName | Description | Type | Additional information |
---|---|---|---|
ID | string |
Required String length: inclusive between 0 and 6 |
|
Name | string |
Required String length: inclusive between 0 and 50 |
|
ColourCode | EskimoClassLibraries.clsColourCode |
None. |
Request Formats
application/json, text/json
Sample:
[ { "ID": "sample string 1", "Name": "sample string 2", "ColourCode": { "Red": 1, "Green": 1, "Blue": 1, "Hex": "sample string 1" } }, { "ID": "sample string 1", "Name": "sample string 2", "ColourCode": { "Red": 1, "Green": 1, "Blue": 1, "Hex": "sample string 1" } } ]
application/xml, text/xml
Sample:
<ArrayOfclsColour xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EskimoClassLibraries"> <clsColour> <ColourCode> <Blue>1</Blue> <Green>1</Green> <Hex>sample string 1</Hex> <Red>1</Red> </ColourCode> <ID>sample string 1</ID> <Name>sample string 2</Name> </clsColour> <clsColour> <ColourCode> <Blue>1</Blue> <Green>1</Green> <Hex>sample string 1</Hex> <Red>1</Red> </ColourCode> <ID>sample string 1</ID> <Name>sample string 2</Name> </clsColour> </ArrayOfclsColour>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
System.Net.Http.HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | System.Version |
None. |
|
Content | System.Net.Http.HttpContent |
None. |
|
StatusCode | System.Net.HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | System.Net.Http.HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |