Skip to main content
PATCH
/
form-element-submissions
/
{formElementId}
/
bulk
Bulk approve, reject, or revert form element submissions
curl --request PATCH \
  --url https://app.azalt.co/api/v1/form-element-submissions/{formElementId}/bulk \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "formSubmissionId": "<string>",
  "action": "approve",
  "reason": "<string>"
}
'
{
  "success": true,
  "message": "<string>",
  "processedCount": 123,
  "updatedSubmissions": [
    {
      "id": "<string>",
      "formElementId": "<string>",
      "periodUnit": 123,
      "newStatus": "COMPLETED"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

formElementId
string
required

Body

application/json
formSubmissionId
string
required
action
enum<string>
required
Available options:
approve,
reject,
revert
reason
string

Response

Successful response

success
boolean
required
message
string
required
processedCount
number
required
updatedSubmissions
object[]
required