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": "4c49b163-4da9-4d12-898b-4ca5f2fc13fc",
    "GenderID": "4574ffe8-6a15-4141-94c7-a3dbfb9cec6e",
    "Name": "sample string 1",
    "HealthIssues": "sample string 2",
    "Alive": true,
    "BirthDate": "2026-08-12T11:43:56.3650021+03:00",
    "Notes": "sample string 3"
  },
  "PatientID": "9100fc11-cf95-4a20-8b30-06addabb2bc4",
  "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>9100fc11-cf95-4a20-8b30-06addabb2bc4</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientFamilyAdd>
    <Alive>true</Alive>
    <BirthDate>2026-08-12T11:43:56.3650021+03:00</BirthDate>
    <GenderID>4574ffe8-6a15-4141-94c7-a3dbfb9cec6e</GenderID>
    <HealthIssues>sample string 2</HealthIssues>
    <Name>sample string 1</Name>
    <Notes>sample string 3</Notes>
    <RelationshipID>4c49b163-4da9-4d12-898b-4ca5f2fc13fc</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": "a43eeb9a-6c32-4d5c-8f56-c90f6c941c76",
    "RelationshipID": "ec470eb4-2460-47b8-a625-b12ac6587f34",
    "GenderID": "bf02c5a1-0eab-42b1-ace5-23f6a367f28a",
    "Name": "sample string 2",
    "HealthIssues": "sample string 3",
    "Alive": true,
    "BirthDate": "2026-08-12T11:43:56.3806322+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-08-12T11:43:56.3806322+03:00</BirthDate>
    <GenderID>bf02c5a1-0eab-42b1-ace5-23f6a367f28a</GenderID>
    <HealthIssues>sample string 3</HealthIssues>
    <Name>sample string 2</Name>
    <Notes>sample string 4</Notes>
    <PatientFamilyID>a43eeb9a-6c32-4d5c-8f56-c90f6c941c76</PatientFamilyID>
    <RelationshipID>ec470eb4-2460-47b8-a625-b12ac6587f34</RelationshipID>
  </PatientFamily>
</PatientFamilyResponse>