Archive a fact-find schema

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

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}/unarchive
curl \
 -X POST https://api.plannrcrm.com/api/v1/fact-find/schema/factFindSchema_uuid/unarchive \
 -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": "2f02ca98-2cde-4fa9-8780-c209b6d608ad",
  "created_at": "2024-10-16T11:10:16+01:00",
  "updated_at": "2024-10-16T11:10:16+01:00",
  "archived_at": "2024-10-15T11:10:16+01:00",
  "is_archived": false,
  "sections_count": 5,
  "introduction_html": "Welcome to our fact-find! <b>You can use some HTML too.</b>"
}