POST api/Breed

Request Information

URI Parameters

None.

Body Parameters

BreedList
NameDescriptionTypeAdditional information
BreedListId

integer

None.

Species

string

None.

Breed

string

None.

PracticeId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BreedListId": 1,
  "Species": "sample string 2",
  "Breed": "sample string 3",
  "PracticeId": 1
}

text/html

Sample:
{"BreedListId":1,"Species":"sample string 2","Breed":"sample string 3","PracticeId":1}

application/xml, text/xml

Sample:
<BreedList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VetAPI.DataModel">
  <Breed>sample string 3</Breed>
  <BreedListId>1</BreedListId>
  <PracticeId>1</PracticeId>
  <Species>sample string 2</Species>
</BreedList>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BreedList'.

Response Information

Resource Description

BreedList
NameDescriptionTypeAdditional information
BreedListId

integer

None.

Species

string

None.

Breed

string

None.

PracticeId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BreedListId": 1,
  "Species": "sample string 2",
  "Breed": "sample string 3",
  "PracticeId": 1
}

text/html

Sample:
{"BreedListId":1,"Species":"sample string 2","Breed":"sample string 3","PracticeId":1}

application/xml, text/xml

Sample:
<BreedList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VetAPI.DataModel">
  <Breed>sample string 3</Breed>
  <BreedListId>1</BreedListId>
  <PracticeId>1</PracticeId>
  <Species>sample string 2</Species>
</BreedList>