Remove Guest

Remove a guest or guests from the waitlist.

zapiRemoveWaitListGuest

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.

waitListId*

integer

Retrieved by running the zapiGetAllWaitListGuestsByActivityIdAndDate call

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>zapiRemoveWaitListGuest</methodName>
        <waitListId>4</waitListId>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>
            <![CDATA[Wait listed guest has been removed]]>
        </methodErrorMessage>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiRemoveWaitListGuest</methodName>
		<waitListId></waitListId>
		<activityId></activityId>
		<activityDate></activityDate>
		<activityTime></activityTime>
	</zapiMethod>
</request>

Last updated