Archive a fact-find schema

POST /api/v1/fact-find/schema/{factFindSchema_uuid}/archive

Headers

Path parameters

Responses

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

      The UUID of the resource.

    • The timestamp of when the resource was created.

    • The timestamp of when the resource was updated.

    • If the schema has been archived, the datetime of when it was archived.

    • Denotes if the schema has been archived.

    • name string

      The name of the fact-find schema.

    • The name of the fact-find schema. Must be unique.

    • The number of sections inside of a fact-find schema.

POST /api/v1/fact-find/schema/{factFindSchema_uuid}/archive
curl \
 -X POST https://api.plannrcrm.com/api/v1/fact-find/schema/factFindSchema_uuid/archive \
 -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}"
Response examples (200)
{
  "name": "Default fact-find",
  "uuid": "cc88d38d-7ead-4439-a998-82ed6d281837",
  "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>"
}