POST Goat/GoatAmount

Request Information

URI Parameters

None.

Body Parameters

GoatModel
NameDescriptionTypeAdditional information
BreedId

globally unique identifier

None.

WeightId

globally unique identifier

None.

GoatQuantity

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BreedId": "d5c02ffd-db11-4000-8982-bf54835d4e4e",
  "WeightId": "6a227250-3e6b-41ac-a8bf-403388261d86",
  "GoatQuantity": 3
}

application/xml, text/xml

Sample:
<GoatModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <BreedId>d5c02ffd-db11-4000-8982-bf54835d4e4e</BreedId>
  <GoatQuantity>3</GoatQuantity>
  <WeightId>6a227250-3e6b-41ac-a8bf-403388261d86</WeightId>
</GoatModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.