GET api/Colour/List?speciesId={speciesId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| speciesId | globally unique identifier |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of Colour| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| SpeciesId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "6b63b4d4-8ea5-4b9f-ae28-5827e6700812",
"Name": "sample string 2",
"SpeciesId": "ccd26bcf-8a6f-4e91-b227-34e284cd6f09"
},
{
"Id": "6b63b4d4-8ea5-4b9f-ae28-5827e6700812",
"Name": "sample string 2",
"SpeciesId": "ccd26bcf-8a6f-4e91-b227-34e284cd6f09"
}
]
application/xml, text/xml
Sample:
<ArrayOfColour xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models">
<Colour>
<Id>6b63b4d4-8ea5-4b9f-ae28-5827e6700812</Id>
<Name>sample string 2</Name>
<SpeciesId>ccd26bcf-8a6f-4e91-b227-34e284cd6f09</SpeciesId>
</Colour>
<Colour>
<Id>6b63b4d4-8ea5-4b9f-ae28-5827e6700812</Id>
<Name>sample string 2</Name>
<SpeciesId>ccd26bcf-8a6f-4e91-b227-34e284cd6f09</SpeciesId>
</Colour>
</ArrayOfColour>