POST api/Clinic/Appointments/Update

Request Information

URI Parameters

None.

Body Parameters

ClinicAppointmentDTO
NameDescriptionTypeAdditional information
id

integer

None.

customerName

string

None.

customerPhone

string

None.

petName

string

None.

petSpecies

string

None.

serviceId

integer

None.

serviceName

string

None.

doctorName

string

None.

appointmentOn

date

None.

status

string

None.

note

string

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "customerName": "sample string 1",
  "customerPhone": "sample string 2",
  "petName": "sample string 3",
  "petSpecies": "sample string 4",
  "serviceId": 5,
  "serviceName": "sample string 6",
  "doctorName": "sample string 7",
  "appointmentOn": "2026-10-20T07:59:28.3462789+07:00",
  "status": "sample string 9",
  "note": "sample string 10"
}

application/xml, text/xml

Sample:
<ClinicController.ClinicAppointmentDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PetShop.API.Controllers">
  <appointmentOn>2026-10-20T07:59:28.3462789+07:00</appointmentOn>
  <customerName>sample string 1</customerName>
  <customerPhone>sample string 2</customerPhone>
  <doctorName>sample string 7</doctorName>
  <id>1</id>
  <note>sample string 10</note>
  <petName>sample string 3</petName>
  <petSpecies>sample string 4</petSpecies>
  <serviceId>5</serviceId>
  <serviceName>sample string 6</serviceName>
  <status>sample string 9</status>
</ClinicController.ClinicAppointmentDTO>

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.