GET api/Breed/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 BreedName | 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": "9e58d292-36b3-4a13-9425-940cd7458430", "Name": "sample string 2", "SpeciesId": "18fc0d20-3355-47e0-bb04-29e8f33fe0d9" }, { "Id": "9e58d292-36b3-4a13-9425-940cd7458430", "Name": "sample string 2", "SpeciesId": "18fc0d20-3355-47e0-bb04-29e8f33fe0d9" } ]
application/xml, text/xml
Sample:
<ArrayOfBreed xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Tss.Eitr.Customer.Agria.WebApi.Models"> <Breed> <Id>9e58d292-36b3-4a13-9425-940cd7458430</Id> <Name>sample string 2</Name> <SpeciesId>18fc0d20-3355-47e0-bb04-29e8f33fe0d9</SpeciesId> </Breed> <Breed> <Id>9e58d292-36b3-4a13-9425-940cd7458430</Id> <Name>sample string 2</Name> <SpeciesId>18fc0d20-3355-47e0-bb04-29e8f33fe0d9</SpeciesId> </Breed> </ArrayOfBreed>