Update a fact-find schema
Headers
-
Content-Type string
-
Accept string
-
X-PLANNR-ACCOUNT-UUID string
Body
-
name string
The name of the fact-find schema. Must be unique.
-
introduction_html string
The name of the fact-find schema. Must be unique.
PUT /api/v1/fact-find/schema/{factFindSchema_uuid}
curl \
-X PUT https://api.plannrcrm.com/api/v1/fact-find/schema/factFindSchema_uuid \
-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":"Mortgage Client Fact-Find","introduction_html":"Welcome to our fact-find! \u003cb\u003eYou can use some HTML too.\u003c/b\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": "Mortgage Client Fact-Find",
"introduction_html": "Welcome to our fact-find! <b>You can use some HTML too.</b>"
}
Response examples (200)
{
"name": "Default fact-find",
"uuid": "8be36080-a85f-4597-abea-6f5085fc093a",
"created_at": "2024-11-20T13:24:03+00:00",
"updated_at": "2024-11-20T13:24:03+00:00",
"archived_at": "2024-11-19T13:24:03+00:00",
"is_archived": false,
"sections_count": 5,
"introduction_html": "Welcome to our fact-find! <b>You can use some HTML too.</b>"
}