POST api/Patient/PatientDoctorAdd

Request Information

URI Parameters

None.

Body Parameters

PatientDoctorAddRequest
NameDescriptionTypeAdditional information
PatientDoctorAdd

PatientDoctorAdd

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientDoctorAdd": {
    "DoctorSpecialtyID": "c75e6255-f6d3-4d8a-a209-c92de5235fe8",
    "Name": "sample string 1",
    "InstitutionName": "sample string 2",
    "Address": "sample string 3",
    "PhoneSMS": "sample string 4",
    "WhatsApp": "sample string 5",
    "Email": "sample string 6",
    "Website": "sample string 7",
    "WorkingHours": "sample string 8",
    "AssistantName": "sample string 9",
    "OtherInfo": "sample string 10",
    "Notes": "sample string 11"
  },
  "PatientID": "017f5650-6b37-4f2f-9636-174773a4a55a",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<PatientDoctorAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>017f5650-6b37-4f2f-9636-174773a4a55a</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientDoctorAdd>
    <Address>sample string 3</Address>
    <AssistantName>sample string 9</AssistantName>
    <DoctorSpecialtyID>c75e6255-f6d3-4d8a-a209-c92de5235fe8</DoctorSpecialtyID>
    <Email>sample string 6</Email>
    <InstitutionName>sample string 2</InstitutionName>
    <Name>sample string 1</Name>
    <Notes>sample string 11</Notes>
    <OtherInfo>sample string 10</OtherInfo>
    <PhoneSMS>sample string 4</PhoneSMS>
    <Website>sample string 7</Website>
    <WhatsApp>sample string 5</WhatsApp>
    <WorkingHours>sample string 8</WorkingHours>
  </PatientDoctorAdd>
</PatientDoctorAddRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientDoctorResponse
NameDescriptionTypeAdditional information
PatientDoctor

PatientDoctor

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientDoctor": {
    "PatientDoctorID": "abcc36e2-f373-46ca-8a09-1392e2d488cd",
    "DoctorSpecialtyID": "655259e2-dc64-45ed-981b-6222607a1cfe",
    "Name": "sample string 2",
    "InstitutionName": "sample string 3",
    "Address": "sample string 4",
    "PhoneSMS": "sample string 5",
    "WhatsApp": "sample string 6",
    "Email": "sample string 7",
    "Website": "sample string 8",
    "WorkingHours": "sample string 9",
    "AssistantName": "sample string 10",
    "OtherInfo": "sample string 11",
    "Notes": "sample string 12"
  },
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<PatientDoctorResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <PatientDoctor>
    <Address>sample string 4</Address>
    <AssistantName>sample string 10</AssistantName>
    <DoctorSpecialtyID>655259e2-dc64-45ed-981b-6222607a1cfe</DoctorSpecialtyID>
    <Email>sample string 7</Email>
    <InstitutionName>sample string 3</InstitutionName>
    <Name>sample string 2</Name>
    <Notes>sample string 12</Notes>
    <OtherInfo>sample string 11</OtherInfo>
    <PatientDoctorID>abcc36e2-f373-46ca-8a09-1392e2d488cd</PatientDoctorID>
    <PhoneSMS>sample string 5</PhoneSMS>
    <Website>sample string 8</Website>
    <WhatsApp>sample string 6</WhatsApp>
    <WorkingHours>sample string 9</WorkingHours>
  </PatientDoctor>
</PatientDoctorResponse>