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": "443ea6ea-9375-4d13-bab3-7b475122503b",
    "PatientDoctorID": "bcf2779d-e057-439b-80c7-0f864c9c7ba2",
    "PatientPharmacyID": "8bcaf59d-d5a5-4d7a-b23e-3d97c5645935",
    "AppointmentTitle": "sample string 1",
    "AppointmentWith": "sample string 2",
    "AppointmentTime": "2026-08-12T11:43:56.2087519+03:00",
    "NotifyBefore": 1,
    "Notes": "sample string 3"
  },
  "PatientID": "23ffa341-a0b0-4a23-8479-15d2ad8a0842",
  "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>23ffa341-a0b0-4a23-8479-15d2ad8a0842</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientAppointmentAdd>
    <AppointmentTime>2026-08-12T11:43:56.2087519+03:00</AppointmentTime>
    <AppointmentTitle>sample string 1</AppointmentTitle>
    <AppointmentTypeID>443ea6ea-9375-4d13-bab3-7b475122503b</AppointmentTypeID>
    <AppointmentWith>sample string 2</AppointmentWith>
    <Notes>sample string 3</Notes>
    <NotifyBefore>1</NotifyBefore>
    <PatientDoctorID>bcf2779d-e057-439b-80c7-0f864c9c7ba2</PatientDoctorID>
    <PatientPharmacyID>8bcaf59d-d5a5-4d7a-b23e-3d97c5645935</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": "789e46ea-5867-4739-9a8f-8aa010f4eaa3",
    "AppointmentTypeID": "7402309e-86c0-46a4-a812-dfed7062eeea",
    "PatientDoctorID": "6e747da5-ecda-4168-8724-746411ec2df5",
    "PatientPharmacyID": "577c6a8a-f79f-4f61-9f0d-9078e6b2ddb8",
    "AppointmentTitle": "sample string 2",
    "AppointmentWith": "sample string 3",
    "AppointmentTime": "2026-08-12T11:43:56.2243811+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-08-12T11:43:56.2243811+03:00</AppointmentTime>
    <AppointmentTitle>sample string 2</AppointmentTitle>
    <AppointmentTypeID>7402309e-86c0-46a4-a812-dfed7062eeea</AppointmentTypeID>
    <AppointmentWith>sample string 3</AppointmentWith>
    <Notes>sample string 4</Notes>
    <NotifyBefore>1</NotifyBefore>
    <PatientAppointmentID>789e46ea-5867-4739-9a8f-8aa010f4eaa3</PatientAppointmentID>
    <PatientDoctorID>6e747da5-ecda-4168-8724-746411ec2df5</PatientDoctorID>
    <PatientPharmacyID>577c6a8a-f79f-4f61-9f0d-9078e6b2ddb8</PatientPharmacyID>
  </PatientAppointment>
</PatientAppointmentResponse>