POST api/Patient/PatientAppointmentAdd
Request Information
URI Parameters
None.
Body Parameters
PatientAppointmentAddRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientAppointmentAdd | PatientAppointmentAdd |
None. |
|
| PatientID | globally unique identifier |
None. |
|
| WebApiVersion | integer |
None. |
|
| Language | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"PatientAppointmentAdd": {
"AppointmentTypeID": "755acf2a-5384-4052-9f4e-ec0b1d9a9b27",
"PatientDoctorID": "74f11149-ded1-428c-9fea-59b0923d5193",
"PatientPharmacyID": "921a0be2-06ba-4fa2-b420-9f64c3473c46",
"AppointmentTitle": "sample string 1",
"AppointmentWith": "sample string 2",
"AppointmentTime": "2025-12-11T14:38:53.5540038+03:00",
"NotifyBefore": 1,
"Notes": "sample string 3"
},
"PatientID": "3d4a4949-5269-465d-ac6d-fe1c38889627",
"WebApiVersion": 2,
"Language": "sample string 3"
}
application/xml, text/xml
Sample:
<PatientAppointmentAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<Language>sample string 3</Language>
<PatientID>3d4a4949-5269-465d-ac6d-fe1c38889627</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientAppointmentAdd>
<AppointmentTime>2025-12-11T14:38:53.5540038+03:00</AppointmentTime>
<AppointmentTitle>sample string 1</AppointmentTitle>
<AppointmentTypeID>755acf2a-5384-4052-9f4e-ec0b1d9a9b27</AppointmentTypeID>
<AppointmentWith>sample string 2</AppointmentWith>
<Notes>sample string 3</Notes>
<NotifyBefore>1</NotifyBefore>
<PatientDoctorID>74f11149-ded1-428c-9fea-59b0923d5193</PatientDoctorID>
<PatientPharmacyID>921a0be2-06ba-4fa2-b420-9f64c3473c46</PatientPharmacyID>
</PatientAppointmentAdd>
</PatientAppointmentAddRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
PatientAppointmentResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| PatientAppointment | PatientAppointment |
None. |
|
| WebApiVersion | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"PatientAppointment": {
"PatientAppointmentID": "94225157-cbe7-40e9-954f-ce22708190b1",
"AppointmentTypeID": "77380502-a5b9-4710-86a6-26da20d7794c",
"PatientDoctorID": "a0bff860-168c-4970-af31-f25b8a8fd51b",
"PatientPharmacyID": "54dd21f4-6b4b-461b-966e-279486507616",
"AppointmentTitle": "sample string 2",
"AppointmentWith": "sample string 3",
"AppointmentTime": "2025-12-11T14:38:53.5696153+03:00",
"NotifyBefore": 1,
"Notes": "sample string 4"
},
"WebApiVersion": 1
}
application/xml, text/xml
Sample:
<PatientAppointmentResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
<WebApiVersion>1</WebApiVersion>
<PatientAppointment>
<AppointmentTime>2025-12-11T14:38:53.5696153+03:00</AppointmentTime>
<AppointmentTitle>sample string 2</AppointmentTitle>
<AppointmentTypeID>77380502-a5b9-4710-86a6-26da20d7794c</AppointmentTypeID>
<AppointmentWith>sample string 3</AppointmentWith>
<Notes>sample string 4</Notes>
<NotifyBefore>1</NotifyBefore>
<PatientAppointmentID>94225157-cbe7-40e9-954f-ce22708190b1</PatientAppointmentID>
<PatientDoctorID>a0bff860-168c-4970-af31-f25b8a8fd51b</PatientDoctorID>
<PatientPharmacyID>54dd21f4-6b4b-461b-966e-279486507616</PatientPharmacyID>
</PatientAppointment>
</PatientAppointmentResponse>