Add Guest

Add guest or guests to the waitlist for a single activity.

zapiAddWaitListGuest

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

Request Body

NameTypeDescription

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.

mobilePhone*

integer

Mobile phone number listed in Guest profile.

lastName*

string

Last name listed in Guest profile.

firstName*

string

First name listed in Guest profile.

comments

string

Notes to add to the booking.

email*

string

Email address listed in Guest profile.

passengers*

object

Object describing how many people to add to the waitlist.

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiAddWaitListGuest</methodName>
        <waitListId>0</waitListId>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>
            <![CDATA[Harry Potter has been wait listed]]>
        </methodErrorMessage>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiAddWaitListGuest</methodName>
		<activityId></activityId>
		<activityDate></activityDate>
		<activityTime></activityTime>
		<firstName></firstName>
		<lastName></lastName>
		<mobilePhone></mobilePhone>
		<email></email>
		<comments></comments>
        	<passengers>
			<seniors></seniors>
			<adults></adults>
			<students></students>
			<children></children>
			<infants></infants>
			<passengersAsString></passengersAsString>
		</passengers>
	</zapiMethod>
</request>

Last updated