POST api/Appointments
Request Information
URI Parameters
None.
Body Parameters
Appointment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| LocationId | integer |
None. |
|
| DoctorScheduleSlotId | integer |
None. |
|
| AppointmentTypeId | integer |
None. |
|
| AppointmentStatusId | integer |
None. |
|
| PatientId | integer |
None. |
|
| ApptSource | string |
String length: inclusive between 0 and 50 |
|
| SubmitTime | date |
None. |
|
| Notes | string |
String length: inclusive between 0 and 150 |
|
| ValidFrom | date |
None. |
|
| ValidTo | date |
None. |
|
| AppointmentIdentity | string |
None. |
|
| AppointmentDoctorSchedule | AppointmentDoctorSchedule |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"LocationId": 2,
"DoctorScheduleSlotId": 3,
"AppointmentTypeId": 4,
"AppointmentStatusId": 5,
"PatientId": 6,
"ApptSource": "sample string 7",
"SubmitTime": "2025-10-29T11:41:53.8674615-05:00",
"Notes": "sample string 9",
"ValidFrom": "2025-10-29T11:41:53.8674615-05:00",
"ValidTo": "2025-10-29T11:41:53.8674615-05:00",
"AppointmentIdentity": "sample string 12",
"AppointmentDoctorSchedule": {
"Id": 1,
"DoctorId": 2,
"ClientDoctorIdentity": "sample string 3",
"LocationId": 4,
"ClientOfficeIdentity": "sample string 5",
"ValidFrom": "2025-10-29T11:41:53.8674615-05:00",
"ValidTo": "2025-10-29T11:41:53.8674615-05:00",
"AppointmentDateTimeStart": "2025-10-29T11:41:53.8674615-05:00",
"AppointmentDateTimeEnd": "2025-10-29T11:41:53.8674615-05:00",
"SlotIdentity": 1,
"Available": true,
"Appointments": []
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Appointment| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| LocationId | integer |
None. |
|
| DoctorScheduleSlotId | integer |
None. |
|
| AppointmentTypeId | integer |
None. |
|
| AppointmentStatusId | integer |
None. |
|
| PatientId | integer |
None. |
|
| ApptSource | string |
String length: inclusive between 0 and 50 |
|
| SubmitTime | date |
None. |
|
| Notes | string |
String length: inclusive between 0 and 150 |
|
| ValidFrom | date |
None. |
|
| ValidTo | date |
None. |
|
| AppointmentIdentity | string |
None. |
|
| AppointmentDoctorSchedule | AppointmentDoctorSchedule |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"LocationId": 2,
"DoctorScheduleSlotId": 3,
"AppointmentTypeId": 4,
"AppointmentStatusId": 5,
"PatientId": 6,
"ApptSource": "sample string 7",
"SubmitTime": "2025-10-29T11:41:53.9263864-05:00",
"Notes": "sample string 9",
"ValidFrom": "2025-10-29T11:41:53.9263864-05:00",
"ValidTo": "2025-10-29T11:41:53.9263864-05:00",
"AppointmentIdentity": "sample string 12",
"AppointmentDoctorSchedule": {
"Id": 1,
"DoctorId": 2,
"ClientDoctorIdentity": "sample string 3",
"LocationId": 4,
"ClientOfficeIdentity": "sample string 5",
"ValidFrom": "2025-10-29T11:41:53.9263864-05:00",
"ValidTo": "2025-10-29T11:41:53.9263864-05:00",
"AppointmentDateTimeStart": "2025-10-29T11:41:53.9263864-05:00",
"AppointmentDateTimeEnd": "2025-10-29T11:41:53.9263864-05:00",
"SlotIdentity": 1,
"Available": true,
"Appointments": []
}
}
application/xml
Sample:
Sample not available.
text/xml
Sample:
Sample not available.