POST api/Patient/PatientAppointmentAdd

Request Information

URI Parameters

None.

Body Parameters

PatientAppointmentAddRequest
NameDescriptionTypeAdditional information
PatientAppointmentAdd

PatientAppointmentAdd

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientAppointmentAdd": {
    "AppointmentTypeID": "511a2746-4483-45d7-b004-03f10ef03cb4",
    "PatientDoctorID": "e00392ce-3b23-4cc6-b44d-5b2159e93999",
    "PatientPharmacyID": "44ff8b91-90c9-4867-8b1a-d040796fbf52",
    "AppointmentTitle": "sample string 1",
    "AppointmentWith": "sample string 2",
    "AppointmentTime": "2026-06-18T12:14:57.1522706+03:00",
    "NotifyBefore": 1,
    "Notes": "sample string 3"
  },
  "PatientID": "9bb06185-edfa-4017-b81a-abfc7123e129",
  "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>9bb06185-edfa-4017-b81a-abfc7123e129</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientAppointmentAdd>
    <AppointmentTime>2026-06-18T12:14:57.1522706+03:00</AppointmentTime>
    <AppointmentTitle>sample string 1</AppointmentTitle>
    <AppointmentTypeID>511a2746-4483-45d7-b004-03f10ef03cb4</AppointmentTypeID>
    <AppointmentWith>sample string 2</AppointmentWith>
    <Notes>sample string 3</Notes>
    <NotifyBefore>1</NotifyBefore>
    <PatientDoctorID>e00392ce-3b23-4cc6-b44d-5b2159e93999</PatientDoctorID>
    <PatientPharmacyID>44ff8b91-90c9-4867-8b1a-d040796fbf52</PatientPharmacyID>
  </PatientAppointmentAdd>
</PatientAppointmentAddRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientAppointmentResponse
NameDescriptionTypeAdditional information
PatientAppointment

PatientAppointment

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientAppointment": {
    "PatientAppointmentID": "49a0faf4-773f-4124-9d44-060ddf20a08e",
    "AppointmentTypeID": "39007faa-6554-41a1-906e-870d9c6f7b08",
    "PatientDoctorID": "a6ba2953-24d4-4267-8f19-706f67bead32",
    "PatientPharmacyID": "2ff5ac34-a557-4429-a0c2-8cceaaba7cdf",
    "AppointmentTitle": "sample string 2",
    "AppointmentWith": "sample string 3",
    "AppointmentTime": "2026-06-18T12:14:57.1678959+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-06-18T12:14:57.1678959+03:00</AppointmentTime>
    <AppointmentTitle>sample string 2</AppointmentTitle>
    <AppointmentTypeID>39007faa-6554-41a1-906e-870d9c6f7b08</AppointmentTypeID>
    <AppointmentWith>sample string 3</AppointmentWith>
    <Notes>sample string 4</Notes>
    <NotifyBefore>1</NotifyBefore>
    <PatientAppointmentID>49a0faf4-773f-4124-9d44-060ddf20a08e</PatientAppointmentID>
    <PatientDoctorID>a6ba2953-24d4-4267-8f19-706f67bead32</PatientDoctorID>
    <PatientPharmacyID>2ff5ac34-a557-4429-a0c2-8cceaaba7cdf</PatientPharmacyID>
  </PatientAppointment>
</PatientAppointmentResponse>