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": "45fba15b-910d-4cda-a3bc-99e28573cbd7",
"PatientDoctorID": "f5f9ea49-ed4f-483f-9259-3f7915aec857",
"PatientPharmacyID": "87f4cb41-8168-4b5c-9a6a-271d0a4fd1c9",
"AppointmentTitle": "sample string 1",
"AppointmentWith": "sample string 2",
"AppointmentTime": "2026-02-28T15:34:25.7453281+03:00",
"NotifyBefore": 1,
"Notes": "sample string 3"
},
"PatientID": "49426eac-7a25-42f3-9710-c2b850d2637c",
"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>49426eac-7a25-42f3-9710-c2b850d2637c</PatientID>
<WebApiVersion>2</WebApiVersion>
<PatientAppointmentAdd>
<AppointmentTime>2026-02-28T15:34:25.7453281+03:00</AppointmentTime>
<AppointmentTitle>sample string 1</AppointmentTitle>
<AppointmentTypeID>45fba15b-910d-4cda-a3bc-99e28573cbd7</AppointmentTypeID>
<AppointmentWith>sample string 2</AppointmentWith>
<Notes>sample string 3</Notes>
<NotifyBefore>1</NotifyBefore>
<PatientDoctorID>f5f9ea49-ed4f-483f-9259-3f7915aec857</PatientDoctorID>
<PatientPharmacyID>87f4cb41-8168-4b5c-9a6a-271d0a4fd1c9</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": "7d95ef87-8b14-498a-b462-5db964786ab2",
"AppointmentTypeID": "6dc72f60-2358-4672-85ab-a31b01fee4f5",
"PatientDoctorID": "d40b1f53-fdef-4446-a2ae-fdf0c469a654",
"PatientPharmacyID": "26ae32b4-c7d3-451a-b8e7-5c30d33739ab",
"AppointmentTitle": "sample string 2",
"AppointmentWith": "sample string 3",
"AppointmentTime": "2026-02-28T15:34:25.7609478+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-02-28T15:34:25.7609478+03:00</AppointmentTime>
<AppointmentTitle>sample string 2</AppointmentTitle>
<AppointmentTypeID>6dc72f60-2358-4672-85ab-a31b01fee4f5</AppointmentTypeID>
<AppointmentWith>sample string 3</AppointmentWith>
<Notes>sample string 4</Notes>
<NotifyBefore>1</NotifyBefore>
<PatientAppointmentID>7d95ef87-8b14-498a-b462-5db964786ab2</PatientAppointmentID>
<PatientDoctorID>d40b1f53-fdef-4446-a2ae-fdf0c469a654</PatientDoctorID>
<PatientPharmacyID>26ae32b4-c7d3-451a-b8e7-5c30d33739ab</PatientPharmacyID>
</PatientAppointment>
</PatientAppointmentResponse>