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": "582c5282-06f3-473a-879d-e37a90030c9f",
"Name": "sample string 2",
"SpeciesId": "dbd80e76-e399-4068-8b5b-ab856762ab3e",
"BreedGroupId": "11e2bfef-fd47-4aa9-a1f4-0175531d25b5"
},
{
"Id": "582c5282-06f3-473a-879d-e37a90030c9f",
"Name": "sample string 2",
"SpeciesId": "dbd80e76-e399-4068-8b5b-ab856762ab3e",
"BreedGroupId": "11e2bfef-fd47-4aa9-a1f4-0175531d25b5"
}
]
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>11e2bfef-fd47-4aa9-a1f4-0175531d25b5</BreedGroupId>
<Id>582c5282-06f3-473a-879d-e37a90030c9f</Id>
<Name>sample string 2</Name>
<SpeciesId>dbd80e76-e399-4068-8b5b-ab856762ab3e</SpeciesId>
</Breed>
<Breed>
<BreedGroupId>11e2bfef-fd47-4aa9-a1f4-0175531d25b5</BreedGroupId>
<Id>582c5282-06f3-473a-879d-e37a90030c9f</Id>
<Name>sample string 2</Name>
<SpeciesId>dbd80e76-e399-4068-8b5b-ab856762ab3e</SpeciesId>
</Breed>
</ArrayOfBreed>