Create a schema section
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Body Required
-
The name of the fact-find schema section. Must be unique.
-
The reference to the Plannr front-end. Must be unique. Available options:basic_details, contact_details, debt, dependants, employment, employment_and_income, estate, expenses, fixed_assets, goals, health, income, investments, personal_details, plans, property, protection, state_pension, vulnerability
-
introduction_html string
The HTML that should be displayed on the section.
POST
/api/v1/fact-find/schema/{factFindSchema_uuid}/section
curl \
--request POST https://api.plannrcrm.com/api/v1/fact-find/schema/factFindSchema_uuid/section \
--header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
--header "Content-Type: application/json" \
--header "Accept: application/json" \
--header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
--data '{"name":"Basic Details","front_end_section":"basic_details","introduction_html":"\u003cp\u003ePlease tell us your \u003cb\u003ebasic details.\u003c/b\u003e\u003c/p\u003e"}'
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
{
"name": "Basic Details",
"front_end_section": "basic_details",
"introduction_html": "<p>Please tell us your <b>basic details.</b></p>"
}
Response examples (201)
{
"name": "Basic Details",
"uuid": "e0b069b3-6f2e-488e-9de5-315f60a69cd2",
"position": 1,
"created_at": "2025-02-20T10:13:05+00:00",
"updated_at": "2025-02-20T10:13:05+00:00",
"front_end_section": "basic_details",
"introduction_html": "<p>Please tell us your <b>basic details.</b></p>"
}