Search…
Create Cancellation
Create a cancellation for a specific activity for a single date or date range.
get
https://{yourdomainname}.zaui.net
/zapi/
zapiActivity_CreateCancellation
Request
Response
<request>
<zapiToken></zapiToken>
<zapiAccountId></zapiAccountId>
<zapiUserId></zapiUserId>
<zapiMethod>
<methodName>zapiActivity_CreateCancellation</methodName>
<activityId></activityId>
<cancellationStartDate></cancellationStartDate>
<cancellationEndDate></cancellationEndDate>
<cancellationStartTime></cancellationStartTime>
<cancellationEndTime></cancellationEndTime>
<daysOfWeek>
<sunday></sunday>
<monday></monday>
<tuesday></tuesday>
<wednesday></wednesday>
<thursday></thursday>
<friday></friday>
<saturday></saturday>
</daysOfWeek>
<flags>
<applyToAllDaysOfTheWeek></applyToAllDaysOfTheWeek>
<canceledOnlineOnly></canceledOnlineOnly>
<cancelWithBookings></cancelWithBookings>
<skipDaysWithBookings></skipDaysWithBookings>
</flags>
</zapiMethod>
</request>
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.1</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiActivity_CreateCancellation</methodName>
<cancellations>
<cancellation>
<cancellationId></cancellationId>
<activityId></activityId>
<activityName></activityName>
<cancellationStartDate></cancellationStartDate>
<cancellationEndDate></cancellationEndDate>
<cancelltionStartTime></cancelltionStartTime>
<cancellationEndTime></cancellationEndTime>
<daysOfWeek>
<sunday></sunday>
<monday></monday>
<tuesday></tuesday>
<wednesday></wednesday>
<thursday></thursday>
<friday></friday>
<saturday></saturday>
</daysOfWeek>
</cancellation>
</cancellations>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage></methodErrorMessage>
</methodResponse>
</response>
Copy link