POST api/me/dependents/{id}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | string |
Required |
Body Parameters
AccountDependentRegistrationModelName | Description | Type | Additional information |
---|---|---|---|
DisplayName | string |
None. |
|
IdentityType | string |
None. |
|
NRIC | string |
None. |
|
string |
None. |
||
AllergicRecord | string |
None. |
|
DOB | date |
None. |
|
Age | integer |
None. |
|
Gender | string |
None. |
|
PhoneNumber | string |
None. |
|
Relationship | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "DisplayName": "sample string 1", "IdentityType": "sample string 2", "NRIC": "sample string 3", "Email": "sample string 4", "AllergicRecord": "sample string 5", "DOB": "2025-04-04T13:22:15.266303+08:00", "Age": 1, "Gender": "sample string 6", "PhoneNumber": "sample string 7", "Relationship": "sample string 8" }
application/xml, text/xml
Sample:
<AccountDependentRegistrationModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.Property.API.Models"> <Age>1</Age> <AllergicRecord>sample string 5</AllergicRecord> <DOB>2025-04-04T13:22:15.266303+08:00</DOB> <DisplayName>sample string 1</DisplayName> <Email>sample string 4</Email> <Gender>sample string 6</Gender> <IdentityType>sample string 2</IdentityType> <NRIC>sample string 3</NRIC> <PhoneNumber>sample string 7</PhoneNumber> <Relationship>sample string 8</Relationship> </AccountDependentRegistrationModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
DependentOutputModelName | Description | Type | Additional information |
---|---|---|---|
Id | string |
None. |
|
RelationshipId | string |
None. |
|
DisplayName | string |
None. |
|
IdentityType | string |
None. |
|
NRIC | string |
None. |
|
string |
None. |
||
AllergicRecord | string |
None. |
|
DOB | string |
None. |
|
Age | integer |
None. |
|
Gender | string |
None. |
|
PhoneNumber | string |
None. |
|
Relationship | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "Id": "sample string 1", "RelationshipId": "sample string 2", "DisplayName": "sample string 3", "IdentityType": "sample string 4", "NRIC": "sample string 5", "Email": "sample string 6", "AllergicRecord": "sample string 7", "DOB": "sample string 8", "Age": 9, "Gender": "sample string 10", "PhoneNumber": "sample string 11", "Relationship": "sample string 12" }
application/xml, text/xml
Sample:
<DependentOutputModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HyperQB.Property.API.Models"> <Age>9</Age> <AllergicRecord>sample string 7</AllergicRecord> <DOB>sample string 8</DOB> <DisplayName>sample string 3</DisplayName> <Email>sample string 6</Email> <Gender>sample string 10</Gender> <Id>sample string 1</Id> <IdentityType>sample string 4</IdentityType> <NRIC>sample string 5</NRIC> <PhoneNumber>sample string 11</PhoneNumber> <Relationship>sample string 12</Relationship> <RelationshipId>sample string 2</RelationshipId> </DependentOutputModel>