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": "91db8334-e7a7-4a01-966c-3a214df4e669",
"Name": "sample string 2",
"SpeciesId": "180dc2eb-d0be-4c7c-b9d8-d8de5732b3a3",
"BreedGroupId": "60f7b099-17a0-4a26-b6fe-9c37e4c608d0"
},
{
"Id": "91db8334-e7a7-4a01-966c-3a214df4e669",
"Name": "sample string 2",
"SpeciesId": "180dc2eb-d0be-4c7c-b9d8-d8de5732b3a3",
"BreedGroupId": "60f7b099-17a0-4a26-b6fe-9c37e4c608d0"
}
]
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>60f7b099-17a0-4a26-b6fe-9c37e4c608d0</BreedGroupId>
<Id>91db8334-e7a7-4a01-966c-3a214df4e669</Id>
<Name>sample string 2</Name>
<SpeciesId>180dc2eb-d0be-4c7c-b9d8-d8de5732b3a3</SpeciesId>
</Breed>
<Breed>
<BreedGroupId>60f7b099-17a0-4a26-b6fe-9c37e4c608d0</BreedGroupId>
<Id>91db8334-e7a7-4a01-966c-3a214df4e669</Id>
<Name>sample string 2</Name>
<SpeciesId>180dc2eb-d0be-4c7c-b9d8-d8de5732b3a3</SpeciesId>
</Breed>
</ArrayOfBreed>