Form Submission Rejected by Administrator

Occurs when an administrator rejects any form submission. Data includes the employee who submitted the form and the submission.

Example payload:

{
  "event_key": "employee.submission_rejected",
  "occurred_at": "2024-12-08T22:32:39.398-07:00",
  "data": {
    "employee": {
      "id": 14,
      "url": "/api/employees/14"
    },
    "submission": {
      "id": 435,
      "document_id": "1",
      "url": "/api/submissions/435",
      "rejection_reason": "Your CPR card is expired."
    }
  }
}