Events
Action |
Event name |
create a new schedule |
schedule.created |
update an existing schedule |
schedule.updated |
Payload example
{
"id": "string",
"attemptId": "string",
"livemode": "boolean",
"created": "int",
"event": "string",
"data": {
"id": "string",
"name": "string",
"displayName": "string",
"time": "string",
"fromDate": "string",
"toDate": "string",
"fromDateYYYYMMDD": "string",
"toDateYYYYMMDD": "string",
"dow": {
"monday": "N",
"tuesday": "N",
"wednesday": "N",
"thursday": "N",
"friday": "Y",
"saturday": "N",
"sunday": "N",
"holidaysIncluded": "N",
"holidaysOnly": "N"
},
"capacity": 35,
"legs": [
{
"legord": 0,
"departure": "10:00",
"arrival": "11:30",
"fromId": "string",
"toId": "string",
"from": "string",
"to": "string"
}
],
"from": "string",
"to": "string",
"fromId": "string",
"toId": "string",
"brandId": "string or null",
"brandName": "string or null",
"operatingCompanyId": "string or null",
"operatingCompanyName": "string or null",
"operatingCompanyInfoOnPrintedTicket": "string or null",
"amenityGroupId": "string or null",
"inventoryId": "string or null",
"seatMapId": "string or null"
}
}