POST api/Calendar/PatientAppointmentPost
Patient Book Appointment
Request Information
URI Parameters
None.
Body Parameters
AppointmentModel| Name | Description | Type | Additional information |
|---|---|---|---|
| EncounterTypeId | globally unique identifier |
None. |
|
| EncounterTypeModeDurationId | globally unique identifier |
None. |
|
| ProviderId | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
Required |
|
| PatientId | globally unique identifier |
None. |
|
| SpecialityId | globally unique identifier |
None. |
|
| AppointmentOn | date |
Required |
|
| SecondaryAppointmentOn | date |
None. |
|
| Reason | string |
Required String length: inclusive between 0 and 250 |
|
| Note | string |
String length: inclusive between 0 and 1000 |
|
| ParentId | globally unique identifier |
None. |
|
| ReferredParentId | globally unique identifier |
None. |
|
| PaidAmount | decimal number |
None. |
|
| AccountId | globally unique identifier |
Required |
|
| ServiceId | globally unique identifier |
None. |
|
| MethodId | integer |
None. |
|
| IsCustomFormFlow | string |
None. |
|
| DocIds | string |
None. |
|
| Reasons | Collection of Reasons |
None. |
Request Formats
application/json, text/json
{
"EncounterTypeId": "b7779c42-c2fe-45c7-9ba6-7e01833741dc",
"EncounterTypeModeDurationId": "8b0c76d7-2d40-4a0d-bdc4-3c850f7fea6b",
"ProviderId": "9640dc1a-c108-41d4-aaf1-1fbca08c06a4",
"UserId": "16ed4d2b-874a-4b9b-80e4-64cbeaccd5e3",
"PatientId": "6596ab6b-f922-4cab-bfff-87872643a9e0",
"SpecialityId": "cc4722ff-ec91-4fb5-860f-13423d73b21a",
"AppointmentOn": "2025-12-18T13:12:00.9196838-06:00",
"SecondaryAppointmentOn": "2025-12-18T13:12:00.9196838-06:00",
"Reason": "sample string 3",
"Note": "sample string 4",
"ParentId": "ae99e5c8-da8d-486c-83ed-4b908db45e38",
"ReferredParentId": "bb039711-99c1-49b5-aa73-4e83f965b44a",
"PaidAmount": 5.0,
"AccountId": "aa9a0636-68e3-4d8a-9acd-e40f47f7edce",
"ServiceId": "ed067c61-d17a-404d-90a9-72364418c932",
"MethodId": 1,
"IsCustomFormFlow": "sample string 7",
"DocIds": "sample string 8",
"Reasons": [
{
"ReasonId": "9ee2df4f-860c-4f92-a70a-d0aa43fda736"
},
{
"ReasonId": "9ee2df4f-860c-4f92-a70a-d0aa43fda736"
}
]
}
application/x-www-form-urlencoded
Sample not available.
Response Information
Resource Description
Schedule
Schedule| Name | Description | Type | Additional information |
|---|---|---|---|
| ID | globally unique identifier |
None. |
|
| FacilityId | globally unique identifier |
None. |
|
| ResourceID | globally unique identifier |
None. |
|
| AppointmentTypeId | globally unique identifier |
None. |
|
| PreferredPharmacyId | globally unique identifier |
None. |
|
| EncounterTypeModeDurationId | globally unique identifier |
None. |
|
| ServiceId | globally unique identifier |
None. |
|
| FromUserType | character |
None. |
|
| FromUserID | globally unique identifier |
None. |
|
| UserId | globally unique identifier |
None. |
|
| Title | string |
None. |
|
| Reason | string |
None. |
|
| CancelReason | string |
None. |
|
| Type | string |
None. |
|
| AppointmentOn | date |
None. |
|
| SecondaryAppointmentOn | date |
None. |
|
| FromDate | date |
None. |
|
| Duration | integer |
None. |
|
| Note | string |
None. |
|
| ToDate | date |
None. |
|
| StatusId | integer |
None. |
|
| AppointmentCount | integer |
None. |
|
| EncounterTypeModeId | integer |
None. |
|
| RoomNo | string |
None. |
|
| Option | string |
None. |
|
| CallType | string |
None. |
|
| CallRefId | string |
None. |
|
| GuardianName | string |
None. |
|
| Location | string |
None. |
|
| SpecialityId | globally unique identifier |
None. |
|
| ParentScheduleId | globally unique identifier |
None. |
|
| DoctorId | globally unique identifier |
None. |
|
| PaidDate | date |
None. |
|
| AppointmentOnUTC | date |
None. |
|
| SecondaryAppointmentOnUTC | date |
None. |
|
| PaidAmount | decimal number |
None. |
|
| AccountId | globally unique identifier |
None. |
|
| GuardianId | globally unique identifier |
None. |
|
| PatientReferralId | globally unique identifier |
None. |
|
| ParentId | globally unique identifier |
None. |
|
| PatientId | globally unique identifier |
None. |
|
| IsGuardian | integer |
None. |
|
| AppointmentModeId | integer |
None. |
|
| ReferenceId | string |
None. |
|
| VisitMode | string |
None. |
|
| VisitCode | string |
None. |
|
| Doctor | string |
None. |
|
| MethodId | integer |
None. |
|
| PayConceptId | integer |
None. |
|
| PayMethodId | integer |
None. |
|
| DocIds | Collection of string |
None. |
|
| ReasonId | string |
None. |
|
| DocId | string |
None. |
|
| DoctorTimeZone | string |
None. |
|
| PatientTimeZone | string |
None. |
|
| PatientHummyurl | string |
None. |
|
| DoctorOffset | integer |
None. |
|
| PatientOffset | integer |
None. |
|
| EncounterId | globally unique identifier |
None. |
|
| DoctorZoneDate | string |
None. |
|
| PrimaryPatient | string |
None. |
|
| SessionId | string |
None. |
|
| OldAppointmentOn | date |
None. |
|
| OldAppointmentOnUTC | date |
None. |
|
| OldSecondaryAppointmentOnUTC | date |
None. |
|
| PortalType | string |
None. |
|
| UserOffset | integer |
None. |
|
| EncounterNo | string |
None. |
|
| StatusName | string |
None. |
|
| InsuranceName | string |
None. |
|
| InsuranceId | globally unique identifier |
None. |
|
| EncounterTypeId | globally unique identifier |
None. |
|
| Patient | Patient |
None. |
|
| EncounterType | EncounterType |
None. |
|
| Resource | Resource |
None. |
|
| Status | Status |
None. |
|
| Facility | Facility |
None. |
|
| Encounter | Encounter |
None. |
|
| Member | Member |
None. |
|
| Notification | Notification |
None. |
|
| Speciality | Speciality |
None. |
|
| ScheduleDetails | Collection of ScheduleDetail |
None. |
|
| Members | Collection of Member |
None. |
|
| customFormModel | Collection of CustomFormModel |
None. |
|
| ModifiedBy | globally unique identifier |
None. |
|
| ModifiedOn | date |
None. |
|
| Modified | Member |
None. |
Response Formats
application/json
Sample not available.
text/json
Sample not available.