Overview
The worker assigned cancellation event is sent after a worker assignment has been cancelled.
Event Parameters
For detailed information on the parameters that are common across all events, please refer to Parameters for All Events. The parameters listed here are specific to this event.
Parameter | Data Type | Description | Expected value |
---|---|---|---|
| Integer | The ID representing the type of event. | 13 |
| Integer | The unique ID of the WorkN Worker. | |
| String | The ATS ID of the WorkN Worker. | |
| Integer | The unique ID of the WorkN Job. | |
| Integer | WorkN Job Instance ID | |
| String | The external order ID, if provided. | |
| Integer | The reason for cancelation. | If canceling job: If canceling assignment: 1 - Cancelled by Admin |
| Integer | The unique ID of the WorkN User that canceled the assignment | |
| List of Strings | List of ATS shift IDs that are being canceled. |
Sample Event
{
"mkt_id": 123,
"event_datetime": "2025-04-04T14:30:00",
"msg_id": "evt_12345abcde",
"ext_customer_id": "cust_789",
"ent_id": 456,
"ext_branch_id": "branch_101",
"branch_id": 202,
"event_type": 13,
"provider_id": 9876,
"ext_employee_id": "emp_5432",
"job_id": 5555,
"job_instance": 1,
"ext_order_id": "order_7777",
"cancel_type": "1",
"canceler_user_id": 3333,
"ext_shift_ids": ["shift_001", "shift_002"]
}