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 BreedName | 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": "4c99615c-4d28-4d8d-b0b1-d0c45ca43952", "Name": "sample string 2", "SpeciesId": "d0852ed3-52bf-4f5f-a77f-21aa7416f2a8", "BreedGroupId": "c60a98be-65cf-4745-8a2c-3f2be8ab1a81" }, { "Id": "4c99615c-4d28-4d8d-b0b1-d0c45ca43952", "Name": "sample string 2", "SpeciesId": "d0852ed3-52bf-4f5f-a77f-21aa7416f2a8", "BreedGroupId": "c60a98be-65cf-4745-8a2c-3f2be8ab1a81" } ]
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>c60a98be-65cf-4745-8a2c-3f2be8ab1a81</BreedGroupId> <Id>4c99615c-4d28-4d8d-b0b1-d0c45ca43952</Id> <Name>sample string 2</Name> <SpeciesId>d0852ed3-52bf-4f5f-a77f-21aa7416f2a8</SpeciesId> </Breed> <Breed> <BreedGroupId>c60a98be-65cf-4745-8a2c-3f2be8ab1a81</BreedGroupId> <Id>4c99615c-4d28-4d8d-b0b1-d0c45ca43952</Id> <Name>sample string 2</Name> <SpeciesId>d0852ed3-52bf-4f5f-a77f-21aa7416f2a8</SpeciesId> </Breed> </ArrayOfBreed>