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 ColourName | 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": "a866d2a7-c417-4f75-8479-438a28cc7920", "Name": "sample string 2", "SpeciesId": "a66339da-3ef8-40df-9701-271b305ea05f" }, { "Id": "a866d2a7-c417-4f75-8479-438a28cc7920", "Name": "sample string 2", "SpeciesId": "a66339da-3ef8-40df-9701-271b305ea05f" } ]
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>a866d2a7-c417-4f75-8479-438a28cc7920</Id> <Name>sample string 2</Name> <SpeciesId>a66339da-3ef8-40df-9701-271b305ea05f</SpeciesId> </Colour> <Colour> <Id>a866d2a7-c417-4f75-8479-438a28cc7920</Id> <Name>sample string 2</Name> <SpeciesId>a66339da-3ef8-40df-9701-271b305ea05f</SpeciesId> </Colour> </ArrayOfColour>