GET api/LookUpCust/GetColorsList
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Color| Name | Description | Type | Additional information |
|---|---|---|---|
| color_code | integer |
None. |
|
| color_name | string |
Required String length: inclusive between 0 and 30 |
|
| color_code_RGB | string |
String length: inclusive between 0 and 10 |
|
| active | string |
Required Matching regular expression pattern: ^[yn]{1}$ String length: inclusive between 0 and 1 |
Response Formats
application/json, text/json
Sample:
[
{
"color_code": 1,
"color_name": "sample string 2",
"color_code_RGB": "sample string 3",
"active": "sample string 4"
},
{
"color_code": 1,
"color_name": "sample string 2",
"color_code_RGB": "sample string 3",
"active": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfColor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CustDemog">
<Color>
<active>sample string 4</active>
<color_code>1</color_code>
<color_code_RGB>sample string 3</color_code_RGB>
<color_name>sample string 2</color_name>
</Color>
<Color>
<active>sample string 4</active>
<color_code>1</color_code>
<color_code_RGB>sample string 3</color_code_RGB>
<color_name>sample string 2</color_name>
</Color>
</ArrayOfColor>
application/bson
Sample:
Binary JSON content. See http://bsonspec.org for details.