Required parameters | Type | Description |
clientId | Object Containing Id | Id of the client to whom the family is to be created |
firstName | String | First name of client family |
surname | String | Surname.of client family |
Example request | URL: https://sandbox.corepluspm.com/API/Core/v2/ClientFamily/
BODY:
|
Example response |
|
Optional parameters | Type | Description | ||
title | String | Title of the client family – Dr, Master, Miss, Mr, Mrs, Ms, Mx, Sir, Rev | ||
dateOfBirth | Date | Date of birth of client family | ||
relationship | String | Relationship of client family
Suggested values – Auntie, Boyfriend, Brother, Client, Daughter, Father, Fiance, Foster Father, Foster Mother, Friend, Girlfriend, Grand Father, Grand Mother, Guardian, Husband, Mother, Partner, Sister, Stepfather, Stepmother, Son, Uncle, Wife, Next of KIN |
||
medicareCardNumber | String(20) | Medicare card number of client family | ||
medicareCardIRN | String(1) | Medicare IRN number of client family | ||
homePhone | String | Home phone number of client family | ||
workPhone | String | Work phone number of client family | ||
mobile | String | Mobile phone number of client family | ||
String | Email address of client family | |||
address | String | Street address of client family | ||
suburb | String | Suburb of client family | ||
postcode | String | Postcode of client family | ||
notes | String(300) | Notes for client family | ||
emergencyContact | Boolean | True – Set the family as emergency contact for the client
False – Set the family as non emergency contact for the client Note: Client can have only single family set as emergency contact |
||
invoiceRecipient | Boolean | True – Set the family as invoice recipient for the client
False – Set the family as non invoice recipient for the client Note: Client can have only single family set as invoice recipient |
||
mainContact | Boolean | True – Set the family as main contact for the client in letter writer placeholders
False – Set the family as non main contact for the client in letter writer placeholders Note: Client can have only single family set as main contact |
||
separated | Boolean | Relationships like husband, wife, boy friend, girl friend can be marked as separated | ||
separatedDate | Date | Separated date of the client family |
Example request | URL: https://sandbox.corepluspm.com/API/Core/v2/ClientFamily/
BODY:
|
Example response |
|
Note: To overwrite existing emergency contact OR invoice recipient OR main contact – Need to use the parameter
overwrite=true
Example request — URL: https://sandbox.corepluspm.com/API/Core/v2/ClientFamily/?overwrite=true