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 \
-X POST https://api.plannrcrm.com/api/v1/addons/seccl/addon/associate-node \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-d '{"associations":[{"node_ids":{"type":"array","example":["1234","321"],"required":true,"description":"SECCL Node IDs"},"adviser_uuid":{"type":"string","example":"4b793bc6-6178-47f7-a46d-5578514f810f","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": "4b793bc6-6178-47f7-a46d-5578514f810f",
"required": true,
"description": "Adviser UUID"
}
}
]
}
Response examples (200)
{
"type": "provider_statement_mapping",
"uuid": "49119a4e-5ac9-415c-ae47-99d55b0a01e5",
"created_at": "2025-01-17T11:18:33+00:00",
"updated_at": "2025-01-17T11:18:33+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": "42b7263c-719f-4c24-b05c-917a189f7574",
"returnable_type": "plan",
"returnable_uuid": "5b1dec22-acd6-4267-96f9-51c1d0594fa9",
"lookupable_value": "J Bloggs Plan",
"returnable_value": "example"
}