Minimum Dates to Book
Determine when a package needs to be booked by.
zapiPackage_DetermineMinimumDatesToBook
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.
zapiAccountId*
integer
Generated by the supplier system.
zapiUserId*
integer
Generated by the supplier system when a new contact is created.
methodName*
string
The method being called.
packageId*
integer
ID of the package.
passengers
object
Object describing the type and number of passengers to add to the cart
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.1</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiPackage_DetermineMinimumDatesToBook</methodName>
<packageId>4</packageId>
<packageName>
<![CDATA[The Best of London]]>
</packageName>
<startDate>2021-11-25</startDate>
<passengers>
<seniors/>
<adults/>
<students/>
<children/>
<infants/>
</passengers>
<activityStartId>0</activityStartId>
<activityEndId>0</activityEndId>
<isPackageBookable>true</isPackageBookable>
<isBookableMinimumStartDate>2021-11-25</isBookableMinimumStartDate>
<activities>
<activity>
<activityName>Canyon Icewalk </activityName>
<activityId>80</activityId>
<activityType>500</activityType>
<activityTypeAsString>Regular</activityTypeAsString>
<isBookable>true</isBookable>
<isStandbyAvailable>false</isStandbyAvailable>
<activityDate>2021-11-25</activityDate>
<activityDateFormatted>Thursday, November 25 2021</activityDateFormatted>
<activityTimes>
<activityTime>
<activityTime>13:00:00</activityTime>
<isBookable>true</isBookable>
<isBookableMessage/>
<spotsRemaining>50</spotsRemaining>
<isStandbyAvailable>false</isStandbyAvailable>
<numberOnStandby>0</numberOnStandby>
</activityTime>
</activityTimes>
<isAvailable>true</isAvailable>
</activity>
<activity>
<activityName>Harry Potter Magical Walking Tour</activityName>
<activityId>123</activityId>
<activityType>500</activityType>
<activityTypeAsString>Regular</activityTypeAsString>
<isBookable>true</isBookable>
<isStandbyAvailable>false</isStandbyAvailable>
<activityDate>2021-11-25</activityDate>
<activityDateFormatted>Thursday, November 25 2021</activityDateFormatted>
<activityTimes>
<activityTime>
<activityTime>18:00:00</activityTime>
<isBookable>true</isBookable>
<isBookableMessage/>
<spotsRemaining>50</spotsRemaining>
<isStandbyAvailable>false</isStandbyAvailable>
<numberOnStandby>0</numberOnStandby>
</activityTime>
</activityTimes>
<isAvailable>true</isAvailable>
</activity>
</activities>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage>
<![CDATA[OK]]>
</methodErrorMessage>
</methodResponse>
</response>
<request>
<zapiToken></zapiToken>
<zapiAccountId></zapiAccountId>
<zapiUserId></zapiUserId>
<zapiMethod>
<methodName>zapiPackage_DetermineMinimumDatesToBook</methodName>
<packageId></packageId>
<startDate></startDate>
<passengers>
<seniors></seniors>
<adults></adults>
<students></students>
<children></children>
<infants></infants>
</passengers>
</zapiMethod>
</request>
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.1</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiPackage_DetermineMinimumDatesToBook</methodName>
<packageId></packageId>
<startDate></startDate>
<passengers>
<seniors></seniors>
<adults></adults>
<students></students>
<children></children>
<infants></infants>
</passengers>
<activityStartId></activityStartId>
<activityEndId></activityEndId>
<isPackageBookable></isPackageBookable>
<isBookableMinimumStartDate></isBookableMinimumStartDate>
<activities>
<activity>
<activityName></activityName>
<activityId></activityId>
<activityType></activityType>
<activityTypeAsString></activityTypeAsString>
<isBookable></isBookable>
<activityDate></activityDate>
<activityTimes>
<activityTime>
<activityTime></activityTime>
<isBookable></isBookable>
<isBookableMessage></isBookableMessage>
<spotsRemaining></spotsRemaining>
<numberOnStandby></numberOnStandby>
<isStandbyAvailable></isStandbyAvailable>
</activityTime>
</activityTimes>
<isAvailable></isAvailable>
<isBookableDate></isBookableDate>
</activity>
</activities>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage></methodErrorMessage>
</methodResponse>
</response>
Last updated