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.

      Additional properties are allowed.

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

      Additional properties are allowed.

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": "86fa78b0-cbdc-4767-a90d-eb7894908083",
  "schema": {
    "name": "Default fact-find",
    "uuid": "0c5b9ffc-bd61-4789-9ba5-9774754d8e11",
    "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>"
  },
  "status": "complete",
  "created_at": "2024-11-20T13:24:03+00:00",
  "updated_at": "2024-11-20T13:24:03+00:00",
  "latest_file": {
    "firm": "App\\Http\\Resources\\FirmResource",
    "name": "Welcome to Plannr",
    "size": "21691783",
    "tags": "App\\Http\\Resources\\TagResource",
    "type": "type",
    "uuid": "7bff5336-a2b8-4d2c-89e1-6a679393e977",
    "parent": "Object",
    "status": "uploaded",
    "account": "App\\Http\\Resources\\AccountResource",
    "filename": "Welcome to Plannr.pdf",
    "progress": "100",
    "extension": "pdf",
    "created_at": "2024-11-20T13:24:03+00:00",
    "updated_at": "2024-11-20T13:24:03+00:00",
    "folder_name": "folder 2",
    "uploaded_at": "2024-11-20T13:24:03+00:00",
    "download_url": "https://plannr.valet/file/60192bc1-2cd1-47d4-91ab-9a06459673fa/download",
    "last_modified": "2024-11-20T13:24:03+00:00",
    "original_created_at": "2024-11-20T13:24:03+00:00"
  },
  "completed_at": "2024-11-15T13:24:03+00:00",
  "invitation_text": "Please complete this fact-find!"
}