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": "c7de0b78-3440-4bfe-82a5-c6d171b17e3e",
"PatientDoctorID": "b4bcafa9-e83e-46b0-9834-5e0294c782ec",
"PatientPharmacyID": "12e8c0c0-86b0-41de-9b64-b0077da01806",
"AppointmentTitle": "sample string 1",
"AppointmentWith": "sample string 2",
"AppointmentTime": "2026-04-24T14:21:25.90682+03:00",
"NotifyBefore": 1,
"Notes": "sample string 3"
},
"PatientID": "02c43358-04eb-4ad4-ae8f-7226771847e0",
"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>02c43358-04eb-4ad4-ae8f-7226771847e0</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientAppointmentAdd>
<AppointmentTime>2026-04-24T14:21:25.90682+03:00</AppointmentTime>
<AppointmentTitle>sample string 1</AppointmentTitle>
<AppointmentTypeID>c7de0b78-3440-4bfe-82a5-c6d171b17e3e</AppointmentTypeID>
<AppointmentWith>sample string 2</AppointmentWith>
<Notes>sample string 3</Notes>
<NotifyBefore>1</NotifyBefore>
<PatientDoctorID>b4bcafa9-e83e-46b0-9834-5e0294c782ec</PatientDoctorID>
<PatientPharmacyID>12e8c0c0-86b0-41de-9b64-b0077da01806</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": "eb35a039-2b60-4b5c-8b78-b1ee1a4b2a8a",
"AppointmentTypeID": "dc29bbaa-d477-44bc-9990-9fcf9991ecea",
"PatientDoctorID": "0b3ba061-a009-41c2-b211-c772d6401f09",
"PatientPharmacyID": "7999f20e-3b45-4a95-93b0-2578ef1f2642",
"AppointmentTitle": "sample string 2",
"AppointmentWith": "sample string 3",
"AppointmentTime": "2026-04-24T14:21:25.9224941+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>2026-04-24T14:21:25.9224941+03:00</AppointmentTime>
<AppointmentTitle>sample string 2</AppointmentTitle>
<AppointmentTypeID>dc29bbaa-d477-44bc-9990-9fcf9991ecea</AppointmentTypeID>
<AppointmentWith>sample string 3</AppointmentWith>
<Notes>sample string 4</Notes>
<NotifyBefore>1</NotifyBefore>
<PatientAppointmentID>eb35a039-2b60-4b5c-8b78-b1ee1a4b2a8a</PatientAppointmentID>
<PatientDoctorID>0b3ba061-a009-41c2-b211-c772d6401f09</PatientDoctorID>
<PatientPharmacyID>7999f20e-3b45-4a95-93b0-2578ef1f2642</PatientPharmacyID>
</PatientAppointment>
</PatientAppointmentResponse>