Create a dependant
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Body Required
-
The first name of the dependant.
-
The last name of the dependant.
-
known_as string
An optional nickname for the dependant.
-
The relationship of the dependant.
-
date_of_birth date
The date of birth of the dependant. Must be in Y-m-d format. Example: 1990-12-25.
-
is_financially_dependant boolean
Denotes if the dependant is financially dependant on the client.
-
notes string
Optional notes for the dependant.
POST /api/v1/client/{client_uuid}/dependant
curl \
-X POST https://api.plannrcrm.com/api/v1/client/client_uuid/dependant \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
-d '{"first_name":"Christopher","last_name":"Nolan","known_as":"Chris","relationship":"Brother","date_of_birth":"2004-11-20","is_financially_dependant":"true","notes":"Example notes","shared_owner_uuid":"0f24f741-e1a2-4550-9463-c65a768b11cd"}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}
# Payload
{
"first_name": "Christopher",
"last_name": "Nolan",
"known_as": "Chris",
"relationship": "Brother",
"date_of_birth": "2004-11-20",
"is_financially_dependant": "true",
"notes": "Example notes",
"shared_owner_uuid": "0f24f741-e1a2-4550-9463-c65a768b11cd"
}
Response examples (201)
{
"name": "Christopher Nolan",
"uuid": "9c9592d2-14e3-417a-9cb1-2f8595c7b34e",
"notes": "Example notes",
"known_as": "Chris",
"last_name": "Nolan",
"created_at": "2024-11-20T13:24:00+00:00",
"first_name": "Christopher",
"updated_at": "2024-11-20T13:24:00+00:00",
"relationship": "Brother",
"shared_owner": {
"firm": "App\\Http\\Resources\\FirmResource",
"name": "Gareth Thompson",
"role": "client",
"tags": "App\\Http\\Resources\\TagResource",
"type": "client",
"uuid": "c1552375-8b3d-413e-9248-8f14fb2855ee",
"email": "gareth@codepotato.co.uk",
"groups": "App\\Http\\Resources\\GroupResource",
"owners": "App\\Http\\Resources\\AccountResource",
"last_name": "Thompson",
"created_at": "2024-11-20T13:24:00+00:00",
"first_name": "Gareth",
"updated_at": "2024-11-20T13:24:00+00:00",
"with_login": true,
"custom_fields": "App\\Http\\Resources\\CustomFieldValueResource",
"introduced_by": "App\\Http\\Resources\\AccountResource",
"primary_email": "App\\Http\\Resources\\ContactDetailResource",
"can_be_deleted": "false",
"assigned_adviser": "App\\Http\\Resources\\AccountResource",
"next_review_date": "2024-11-20T13:24:00+00:00",
"has_joint_account": true,
"current_time_entry": "App\\Http\\Resources\\TimeEntryResource",
"first_contact_date": "2024-11-20T13:24:00+00:00",
"external_references": "App\\Http\\Resources\\ExternalReferenceResource",
"assigned_paraplanner": "App\\Http\\Resources\\AccountResource",
"previous_review_date": "2024-11-20T13:24:00+00:00",
"primary_phone_number": "App\\Http\\Resources\\ContactDetailResource",
"assigned_administrator": "App\\Http\\Resources\\AccountResource",
"anniversary_review_date": "2024-11-20T13:24:00+00:00"
},
"date_of_birth": "1984-11-20T13:24:00+00:00",
"shared_owner_type": "individual",
"is_financially_dependant": true
}