Email Itinerary

Send a notification based on booking status.

zapiEmailBookingItinerary

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.

bookingNumber*

integer

Confirmation number assigned once booking is confirmed.

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.

notificationStatus*

string

Possible values are created, modified, cancelled or paid. At least one value is required.

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiEmailBookingItinerary</methodName>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>Email(s) have been sent</methodErrorMessage>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiEmailBookingItinerary</methodName>
		<bookingNumber></bookingNumber>
		<notificationStatus></notificationStatus>
	</zapiMethod>
</request>

Last updated