POST Goat/BookGoatFood

Request Information

URI Parameters

None.

Body Parameters

GoatFoodModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

UserId

globally unique identifier

None.

FoodType

string

None.

Quantity

string

None.

Description

string

None.

Phoneno

string

None.

Address

string

None.

BookedOn

date

None.

FoodPrice

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "5b62f856-72ea-4c69-9619-0d0635eb8551",
  "UserId": "08d82621-cf9d-413d-99ee-40a6fb662387",
  "FoodType": "sample string 3",
  "Quantity": "sample string 4",
  "Description": "sample string 5",
  "Phoneno": "sample string 6",
  "Address": "sample string 7",
  "BookedOn": "2024-12-23T04:20:37.5498495+05:30",
  "FoodPrice": "sample string 9"
}

application/xml, text/xml

Sample:
<GoatFoodModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <Address>sample string 7</Address>
  <BookedOn>2024-12-23T04:20:37.5498495+05:30</BookedOn>
  <Description>sample string 5</Description>
  <FoodPrice>sample string 9</FoodPrice>
  <FoodType>sample string 3</FoodType>
  <Id>5b62f856-72ea-4c69-9619-0d0635eb8551</Id>
  <Phoneno>sample string 6</Phoneno>
  <Quantity>sample string 4</Quantity>
  <UserId>08d82621-cf9d-413d-99ee-40a6fb662387</UserId>
</GoatFoodModel>

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.