POST api/BookAppointmentInCms

Request Information

URI Parameters

None.

Body Parameters

AddAppointmentDetails
NameDescriptionTypeAdditional information
AppointmentId

integer

None.

AppointmentTime

string

None.

PatientId

integer

None.

BranchId

integer

None.

CreatedBy

string

None.

DoctorId

string

None.

DoctorPhone

string

None.

Diagnosis

Collection of integer

None.

CP_Diagnosis_Note

string

None.

NewPatientRegistration

boolean

None.

Request Formats

application/json, text/json

Sample:
{
  "AppointmentId": 1,
  "AppointmentTime": "sample string 2",
  "PatientId": 3,
  "BranchId": 4,
  "CreatedBy": "sample string 5",
  "DoctorId": "sample string 6",
  "DoctorPhone": "sample string 7",
  "Diagnosis": [
    1,
    2
  ],
  "CP_Diagnosis_Note": "sample string 8",
  "NewPatientRegistration": true
}

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

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.