Overview
The worker shift cancellation event is sent after a worker's shift 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. | 19 |
| 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 | |
| Integer | The unique ID of the WorkN Service Request. | |
| string | The external order ID, if provided. | |
| String | The reason for cancelation. | 1, 4, 5, or 12 1 - Cancelled by Admin |
| integer | The unique ID of the WorkN User that canceled the assignment. | |
| String | 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": 19,
"provider_id": 9876,
"ext_employee_id": "emp_5432",
"job_id": 5555,
"job_instance": 1,
"request_id": 8765,
"ext_order_id": "order_7777",
"cancel_type": "5",
"canceler_user_id": 3333,
"ext_shift_id": "shift_001"
}