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": "c5618020-0f67-45cc-8308-7d168f0a8c4c",
"Name": "sample string 2",
"SpeciesId": "813b2063-75f5-4f77-8afb-dcd4df713f07"
},
{
"Id": "c5618020-0f67-45cc-8308-7d168f0a8c4c",
"Name": "sample string 2",
"SpeciesId": "813b2063-75f5-4f77-8afb-dcd4df713f07"
}
]
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>c5618020-0f67-45cc-8308-7d168f0a8c4c</Id>
<Name>sample string 2</Name>
<SpeciesId>813b2063-75f5-4f77-8afb-dcd4df713f07</SpeciesId>
</Colour>
<Colour>
<Id>c5618020-0f67-45cc-8308-7d168f0a8c4c</Id>
<Name>sample string 2</Name>
<SpeciesId>813b2063-75f5-4f77-8afb-dcd4df713f07</SpeciesId>
</Colour>
</ArrayOfColour>