POST api/Clinic/Pets/Update

Request Information

URI Parameters

None.

Body Parameters

ClinicPetDTO
NameDescriptionTypeAdditional information
id

integer

None.

petCode

string

None.

petName

string

None.

species

string

None.

breed

string

None.

gender

string

None.

dob

date

None.

weightKg

decimal number

None.

ownerName

string

None.

ownerPhone

string

None.

isVaccinated

boolean

None.

note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "petCode": "sample string 1",
  "petName": "sample string 2",
  "species": "sample string 3",
  "breed": "sample string 4",
  "gender": "sample string 5",
  "dob": "2026-10-20T07:58:55.7900923+07:00",
  "weightKg": 1.0,
  "ownerName": "sample string 6",
  "ownerPhone": "sample string 7",
  "isVaccinated": true,
  "note": "sample string 9"
}

application/xml, text/xml

Sample:
<ClinicController.ClinicPetDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Controllers">
  <breed>sample string 4</breed>
  <dob>2026-10-20T07:58:55.7900923+07:00</dob>
  <gender>sample string 5</gender>
  <id>1</id>
  <isVaccinated>true</isVaccinated>
  <note>sample string 9</note>
  <ownerName>sample string 6</ownerName>
  <ownerPhone>sample string 7</ownerPhone>
  <petCode>sample string 1</petCode>
  <petName>sample string 2</petName>
  <species>sample string 3</species>
  <weightKg>1</weightKg>
</ClinicController.ClinicPetDTO>

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.