Seccl - Store an adviser node association
Headers
-
Content-Type string
-
Accept string
Body 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":"a644e686-ade6-4b7a-a2af-02be79a43b70","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": "a644e686-ade6-4b7a-a2af-02be79a43b70",
"required": true,
"description": "Adviser UUID"
}
}
]
}
Response examples (200)
{
"type": "provider_statement_mapping",
"uuid": "c2aaec22-c326-4f36-8694-2d4b6ac0a822",
"created_at": "2025-02-20T10:13:06+00:00",
"updated_at": "2025-02-20T10:13:06+00: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": "dc72f4b4-5234-4700-b281-8596f67595bc",
"returnable_type": "plan",
"returnable_uuid": "184beca2-6364-4aed-bf23-144c9a882aad",
"lookupable_value": "J Bloggs Plan",
"returnable_value": "example"
}