GET api/Prerequisite/GetAllColors
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Colors| Name | Description | Type | Additional information |
|---|---|---|---|
| ColorID | integer |
None. |
|
| Color | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"ColorID": 1,
"Color": "sample string 2"
},
{
"ColorID": 1,
"Color": "sample string 2"
}
]
application/xml, text/xml
Sample:
<ArrayOfColors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Equestrian.Entities">
<Colors>
<Color>sample string 2</Color>
<ColorID>1</ColorID>
</Colors>
<Colors>
<Color>sample string 2</Color>
<ColorID>1</ColorID>
</Colors>
</ArrayOfColors>