Single Activity Waitlist

Get the waitlist for a single date per activity.

zapiGetAllWaitListGuestsByActivityIdAndDate

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

Request Body

Name
Type
Description

zapiToken*

integer

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

activityTime*

integer

Timeslot of activity to add guest to the waitlist for. Format: HH:MM:SS.

activityDate*

integer

The travel date. Format: YYYY-MM-DD

activityId*

integer

ID of the activity.

methodName*

string

The method being called.

zapiUserId*

integer

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

zapiAccountId*

integer

Generated by the supplier system.

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiGetAllWaitListGuestsByActivityIdAndDate</methodName>
        <activityId>80</activityId>
        <activityDate>2021-11-30</activityDate>
        <waitListGuests>
            <guest>
                <waitListId>3</waitListId>
                <firstName>
                    <![CDATA[Harry]]>
                </firstName>
                <lastName>
                    <![CDATA[Potter]]>
                </lastName>
                <mobilePhone>
                    <![CDATA[604-456-7896]]>
                </mobilePhone>
                <email>
                    <![CDATA[harry_test@test.com]]>
                </email>
                <comments>
                    <![CDATA[Testing]]>
                </comments>
                <dateCreated>
                    <![CDATA[2021-11-17 10:06:52]]>
                </dateCreated>
                <passengers>
                    <seniors>0</seniors>
                    <adults>2</adults>
                    <students>0</students>
                    <children>0</children>
                    <infants>0</infants>
                    <passengersAsString>
                        <![CDATA[2 (ad)]]>
                    </passengersAsString>
                </passengers>
            </guest>
        </waitListGuests>
        <totalGuestsOnWaitList>2</totalGuestsOnWaitList>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>
            <![CDATA[]]>
        </methodErrorMessage>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiGetAllWaitListGuestsByActivityIdAndDate</methodName>
		<activityId></activityId>
		<activityDate></activityDate>
		<activityTime></activityTime>
	</zapiMethod>
</request>

Last updated