POST api/Patient/PatientFamilyAdd

Request Information

URI Parameters

None.

Body Parameters

PatientFamilyAddRequest
NameDescriptionTypeAdditional information
PatientFamilyAdd

PatientFamilyAdd

None.

PatientID

globally unique identifier

None.

WebApiVersion

integer

None.

Language

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PatientFamilyAdd": {
    "RelationshipID": "9a380c29-8498-49c5-8de3-faf831c4cde7",
    "GenderID": "ed8446bd-2363-48a2-b60f-e4a7fe8f986e",
    "Name": "sample string 1",
    "HealthIssues": "sample string 2",
    "Alive": true,
    "BirthDate": "2026-02-28T15:34:31.1342223+03:00",
    "Notes": "sample string 3"
  },
  "PatientID": "24bca749-8763-466b-984e-d5a47ef3a25e",
  "WebApiVersion": 2,
  "Language": "sample string 3"
}

application/xml, text/xml

Sample:
<PatientFamilyAddRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <Language>sample string 3</Language>
  <PatientID>24bca749-8763-466b-984e-d5a47ef3a25e</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientFamilyAdd>
    <Alive>true</Alive>
    <BirthDate>2026-02-28T15:34:31.1342223+03:00</BirthDate>
    <GenderID>ed8446bd-2363-48a2-b60f-e4a7fe8f986e</GenderID>
    <HealthIssues>sample string 2</HealthIssues>
    <Name>sample string 1</Name>
    <Notes>sample string 3</Notes>
    <RelationshipID>9a380c29-8498-49c5-8de3-faf831c4cde7</RelationshipID>
  </PatientFamilyAdd>
</PatientFamilyAddRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PatientFamilyResponse
NameDescriptionTypeAdditional information
PatientFamily

PatientFamily

None.

WebApiVersion

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "PatientFamily": {
    "PatientFamilyID": "e14527e8-e2cf-4df6-b769-1f0b29c7b46e",
    "RelationshipID": "0133aeb6-aeab-4e50-9983-bd1de5691071",
    "GenderID": "432c7e5a-816c-44bf-a435-054d1f61bb73",
    "Name": "sample string 2",
    "HealthIssues": "sample string 3",
    "Alive": true,
    "BirthDate": "2026-02-28T15:34:31.1498455+03:00",
    "Notes": "sample string 4"
  },
  "WebApiVersion": 1
}

application/xml, text/xml

Sample:
<PatientFamilyResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SehatukaAPI.DTO">
  <WebApiVersion>1</WebApiVersion>
  <PatientFamily>
    <Alive>true</Alive>
    <BirthDate>2026-02-28T15:34:31.1498455+03:00</BirthDate>
    <GenderID>432c7e5a-816c-44bf-a435-054d1f61bb73</GenderID>
    <HealthIssues>sample string 3</HealthIssues>
    <Name>sample string 2</Name>
    <Notes>sample string 4</Notes>
    <PatientFamilyID>e14527e8-e2cf-4df6-b769-1f0b29c7b46e</PatientFamilyID>
    <RelationshipID>0133aeb6-aeab-4e50-9983-bd1de5691071</RelationshipID>
  </PatientFamily>
</PatientFamilyResponse>