GET api/Pet/GetPetTypes
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of PetTypesName | Description | Type | Additional information |
---|---|---|---|
dBAPetTypeId | integer |
None. |
|
dBAPetType | string |
None. |
|
petTypeId | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "dBAPetTypeId": 1, "dBAPetType": "sample string 1", "petTypeId": "sample string 2" }, { "dBAPetTypeId": 1, "dBAPetType": "sample string 1", "petTypeId": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfPetTypes xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <PetTypes> <dBAPetTypeId>1</dBAPetTypeId> <dBAPetType>sample string 1</dBAPetType> <petTypeId>sample string 2</petTypeId> </PetTypes> <PetTypes> <dBAPetTypeId>1</dBAPetTypeId> <dBAPetType>sample string 1</dBAPetType> <petTypeId>sample string 2</petTypeId> </PetTypes> </ArrayOfPetTypes>