Complete a fact-find request

POST /api/v1/fact-find/request/{factFindRequest_uuid}/complete

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.

    • status string

      The status of the fact-find request. Available options: in_progress,complete

    • The datetime when the fact-find request has been completed

    • The text that is used in the notification/email sent out to the client.

    • schema object

      The fact-find schema used for the fact-find request.

    • The latest file that has been generated for the fact-find request.

POST /api/v1/fact-find/request/{factFindRequest_uuid}/complete
curl \
 -X POST https://api.plannrcrm.com/api/v1/fact-find/request/factFindRequest_uuid/complete \
 -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)
{
  "uuid": "721ae6d1-0ca7-43d1-8316-a925001e2602",
  "schema": {
    "name": "Default fact-find",
    "uuid": "653dbebe-bddb-4cff-98bb-0403054a8861",
    "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>"
  },
  "status": "complete",
  "created_at": "2024-10-16T11:10:16+01:00",
  "updated_at": "2024-10-16T11:10:16+01:00",
  "latest_file": {
    "firm": "App\\Http\\Resources\\FirmResource",
    "name": "Welcome to Plannr",
    "size": "21691783",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "type",
    "uuid": "8930c0d0-98e5-48ea-a8ca-e6a4996fc0a9",
    "parent": "Object",
    "status": "uploaded",
    "account": "App\\Http\\Resources\\AccountResource",
    "filename": "Welcome to Plannr.pdf",
    "progress": "100",
    "extension": "pdf",
    "created_at": "2024-10-16T11:10:16+01:00",
    "updated_at": "2024-10-16T11:10:16+01:00",
    "folder_name": "folder 2",
    "uploaded_at": "2024-10-16T11:10:16+01:00",
    "download_url": "https://plannr.valet/file/dd5cbbd9-0176-4d80-9e5e-a73a29be797e/download",
    "last_modified": "2024-10-16T11:10:16+01:00",
    "original_created_at": "2024-10-16T11:10:16+01:00"
  },
  "completed_at": "2024-10-11T11:10:16+01:00",
  "invitation_text": "Please complete this fact-find!"
}