Search by Last Name

Search for a booking using the last name on the booking.

zapiSearchBookingsByLastname

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.

lastName*

string

Last name listed on the booking.

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>zapiSearchBookingsByLastname</methodName>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage/>
        <totalSearchResults>2</totalSearchResults>
        <requestedSearchResults>2</requestedSearchResults>
        <allBookings>
            <booking>
                <bookingNumber>40234</bookingNumber>
                <bookingReference>27J76MT</bookingReference>
                <guestID>1236</guestID>
                <guestHashKey>47844cee7ce4b72ad792e88c349d0aab58ce07a5</guestHashKey>
                <lastName>
                    <![CDATA[Bravo]]>
                </lastName>
                <firstName>
                    <![CDATA[Johnny]]>
                </firstName>
                <email>
                    <![CDATA[connectivity@zaui.com]]>
                </email>
                <mobilePrefix>
                    <![CDATA[6045669284]]>
                </mobilePrefix>
                <mobilePhone>
                    <![CDATA[6045667896]]>
                </mobilePhone>
                <isCancelled>0</isCancelled>
                <outstandingBalance>$105.00</outstandingBalance>
                <bookingBalance>
                    <hasOutstandingBalance>false</hasOutstandingBalance>
                    <balance>0</balance>
                    <balanceFormated>$0.00</balanceFormated>
                </bookingBalance>
                <subTotal>$100.00</subTotal>
                <tax>$5.00</tax>
                <activitySurplusFees>$0.00</activitySurplusFees>
                <total>$105.00</total>
                <reservationist>
                    <![CDATA[Zaui Support]]>
                </reservationist>
                <activities>
                    <activity>
                        <attributeId>71729</attributeId>
                        <activityName>
                            <![CDATA[Electric Bike Rentals]]>
                        </activityName>
                        <activityId>128</activityId>
                        <activityType>505</activityType>
                        <packageId>0</packageId>
                        <packageName/>
                        <activityDate>2021-11-18</activityDate>
                        <activityTime>09:00:00</activityTime>
                        <supplierConfirmation/>
                        <activityDateTime>Thu, Nov 18 2021 9:00 AM</activityDateTime>
                        <pickupLocationId>0</pickupLocationId>
                        <pickupTime>
                            <![CDATA[]]>
                        </pickupTime>
                        <pickupName>
                            <![CDATA[]]>
                        </pickupName>
                        <pickupLocationAddress>
                            <![CDATA[]]>
                        </pickupLocationAddress>
                        <pickupLocationTimeString>
                            <![CDATA[ ]]>
                        </pickupLocationTimeString>
                        <dropOffLocationId>0</dropOffLocationId>
                        <dropoffTime>
                            <![CDATA[]]>
                        </dropoffTime>
                        <dropoffName>
                            <![CDATA[]]>
                        </dropoffName>
                        <dropOffLocationAddress>
                            <![CDATA[]]>
                        </dropOffLocationAddress>
                        <dropOffLocationTimeString>
                            <![CDATA[ ]]>
                        </dropOffLocationTimeString>
                        <commissionAgentId>5</commissionAgentId>
                        <commissionAgentName>
                            <![CDATA[Zaui Support]]>
                        </commissionAgentName>
                        <commissionAgentCompany>
                            <![CDATA[Supplier Test System]]>
                        </commissionAgentCompany>
                        <rentalStartTime>09:00:00</rentalStartTime>
                        <rentalEndTime>13:00:00</rentalEndTime>
                        <rentalEndDate>2021-11-18</rentalEndDate>
                        <tag/>
                        <notes>
                            <![CDATA[]]>
                        </notes>
                        <passengers>
                            <seniors>0</seniors>
                            <adults>2</adults>
                            <students>0</students>
                            <children>0</children>
                            <infants>0</infants>
                            <passengersAsString>
                                <![CDATA[2 (ad)]]>
                            </passengersAsString>
                        </passengers>
                        <passengersAsString>
                            <![CDATA[2 (ad) ]]>
                        </passengersAsString>
                        <equipment>
                            <equipmentCategory>
                                <equipmentCategoryId>1</equipmentCategoryId>
                                <equipmentCategoryName>Adult Bikes</equipmentCategoryName>
                                <bookedEquipment>
                                    <equipmentItem>
                                        <equipmentId>580</equipmentId>
                                        <equipmentName>Adult Bikes 1</equipmentName>
                                    </equipmentItem>
                                    <equipmentItem>
                                        <equipmentId>581</equipmentId>
                                        <equipmentName>Adult Bikes 2</equipmentName>
                                    </equipmentItem>
                                </bookedEquipment>
                            </equipmentCategory>
                        </equipment>
                        <totalCost>$100.00</totalCost>
                        <pricingOptions/>
                        <checkedInStatus>Not Checked In</checkedInStatus>
                        <onStandby>false</onStandby>
                        <onWaitList>false</onWaitList>
                        <waitListId>0</waitListId>
                        <Airlines/>
                        <guides/>
                    </activity>
                </activities>
                <products/>
                <transactions>
                    <transaction>
                        <transactionId>99780</transactionId>
                        <transactionName>
                            <![CDATA[Override - Pay Later]]>
                        </transactionName>
                        <transactionMethod>2003</transactionMethod>
                        <transactionAmount>$105.00</transactionAmount>
                        <userId>5</userId>
                        <firstName>
                            <![CDATA[Zaui]]>
                        </firstName>
                        <lastName>
                            <![CDATA[Support]]>
                        </lastName>
                        <formattedAmount>$105.00</formattedAmount>
                        <transactionDate>2021-11-23 13:35:33</transactionDate>
                        <transactionStatus>1</transactionStatus>
                    </transaction>
                    <transaction>
                        <transactionId>99781</transactionId>
                        <transactionName>
                            <![CDATA[Override - Pay Later]]>
                        </transactionName>
                        <transactionMethod>2003</transactionMethod>
                        <transactionAmount>$105.00</transactionAmount>
                        <userId>5</userId>
                        <firstName>
                            <![CDATA[Zaui]]>
                        </firstName>
                        <lastName>
                            <![CDATA[Support]]>
                        </lastName>
                        <formattedAmount>$105.00</formattedAmount>
                        <transactionDate>2021-11-23 13:39:17</transactionDate>
                        <transactionStatus>1</transactionStatus>
                    </transaction>
                </transactions>
            </booking>
            <booking>
                <bookingNumber>40211</bookingNumber>
                <bookingReference>F8BQKN</bookingReference>
                <guestID>1228</guestID>
                <guestHashKey>2d890f955af601d2ebb9c2f1776f34d9e8fa6ee9</guestHashKey>
                <lastName>
                    <![CDATA[Bravo]]>
                </lastName>
                <firstName>
                    <![CDATA[Johnny]]>
                </firstName>
                <email>
                    <![CDATA[johnny.bravo@warnerbros.com]]>
                </email>
                <mobilePrefix>
                    <![CDATA[]]>
                </mobilePrefix>
                <mobilePhone>
                    <![CDATA[15239871458]]>
                </mobilePhone>
                <isCancelled>0</isCancelled>
                <outstandingBalance>$0.00</outstandingBalance>
                <bookingBalance>
                    <hasOutstandingBalance>false</hasOutstandingBalance>
                    <balance>0</balance>
                    <balanceFormated>$0.00</balanceFormated>
                </bookingBalance>
                <subTotal>$0.00</subTotal>
                <tax>$0.00</tax>
                <activitySurplusFees>$0.00</activitySurplusFees>
                <total>$0.00</total>
                <reservationist>
                    <![CDATA[ ]]>
                </reservationist>
                <activities>
                    <activity>
                        <attributeId>71695</attributeId>
                        <activityName>
                            <![CDATA[City Sightseeing Tour (May 2022)]]>
                        </activityName>
                        <activityId>124</activityId>
                        <activityType>500</activityType>
                        <packageId>0</packageId>
                        <packageName/>
                        <activityDate>2021-10-30</activityDate>
                        <activityTime>00:00:00</activityTime>
                        <supplierConfirmation/>
                        <activityDateTime>Sat, Oct 30 2021</activityDateTime>
                        <pickupLocationId>0</pickupLocationId>
                        <pickupTime>
                            <![CDATA[]]>
                        </pickupTime>
                        <pickupName>
                            <![CDATA[]]>
                        </pickupName>
                        <pickupLocationAddress>
                            <![CDATA[]]>
                        </pickupLocationAddress>
                        <pickupLocationTimeString>
                            <![CDATA[ ]]>
                        </pickupLocationTimeString>
                        <dropOffLocationId>0</dropOffLocationId>
                        <dropoffTime>
                            <![CDATA[]]>
                        </dropoffTime>
                        <dropoffName>
                            <![CDATA[]]>
                        </dropoffName>
                        <dropOffLocationAddress>
                            <![CDATA[]]>
                        </dropOffLocationAddress>
                        <dropOffLocationTimeString>
                            <![CDATA[ ]]>
                        </dropOffLocationTimeString>
                        <commissionAgentId>0</commissionAgentId>
                        <commissionAgentName>
                            <![CDATA[ ]]>
                        </commissionAgentName>
                        <commissionAgentCompany>
                            <![CDATA[]]>
                        </commissionAgentCompany>
                        <notes>
                            <![CDATA[Expedia Legacy Itinerary: 
]]>
                        </notes>
                        <passengers>
                            <seniors>0</seniors>
                            <adults>1</adults>
                            <students>0</students>
                            <children>0</children>
                            <infants>0</infants>
                            <passengersAsString>
                                <![CDATA[1 (ad)]]>
                            </passengersAsString>
                        </passengers>
                        <passengersAsString>
                            <![CDATA[1 (ad) ]]>
                        </passengersAsString>
                        <totalCost>$0.00</totalCost>
                        <pricingOptions/>
                        <checkedInStatus>Not Checked In</checkedInStatus>
                        <onStandby>false</onStandby>
                        <onWaitList>false</onWaitList>
                        <waitListId>0</waitListId>
                        <Airlines/>
                        <guides/>
                    </activity>
                </activities>
                <products/>
                <transactions>
                    <transaction>
                        <transactionId>99747</transactionId>
                        <transactionName>
                            <![CDATA[Voucher]]>
                        </transactionName>
                        <wholesaleCompanyId>394</wholesaleCompanyId>
                        <wholesaleCompanyName>
                            <![CDATA[Expedia - testing acount]]>
                        </wholesaleCompanyName>
                        <wholesaleCompanyGroup>
                            <![CDATA[]]>
                        </wholesaleCompanyGroup>
                        <wholesalePrimaryAddr>
                            <primAddr>
                                <![CDATA[]]>
                            </primAddr>
                            <primCity>
                                <![CDATA[]]>
                            </primCity>
                            <primProvince>
                                <![CDATA[]]>
                            </primProvince>
                            <primPostalCode>
                                <![CDATA[]]>
                            </primPostalCode>
                            <primCountry>
                                <![CDATA[]]>
                            </primCountry>
                        </wholesalePrimaryAddr>
                        <wholesaleSecondaryAddr>
                            <secAddr>
                                <![CDATA[]]>
                            </secAddr>
                            <secCity>
                                <![CDATA[]]>
                            </secCity>
                            <secProvince>
                                <![CDATA[]]>
                            </secProvince>
                            <secPostalCode>
                                <![CDATA[]]>
                            </secPostalCode>
                            <secCountry>
                                <![CDATA[]]>
                            </secCountry>
                        </wholesaleSecondaryAddr>
                        <wholesaleCertNumber>
                            <![CDATA[Adult]]>
                        </wholesaleCertNumber>
                        <wholesaleCompanyUserId>0</wholesaleCompanyUserId>
                        <wholesaleCompanyUserName>
                            <![CDATA[]]>
                        </wholesaleCompanyUserName>
                        <wholesaleCommissionName>
                            <![CDATA[]]>
                        </wholesaleCommissionName>
                        <wholesaleCommissionRate>0.000000</wholesaleCommissionRate>
                        <wholesaleCommissionAmount>0.000000</wholesaleCommissionAmount>
                        <invoiceTourId>124</invoiceTourId>
                        <taxesOnNet>0.00</taxesOnNet>
                        <netRevenue>0.00</netRevenue>
                        <transactionMethod>2004</transactionMethod>
                        <transactionAmount>$0.00</transactionAmount>
                        <userId>0</userId>
                        <firstName>
                            <![CDATA[]]>
                        </firstName>
                        <lastName>
                            <![CDATA[]]>
                        </lastName>
                        <formattedAmount>$0.00</formattedAmount>
                        <transactionDate>2021-10-08 09:34:42</transactionDate>
                        <transactionStatus>1</transactionStatus>
                    </transaction>
                </transactions>
            </booking>
        </allBookings>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiSearchBookingsByLastname</methodName>
		<lastName></lastName>
	</zapiMethod>
</request>

Last updated