POST Pets/BookPetsKids

Request Information

URI Parameters

None.

Body Parameters

PetsKidsModel
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CategoryId

globally unique identifier

None.

UserId

globally unique identifier

None.

CustomerName

string

None.

Breed

string

None.

Age

string

None.

PetGender

string

None.

Quantity

integer

None.

Description

string

None.

BookedOn

date

None.

Delivery_Address

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "71e8c568-5b24-420e-a442-d07520ba70f9",
  "CategoryId": "76eac6f9-b9d3-46f1-a412-383fdea7bc65",
  "UserId": "d0d72ffb-cfe9-4777-a560-5ead7469fbbd",
  "CustomerName": "sample string 3",
  "Breed": "sample string 4",
  "Age": "sample string 5",
  "PetGender": "sample string 6",
  "Quantity": 7,
  "Description": "sample string 8",
  "BookedOn": "2024-12-23T03:48:15.3932089+05:30",
  "Delivery_Address": "sample string 9"
}

application/xml, text/xml

Sample:
<PetsKidsModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ONPETApi.Models">
  <Age>sample string 5</Age>
  <BookedOn>2024-12-23T03:48:15.3932089+05:30</BookedOn>
  <Breed>sample string 4</Breed>
  <CategoryId>76eac6f9-b9d3-46f1-a412-383fdea7bc65</CategoryId>
  <CustomerName>sample string 3</CustomerName>
  <Delivery_Address>sample string 9</Delivery_Address>
  <Description>sample string 8</Description>
  <Id>71e8c568-5b24-420e-a442-d07520ba70f9</Id>
  <PetGender>sample string 6</PetGender>
  <Quantity>7</Quantity>
  <UserId>d0d72ffb-cfe9-4777-a560-5ead7469fbbd</UserId>
</PetsKidsModel>

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.