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": "310527dc-ef4f-4e0a-9037-e5651cb190b1",
"Name": "sample string 2",
"SpeciesId": "e473d394-f11f-493f-ad7f-6f4355f280b1",
"BreedGroupId": "905e6436-39b1-4e8e-88e4-be642262a2e3"
},
{
"Id": "310527dc-ef4f-4e0a-9037-e5651cb190b1",
"Name": "sample string 2",
"SpeciesId": "e473d394-f11f-493f-ad7f-6f4355f280b1",
"BreedGroupId": "905e6436-39b1-4e8e-88e4-be642262a2e3"
}
]
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>905e6436-39b1-4e8e-88e4-be642262a2e3</BreedGroupId>
<Id>310527dc-ef4f-4e0a-9037-e5651cb190b1</Id>
<Name>sample string 2</Name>
<SpeciesId>e473d394-f11f-493f-ad7f-6f4355f280b1</SpeciesId>
</Breed>
<Breed>
<BreedGroupId>905e6436-39b1-4e8e-88e4-be642262a2e3</BreedGroupId>
<Id>310527dc-ef4f-4e0a-9037-e5651cb190b1</Id>
<Name>sample string 2</Name>
<SpeciesId>e473d394-f11f-493f-ad7f-6f4355f280b1</SpeciesId>
</Breed>
</ArrayOfBreed>