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 \
-X POST https://api.plannrcrm.com/api/v1/fact-find/schema/factFindSchema_uuid/section \
-H "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
-H "Content-Type: application/json" \
-H "Accept: application/json" \
-H "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
-d '{"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": "44836f97-4584-43bc-bb98-423b9debb30b",
"position": 1,
"created_at": "2024-11-20T13:24:03+00:00",
"updated_at": "2024-11-20T13:24:03+00:00",
"front_end_section": "basic_details",
"introduction_html": "<p>Please tell us your <b>basic details.</b></p>"
}