Update a form submission request

PUT /api/v1/form/{form_uuid}/submission-request/{submissionRequest_uuid}
application/json

Body

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.

    • The description of the form submission request

    • form object

      The form linked to this submission request

      Additional properties are allowed.

    • Denotes if this request has a submission stored against it

    • The submission stored against this request

      Additional properties are allowed.

PUT /api/v1/form/{form_uuid}/submission-request/{submissionRequest_uuid}
curl \
 --request PUT https://api.plannrcrm.com/api/v1/form/form_uuid/submission-request/submissionRequest_uuid \
 --header "Authorization: Bearer {OAUTH_ACCESS_TOKEN or PERSONAL_ACCESS_TOKEN}" \
 --header "Content-Type: application/json" \
 --header "Accept: application/json" \
 --header "X-PLANNR-ACCOUNT-UUID: {YOUR_PLANNR_ACCOUNT_UUID}" \
 --data '{"description":"Please can you submit your annual survey form"}'
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
{
  "description": "Please can you submit your annual survey form"
}
Response examples (200)
{
  "form": {
    "live": true,
    "uuid": "bd0d43b4-7d38-4e15-938d-6d9f76c5fbb5",
    "title": "Annual Catchup 2022",
    "sections": "App\\Http\\Resources\\FormQuestionResource",
    "created_at": "2025-02-20T10:13:03+00:00",
    "updated_at": "2025-02-20T10:13:03+00:00",
    "visibility": "public",
    "client_type": "client",
    "description": "This is the annual catchup form for 2022",
    "allowed_hosts": [
      "domain.com",
      "subdomain.domain.com"
    ],
    "create_client": true,
    "draft_submissions_count": 5,
    "submitted_submissions_count": 5
  },
  "uuid": "f7049aa6-7cb7-4a5c-b465-adf32a78cc12",
  "created_at": "2025-02-20T10:13:03+00:00",
  "submission": {
    "form": "App\\Http\\Resources\\FormResource",
    "uuid": "62e2a1be-ded9-4b7c-8b71-25ad1da73e9a",
    "stage": "draft",
    "account": "App\\Http\\Resources\\AccountResource",
    "answers": [
      {
        "last_name": "olive",
        "first_name": "john"
      }
    ],
    "request": "App\\Http\\Resources\\FormSubmissionRequestResource",
    "created_at": "2025-02-20T10:13:03+00:00",
    "updated_at": "2025-02-20T10:13:03+00:00"
  },
  "updated_at": "2025-02-20T10:13:03+00:00",
  "description": "Please submit your annual survey form",
  "has_submission": true
}