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": "c7a7e9a9-cae6-439c-bf01-62a50b257dc3",
"EncounterTypeModeDurationId": "4c221cb8-47bf-4b60-ba73-5696f0ca5aed",
"ProviderId": "0aeb210d-60ee-47d2-a3ff-7ab72e22e029",
"UserId": "f1c0ca81-c1e1-40b1-bf8c-8a028829fdc4",
"PatientId": "13317f0f-fd6c-48db-b3ca-4b4b87d6c488",
"SpecialityId": "50d92e86-455d-41d5-a55c-bb9bcf66d7b2",
"AppointmentOn": "2025-12-15T10:15:33.2486996-06:00",
"SecondaryAppointmentOn": "2025-12-15T10:15:33.2486996-06:00",
"Reason": "sample string 3",
"Note": "sample string 4",
"ParentId": "3b8bb43d-dba8-409d-a515-9ceccf1464b8",
"ReferredParentId": "8612e7db-2ebb-4ddc-a3f3-d9646fcad1f2",
"PaidAmount": 5.0,
"AccountId": "3be67fd7-8096-4cf7-abb6-669d95c69ecf",
"ServiceId": "10ab1de3-9397-4759-8db8-1ce276520a49",
"MethodId": 1,
"IsCustomFormFlow": "sample string 7",
"DocIds": "sample string 8",
"Reasons": [
{
"ReasonId": "8e1e8e4a-b40a-4c7a-902a-a33250b9218a"
},
{
"ReasonId": "8e1e8e4a-b40a-4c7a-902a-a33250b9218a"
}
]
}
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.