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": "8dc1d7e2-6634-4f02-9fb0-5a8df7ab720f",
"Name": "sample string 2",
"SpeciesId": "75ba3eb4-28c0-4fe0-b247-cc33f1364eb9",
"BreedGroupId": "61ecf07a-f42e-4549-8806-407b2bc7c310"
},
{
"Id": "8dc1d7e2-6634-4f02-9fb0-5a8df7ab720f",
"Name": "sample string 2",
"SpeciesId": "75ba3eb4-28c0-4fe0-b247-cc33f1364eb9",
"BreedGroupId": "61ecf07a-f42e-4549-8806-407b2bc7c310"
}
]
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>61ecf07a-f42e-4549-8806-407b2bc7c310</BreedGroupId>
<Id>8dc1d7e2-6634-4f02-9fb0-5a8df7ab720f</Id>
<Name>sample string 2</Name>
<SpeciesId>75ba3eb4-28c0-4fe0-b247-cc33f1364eb9</SpeciesId>
</Breed>
<Breed>
<BreedGroupId>61ecf07a-f42e-4549-8806-407b2bc7c310</BreedGroupId>
<Id>8dc1d7e2-6634-4f02-9fb0-5a8df7ab720f</Id>
<Name>sample string 2</Name>
<SpeciesId>75ba3eb4-28c0-4fe0-b247-cc33f1364eb9</SpeciesId>
</Breed>
</ArrayOfBreed>