Seccl - Store an adviser node association
Headers
-
Content-Type
string -
Accept
string
Path parameters
-
addon
string Required
Body
Required
-
associations
array[string] Required Associations to be created. Each association should have adviser_uuid and SECCL node_ids.
POST
/api/v1/addons/seccl/{addon}/associate-node
curl \
--request POST 'https://api.plannrcrm.com/api/v1/addons/seccl/addon/associate-node' \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--data '{"associations":[{"node_ids":{"type":"array","example":["1234","321"],"required":true,"description":"SECCL Node IDs"},"adviser_uuid":{"type":"string","example":"91f3c17a-3ac7-465f-b7d4-21b8eecf6885","required":true,"description":"Adviser UUID"}}]}'
Request examples
# Headers
Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}
Content-Type: application/json
Accept: application/json
# Payload
{
"associations": [
{
"node_ids": {
"type": "array",
"example": [
"1234",
"321"
],
"required": true,
"description": "SECCL Node IDs"
},
"adviser_uuid": {
"type": "string",
"example": "91f3c17a-3ac7-465f-b7d4-21b8eecf6885",
"required": true,
"description": "Adviser UUID"
}
}
]
}
Response examples (200)
{
"type": "provider_statement_mapping",
"uuid": "b79f8ef2-12a0-4c04-9b41-00f643c01104",
"created_at": "2025-04-22T13:44:21+01:00",
"updated_at": "2025-04-22T13:44:21+01:00",
"return_json": {
"key_1": "value_1",
"key_2": "value_2"
},
"lookup_value": "zAbWeFVJ:Bloggs J",
"return_float": 70.35,
"return_string": "Consectetur officia labore",
"lookupable_type": "provider",
"lookupable_uuid": "a677231a-e62c-4e2c-85a2-d8e0b78343f1",
"returnable_type": "plan",
"returnable_uuid": "4ddbc5f9-ca7f-4bbe-84f3-2d608f5fcf66",
"lookupable_value": "J Bloggs Plan",
"returnable_value": "example"
}