Seccl - Store an adviser node association

POST /api/v1/addons/seccl/{addon}/associate-node

Path parameters

  • addon string Required
application/json

Body Required

  • associations array[string] Required

    Associations to be created. Each association should have adviser_uuid and SECCL node_ids.

Responses

  • 200 application/json
    Hide response attributes Show response attributes object
    • uuid string

      The UUID of the resource.

    • created_at string

      The timestamp of when the resource was created.

    • updated_at string

      The timestamp of when the resource was updated.

    • type string

      Lookup type

    • lookupable_type string

      The model type you are looking up against

    • lookupable_uuid string

      The UUID of the model of the lookup value you are looking up against

    • lookupable_value string

      The description of the model of the lookup value you are looking up against

    • lookup_value string

      A string of a lookup value you are looking up against

    • returnable_type string

      The model type that was found by this lookup

    • returnable_uuid string

      The model UUID that was found by this lookup

    • returnable_value string

      The description of the model that was found by this lookup

    • return_string string

      The return value that was found by this lookup

    • return_json object

      The return value that was found by this lookup

      Hide return_json attributes Show return_json attributes object
      • key_1 string
      • key_2 string
    • return_float number

      The return value that was found by this lookup

POST /api/v1/addons/seccl/{addon}/associate-node
curl \
 --request POST 'https://api.plannrcrm.com/api/v1/addons/seccl/architecto/associate-node' \
 --header "Authorization: Bearer $ACCESS_TOKEN" \
 --header "Content-Type: application/json" \
 --data '{"associations":[{"node_ids":{"type":"array","example":["1234","321"],"required":true,"description":"SECCL Node IDs"},"adviser_uuid":{"type":"string","example":"6a53b2f9-6d29-4642-8477-33796e8c60ed","required":true,"description":"Adviser UUID"}}]}'
Request examples
{
  "associations": [
    {
      "node_ids": {
        "type": "array",
        "example": [
          "1234",
          "321"
        ],
        "required": true,
        "description": "SECCL Node IDs"
      },
      "adviser_uuid": {
        "type": "string",
        "example": "6a53b2f9-6d29-4642-8477-33796e8c60ed",
        "required": true,
        "description": "Adviser UUID"
      }
    }
  ]
}
Response examples (200)
{
  "type": "provider_statement_mapping",
  "uuid": "d9c2634f-cae5-4e20-9f8a-995339913cf0",
  "created_at": "2025-06-26T11:37:10+01:00",
  "updated_at": "2025-06-26T11:37:10+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": "e568f77d-abbd-4246-a54d-9bcdb5aa8682",
  "returnable_type": "plan",
  "returnable_uuid": "dc829e82-accd-4c2f-8d6f-3dd234dca482",
  "lookupable_value": "J Bloggs Plan",
  "returnable_value": "example"
}