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": "bdcc532d-601f-45d6-9248-ab802080f12c", "Name": "sample string 2", "SpeciesId": "dcf1cdcc-4622-46d9-ad0e-223ddfcb64a7" }, { "Id": "bdcc532d-601f-45d6-9248-ab802080f12c", "Name": "sample string 2", "SpeciesId": "dcf1cdcc-4622-46d9-ad0e-223ddfcb64a7" } ]
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>bdcc532d-601f-45d6-9248-ab802080f12c</Id> <Name>sample string 2</Name> <SpeciesId>dcf1cdcc-4622-46d9-ad0e-223ddfcb64a7</SpeciesId> </Colour> <Colour> <Id>bdcc532d-601f-45d6-9248-ab802080f12c</Id> <Name>sample string 2</Name> <SpeciesId>dcf1cdcc-4622-46d9-ad0e-223ddfcb64a7</SpeciesId> </Colour> </ArrayOfColour>