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": "81e4d397-a6f5-42cc-a693-c6d136d61236",
    "GenderID": "8f05d146-2a5e-4645-8584-f43d837daddc",
    "Name": "sample string 1",
    "HealthIssues": "sample string 2",
    "Alive": true,
    "BirthDate": "2025-12-11T14:39:34.9765258+03:00",
    "Notes": "sample string 3"
  },
  "PatientID": "4e4560f4-f401-4b2c-a363-7fc157d4417f",
  "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>4e4560f4-f401-4b2c-a363-7fc157d4417f</PatientID>
  <WebApiVersion>2</WebApiVersion>
  <PatientFamilyAdd>
    <Alive>true</Alive>
    <BirthDate>2025-12-11T14:39:34.9765258+03:00</BirthDate>
    <GenderID>8f05d146-2a5e-4645-8584-f43d837daddc</GenderID>
    <HealthIssues>sample string 2</HealthIssues>
    <Name>sample string 1</Name>
    <Notes>sample string 3</Notes>
    <RelationshipID>81e4d397-a6f5-42cc-a693-c6d136d61236</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": "ed4303e9-25f4-4ee8-aa33-138f75ee0853",
    "RelationshipID": "66378014-b122-4172-846b-5defad0dfe12",
    "GenderID": "211025ca-1cea-48d9-9f38-465146741aa5",
    "Name": "sample string 2",
    "HealthIssues": "sample string 3",
    "Alive": true,
    "BirthDate": "2025-12-11T14:39:34.9921427+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>2025-12-11T14:39:34.9921427+03:00</BirthDate>
    <GenderID>211025ca-1cea-48d9-9f38-465146741aa5</GenderID>
    <HealthIssues>sample string 3</HealthIssues>
    <Name>sample string 2</Name>
    <Notes>sample string 4</Notes>
    <PatientFamilyID>ed4303e9-25f4-4ee8-aa33-138f75ee0853</PatientFamilyID>
    <RelationshipID>66378014-b122-4172-846b-5defad0dfe12</RelationshipID>
  </PatientFamily>
</PatientFamilyResponse>