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 Breed| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Name | string |
None. |
|
| SpeciesId | globally unique identifier |
None. |
|
| BreedGroupId | globally unique identifier |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": "cc00b764-6b2b-4b50-a7ec-481ae2fc55dd",
"Name": "sample string 2",
"SpeciesId": "5fd621c3-0e5e-4162-a118-e74cffb21801",
"BreedGroupId": "e196b247-eb9e-42f6-abef-6b68abe8d2e1"
},
{
"Id": "cc00b764-6b2b-4b50-a7ec-481ae2fc55dd",
"Name": "sample string 2",
"SpeciesId": "5fd621c3-0e5e-4162-a118-e74cffb21801",
"BreedGroupId": "e196b247-eb9e-42f6-abef-6b68abe8d2e1"
}
]
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>
<BreedGroupId>e196b247-eb9e-42f6-abef-6b68abe8d2e1</BreedGroupId>
<Id>cc00b764-6b2b-4b50-a7ec-481ae2fc55dd</Id>
<Name>sample string 2</Name>
<SpeciesId>5fd621c3-0e5e-4162-a118-e74cffb21801</SpeciesId>
</Breed>
<Breed>
<BreedGroupId>e196b247-eb9e-42f6-abef-6b68abe8d2e1</BreedGroupId>
<Id>cc00b764-6b2b-4b50-a7ec-481ae2fc55dd</Id>
<Name>sample string 2</Name>
<SpeciesId>5fd621c3-0e5e-4162-a118-e74cffb21801</SpeciesId>
</Breed>
</ArrayOfBreed>