POST api/PatientApp/ReschedulePatientAppointment

Request Information

URI Parameters

None.

Body Parameters

BookDoctorAppointmentInput
NameDescriptionTypeAdditional information
FacilityId

integer

None.

AppointmentId

integer

None.

DoctorId

integer

None.

AppointmentDate

date

None.

RegistrationId

integer

None.

FromTime

string

None.

AppointmentSource

string

None.

Request Formats

application/json, text/json

Sample:
{
  "FacilityId": 1,
  "AppointmentId": 2,
  "DoctorId": 3,
  "AppointmentDate": "2024-09-22T23:53:25.8892314+05:30",
  "RegistrationId": 5,
  "FromTime": "sample string 6",
  "AppointmentSource": "sample string 7"
}

application/xml, text/xml

Sample:
<BookDoctorAppointmentInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/FindDoctorService">
  <AppointmentDate>2024-09-22T23:53:25.8892314+05:30</AppointmentDate>
  <AppointmentId>2</AppointmentId>
  <AppointmentSource>sample string 7</AppointmentSource>
  <DoctorId>3</DoctorId>
  <FacilityId>1</FacilityId>
  <FromTime>sample string 6</FromTime>
  <RegistrationId>5</RegistrationId>
</BookDoctorAppointmentInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'BookDoctorAppointmentInput'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.