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": "c0108569-807a-44cc-b07a-b1a5373c3096",
    "GenderID": "56a51b6b-c21f-4a06-8740-ca90d08f83b5",
    "Name": "sample string 1",
    "HealthIssues": "sample string 2",
    "Alive": true,
    "BirthDate": "2026-06-18T12:14:57.8905485+03:00",
    "Notes": "sample string 3"
  },
  "PatientID": "4ee63911-5339-44b6-81ff-8d1fcf7b57f7",
  "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>4ee63911-5339-44b6-81ff-8d1fcf7b57f7</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientFamilyAdd>
    <Alive>true</Alive>
    <BirthDate>2026-06-18T12:14:57.8905485+03:00</BirthDate>
    <GenderID>56a51b6b-c21f-4a06-8740-ca90d08f83b5</GenderID>
    <HealthIssues>sample string 2</HealthIssues>
    <Name>sample string 1</Name>
    <Notes>sample string 3</Notes>
    <RelationshipID>c0108569-807a-44cc-b07a-b1a5373c3096</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": "1a3efce1-9b2c-412e-b35d-1baa31a2a1a5",
    "RelationshipID": "3fb244e7-4653-4572-a653-6660b59c758b",
    "GenderID": "7d5f4441-b713-4cd9-ad70-d5f0872abb53",
    "Name": "sample string 2",
    "HealthIssues": "sample string 3",
    "Alive": true,
    "BirthDate": "2026-06-18T12:14:57.9061699+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-06-18T12:14:57.9061699+03:00</BirthDate>
    <GenderID>7d5f4441-b713-4cd9-ad70-d5f0872abb53</GenderID>
    <HealthIssues>sample string 3</HealthIssues>
    <Name>sample string 2</Name>
    <Notes>sample string 4</Notes>
    <PatientFamilyID>1a3efce1-9b2c-412e-b35d-1baa31a2a1a5</PatientFamilyID>
    <RelationshipID>3fb244e7-4653-4572-a653-6660b59c758b</RelationshipID>
  </PatientFamily>
</PatientFamilyResponse>