POST api/FrontdeskCalling/ConfirmAppointment

Request Information

URI Parameters

None.

Body Parameters

BookingRequest
NameDescriptionTypeAdditional information
DateOfAppointment

string

None.

DoctorId

integer

None.

SlotId

integer

None.

SpecialityId

integer

None.

PhrId

integer

None.

PaymentMode

integer

None.

PatientId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "DateOfAppointment": "sample string 1",
  "DoctorId": 2,
  "SlotId": 3,
  "SpecialityId": 4,
  "PhrId": 5,
  "PaymentMode": 6,
  "PatientId": 7
}

application/xml, text/xml

Sample:
<BookingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.FrontDesk">
  <DateOfAppointment>sample string 1</DateOfAppointment>
  <DoctorId>2</DoctorId>
  <PatientId>7</PatientId>
  <PaymentMode>6</PaymentMode>
  <PhrId>5</PhrId>
  <SlotId>3</SlotId>
  <SpecialityId>4</SpecialityId>
</BookingRequest>

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 'BookingRequest'.

Response Information

Resource Description

ResponseOfConfirmAppointmentResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

Message

string

None.

Status

integer

None.

Result

ConfirmAppointmentResponse

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "Message": "sample string 2",
  "Status": 3,
  "Result": {
    "AppointmentId": 1,
    "AppointmentDate": "sample string 2",
    "AppointmentTime": "sample string 3"
  }
}

application/xml, text/xml

Sample:
<ResponseOfConfirmAppointmentResponsey4k00cG6 xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.Common">
  <IsSuccess>true</IsSuccess>
  <Message>sample string 2</Message>
  <Result xmlns:d2p1="http://schemas.datacontract.org/2004/07/ETelMed.Entity.Models.FrontDesk">
    <d2p1:AppointmentDate>sample string 2</d2p1:AppointmentDate>
    <d2p1:AppointmentId>1</d2p1:AppointmentId>
    <d2p1:AppointmentTime>sample string 3</d2p1:AppointmentTime>
  </Result>
  <Status>3</Status>
</ResponseOfConfirmAppointmentResponsey4k00cG6>