Cancelled Activities

Performs a fetch of a single cancelled activity or all cancelled activities by date.

zapiActivity_GetCancellations

GET https://{yourdomainname}.zaui.net/zapi/

Request Body

Name
Type
Description

zapiToken*

integerng

Token that must be used for a reseller to communicate with the supplier system.

zapiAccountId*

integer

Generated by the supplier system.

zapiUserId*

integer

Generated by the supplier system when a new contact is created.

methodName*

string

The method being called.

activityId*

integer

ID of the activity.

cancellationStartDate*

integer

Start date of cancellation window. Format: YYYY-MM-DD

cancellationEndDate*

integer

End date of cancellation window. Format: YYYY-MM-DD

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiActivity_GetCancellations</methodName>
        <cancellations>
            <cancellation>
                <cancellationId>243</cancellationId>
                <activityId>80</activityId>
                <activityName>Canyon Icewalk </activityName>
                <cancellationStartDate>2022-04-21</cancellationStartDate>
                <cancellationEndDate>2022-04-21</cancellationEndDate>
                <cancellationStartTime>13:00:00</cancellationStartTime>
                <cancellationEndTime>17:00:00</cancellationEndTime>
                <daysOfWeek>
                    <sunday>true</sunday>
                    <monday>true</monday>
                    <tuesday>true</tuesday>
                    <wednesday>true</wednesday>
                    <thursday>true</thursday>
                    <friday>true</friday>
                    <saturday>true</saturday>
                </daysOfWeek>
            </cancellation>
        </cancellations>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>
            <![CDATA[]]>
        </methodErrorMessage>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiActivity_GetCancellations</methodName>
		<activityId></activityId>
		<cancellationStartDate></cancellationStartDate>
		<cancellationEndDate></cancellationEndDate>
	</zapiMethod>
</request>

Last updated