Create Cancellation
Create a cancellation for a specific activity for a single date or date range.
zapiActivity_CreateCancellation
GET
https://{yourdomainname}.zaui.net/zapi/
Request Body
Name | Type | Description |
---|---|---|
activityId* | integer | ID of the activity. |
methodName* | string | The method being called. |
zapiToken* | integer | Token that must be used for a reseller to communicate with the supplier system. |
applyToAllDaysOfTheWeek | string | True or False. Default value is True |
cancellationStartTime* | integer | Start time of activity to cancel. For Interval activities, start time would need to include all timeslots to cancel. Format: HH:MM:SS. |
cancellationStartDate* | integer | Start date of cancellation window. Format: YYYY-MM-DD |
zapiAccountId* | integer | Generated by the supplier system. |
daysOfWeek | string | True or False - Used to cancel only select days within a window. |
cancellationEndDate* | integer | End date of cancellation window. Format: YYYY-MM-DD |
zapiUserId* | integer | Generated by the supplier system when a new contact is created. |
cancellationEndTime* | integer | End time of activity to cancel. For Interval activities, end time would need to include all timeslots to cancel. Format: HH:MM:SS. |
canceledOnlineOnly | string | True or False. Default value is False. |
cancelWithBookings | string | True or False. Default value is False. |
skipDaysWithBookings | string | True or False. Default value is True. |
Last updated