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": "e3a2a25c-bc7c-4ab8-aae4-d6fc0c97b1bd",
    "GenderID": "e1435804-4654-430a-8742-0daf9c128c79",
    "Name": "sample string 1",
    "HealthIssues": "sample string 2",
    "Alive": true,
    "BirthDate": "2026-04-24T14:22:06.7108607+03:00",
    "Notes": "sample string 3"
  },
  "PatientID": "b52f81a1-bc2d-40c9-a3a3-3b1ec8e18ea8",
  "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>b52f81a1-bc2d-40c9-a3a3-3b1ec8e18ea8</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientFamilyAdd>
    <Alive>true</Alive>
    <BirthDate>2026-04-24T14:22:06.7108607+03:00</BirthDate>
    <GenderID>e1435804-4654-430a-8742-0daf9c128c79</GenderID>
    <HealthIssues>sample string 2</HealthIssues>
    <Name>sample string 1</Name>
    <Notes>sample string 3</Notes>
    <RelationshipID>e3a2a25c-bc7c-4ab8-aae4-d6fc0c97b1bd</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": "d5e0ae37-206e-4530-bd00-15865c19823f",
    "RelationshipID": "3ec882c5-9e8e-407a-a65c-0086a62c3268",
    "GenderID": "caaf338d-3285-4058-a76c-7b0504207c12",
    "Name": "sample string 2",
    "HealthIssues": "sample string 3",
    "Alive": true,
    "BirthDate": "2026-04-24T14:22:06.7265633+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-04-24T14:22:06.7265633+03:00</BirthDate>
    <GenderID>caaf338d-3285-4058-a76c-7b0504207c12</GenderID>
    <HealthIssues>sample string 3</HealthIssues>
    <Name>sample string 2</Name>
    <Notes>sample string 4</Notes>
    <PatientFamilyID>d5e0ae37-206e-4530-bd00-15865c19823f</PatientFamilyID>
    <RelationshipID>3ec882c5-9e8e-407a-a65c-0086a62c3268</RelationshipID>
  </PatientFamily>
</PatientFamilyResponse>