Package Pricing Details

Get pricing for either a standard or multi-day package.

zapiPackage_RetrievePricingDetails

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.

packageId*

integer

ID of the package.

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>zapiPackage_RetrievePricingDetails</methodName>
        <packageId>4</packageId>
        <packageName>The Best of London</packageName>
        <standardItineraries>
            <standardItinerary>
                <startDate>2021-09-23</startDate>
                <endDate>2022-09-23</endDate>
                <priceCodeId>448</priceCodeId>
                <days>
                    <day>
                        <activities>
                            <activity>
                                <categoryName>
                                    <![CDATA[Canyon Walks]]>
                                </categoryName>
                                <categoryId>8</categoryId>
                                <activityName>
                                    <![CDATA[Canyon Icewalk ]]>
                                </activityName>
                                <activityId>80</activityId>
                                <activityDate>2021-11-25</activityDate>
                                <activityTypeId>500</activityTypeId>
                                <activityTypeAsString>Regular</activityTypeAsString>
                                <activityTypeSubType>FIXEDTIME</activityTypeSubType>
                                <activityIsMultiday>false</activityIsMultiday>
                                <activityMultiDayStart/>
                                <activityMultiDayDuration>0</activityMultiDayDuration>
                                <activityTimeDuration>0</activityTimeDuration>
                                <activityTimeDurationUnits>minutes</activityTimeDurationUnits>
                                <isFreeSell>false</isFreeSell>
                                <supplierConfirmationNumberSystemManaged>false</supplierConfirmationNumberSystemManaged>
                                <supplierConfirmationNumberDisplayed>false</supplierConfirmationNumberDisplayed>
                                <operatedByCompanyId>1</operatedByCompanyId>
                                <operatedByCompanyName>
                                    <![CDATA[Supplier Test System]]>
                                </operatedByCompanyName>
                                <ticketExpiry/>
                                <ticketPrinterText>
                                    <![CDATA[Please keep this ticket for your records.]]>
                                </ticketPrinterText>
                                <description>
                                    <![CDATA[]]>
                                </description>
                                <shortDescription>
                                    <![CDATA[]]>
                                </shortDescription>
                                <imageUrl>
                                    <![CDATA[]]>
                                </imageUrl>
                                <activityTimes>
                                    <activityTime>
                                        <activityTimeStart>13:00:00</activityTimeStart>
                                        <activityTimeCancelled>false</activityTimeCancelled>
                                        <activityTimeAvailable>true</activityTimeAvailable>
                                        <activityTimeCancelledOnlineOnly>false</activityTimeCancelledOnlineOnly>
                                        <activityTimeAvailableMessage/>
                                        <inventoryCheckCode>0</inventoryCheckCode>
                                        <inventoryCheckMessage>OK</inventoryCheckMessage>
                                        <activityTimeSpotsRemaining>50</activityTimeSpotsRemaining>
                                        <numberOnStandby>0</numberOnStandby>
                                        <isStandbyAvailable>false</isStandbyAvailable>
                                        <status>AVAILABLE</status>
                                        <fixedDepartureOptions/>
                                    </activityTime>
                                </activityTimes>
                                <daysOfWeekAvailable>
                                    <dateRange>
                                        <startDate>2019-12-02</startDate>
                                        <daysOfWeek>
                                            <sunday>true</sunday>
                                            <monday>true</monday>
                                            <tuesday>true</tuesday>
                                            <wednesday>true</wednesday>
                                            <thursday>true</thursday>
                                            <friday>true</friday>
                                            <saturday>true</saturday>
                                        </daysOfWeek>
                                        <endDate>2023-12-31</endDate>
                                    </dateRange>
                                </daysOfWeekAvailable>
                                <pickupLocations>
                                    <pickupLocation>
                                        <locationName>
                                            <![CDATA[Eastbound W Broadway @ Maple St]]>
                                        </locationName>
                                        <locationTime>
                                            <![CDATA[Eastbound W Broadway @ Maple St 1:15 PM ]]>
                                        </locationTime>
                                        <locationId>74</locationId>
                                    </pickupLocation>
                                    <pickupLocation>
                                        <locationName>
                                            <![CDATA[Fairmont Hotel Vancouver]]>
                                        </locationName>
                                        <locationTime>
                                            <![CDATA[Fairmont Hotel Vancouver 1:15 PM ]]>
                                        </locationTime>
                                        <locationId>65</locationId>
                                    </pickupLocation>
                                    <pickupLocation>
                                        <locationName>
                                            <![CDATA[Sutton Place Hotel]]>
                                        </locationName>
                                        <locationTime>
                                            <![CDATA[Sutton Place Hotel 1:15 PM ]]>
                                        </locationTime>
                                        <locationId>79</locationId>
                                    </pickupLocation>
                                    <pickupLocation>
                                        <locationName>
                                            <![CDATA[Waterfront Station]]>
                                        </locationName>
                                        <locationTime>
                                            <![CDATA[Waterfront Station 1:15 PM ]]>
                                        </locationTime>
                                        <locationId>66</locationId>
                                    </pickupLocation>
                                    <pickupLocation>
                                        <locationName>
                                            <![CDATA[Westbound W Cordova St @ Granville S]]>
                                        </locationName>
                                        <locationTime>
                                            <![CDATA[Westbound W Cordova St @ Granville S 1:15 PM ]]>
                                        </locationTime>
                                        <locationId>76</locationId>
                                    </pickupLocation>
                                </pickupLocations>
                                <dropOffLocations/>
                                <pricingOptions/>
                                <priceCodeId>400</priceCodeId>
                                <allowedPassengers>
                                    <passengerType>
                                        <systemTypeId>10</systemTypeId>
                                        <systemTypeName>seniors</systemTypeName>
                                        <name>
                                            <![CDATA[Seniors]]>
                                        </name>
                                        <defaultValue>0</defaultValue>
                                        <basePrice>$50.00</basePrice>
                                    </passengerType>
                                    <passengerType>
                                        <systemTypeId>11</systemTypeId>
                                        <systemTypeName>adults</systemTypeName>
                                        <name>
                                            <![CDATA[Adults]]>
                                        </name>
                                        <defaultValue>2</defaultValue>
                                        <basePrice>$50.00</basePrice>
                                    </passengerType>
                                    <passengerType>
                                        <systemTypeId>12</systemTypeId>
                                        <systemTypeName>students</systemTypeName>
                                        <name>
                                            <![CDATA[Students]]>
                                        </name>
                                        <defaultValue>0</defaultValue>
                                        <basePrice>$50.00</basePrice>
                                    </passengerType>
                                    <passengerType>
                                        <systemTypeId>13</systemTypeId>
                                        <systemTypeName>children</systemTypeName>
                                        <name>
                                            <![CDATA[Children]]>
                                        </name>
                                        <defaultValue>0</defaultValue>
                                        <basePrice>$50.00</basePrice>
                                    </passengerType>
                                    <passengerType>
                                        <systemTypeId>14</systemTypeId>
                                        <systemTypeName>infants</systemTypeName>
                                        <name>
                                            <![CDATA[Infants]]>
                                        </name>
                                        <defaultValue>0</defaultValue>
                                        <basePrice>$50.00</basePrice>
                                    </passengerType>
                                </allowedPassengers>
                                <sharedInventoryDetails>
                                    <isParent>true</isParent>
                                </sharedInventoryDetails>
                            </activity>
                            <businessHours>
                                <hours>
                                    <startDate>2010-01-01</startDate>
                                    <openingTime>06:00:00</openingTime>
                                    <closingTime>20:00:00</closingTime>
                                    <endDate>2030-12-31</endDate>
                                </hours>
                            </businessHours>
                            <activity>
                                <categoryName>
                                    <![CDATA[Walking Tours]]>
                                </categoryName>
                                <categoryId>33</categoryId>
                                <activityName>
                                    <![CDATA[Harry Potter Magical Walking Tour]]>
                                </activityName>
                                <activityId>123</activityId>
                                <activityDate>2021-11-25</activityDate>
                                <activityTypeId>500</activityTypeId>
                                <activityTypeAsString>Regular</activityTypeAsString>
                                <activityTypeSubType>FIXEDTIME</activityTypeSubType>
                                <activityIsMultiday>false</activityIsMultiday>
                                <activityMultiDayStart/>
                                <activityMultiDayDuration>0</activityMultiDayDuration>
                                <activityTimeDuration>0</activityTimeDuration>
                                <activityTimeDurationUnits>minutes</activityTimeDurationUnits>
                                <isFreeSell>false</isFreeSell>
                                <supplierConfirmationNumberSystemManaged>false</supplierConfirmationNumberSystemManaged>
                                <supplierConfirmationNumberDisplayed>false</supplierConfirmationNumberDisplayed>
                                <operatedByCompanyId>1</operatedByCompanyId>
                                <operatedByCompanyName>
                                    <![CDATA[Supplier Test System]]>
                                </operatedByCompanyName>
                                <ticketExpiry/>
                                <ticketPrinterText>
                                    <![CDATA[Please keep this ticket for your records.]]>
                                </ticketPrinterText>
                                <description>
                                    <![CDATA[Enjoy special combination of two of ours unforgettable tours - Harry Potter Magical Guided Walking Tour &amp; Darkside Walking Tour: Mysteries, Murder and Legends for a disscounted price!

Take a magical 2-hour walking tour of Edinburgh and discover the city where the world of Harry Potter was conceived. Test your knowledge with an audio-visual quiz, find out your Hogwarts House, and visit Tom Riddle&rsquo;s grave.
]]>
                                </description>
                                <shortDescription>
                                    <![CDATA[Tour Description]]>
                                </shortDescription>
                                <imageUrl>
                                    <![CDATA[https://zaui.azureedge.net/application/suppliertestsystem/data/tourImagesVideo/123_27_tourImage.jpg?v=1616795804]]>
                                </imageUrl>
                                <activityTimes>
                                    <activityTime>
                                        <activityTimeStart>18:00:00</activityTimeStart>
                                        <activityTimeCancelled>false</activityTimeCancelled>
                                        <activityTimeAvailable>true</activityTimeAvailable>
                                        <activityTimeCancelledOnlineOnly>false</activityTimeCancelledOnlineOnly>
                                        <activityTimeAvailableMessage/>
                                        <inventoryCheckCode>0</inventoryCheckCode>
                                        <inventoryCheckMessage>OK</inventoryCheckMessage>
                                        <activityTimeSpotsRemaining>50</activityTimeSpotsRemaining>
                                        <numberOnStandby>0</numberOnStandby>
                                        <isStandbyAvailable>false</isStandbyAvailable>
                                        <status>AVAILABLE</status>
                                        <fixedDepartureOptions/>
                                    </activityTime>
                                </activityTimes>
                                <daysOfWeekAvailable>
                                    <dateRange>
                                        <startDate>2021-03-26</startDate>
                                        <daysOfWeek>
                                            <sunday>true</sunday>
                                            <monday>true</monday>
                                            <tuesday>true</tuesday>
                                            <wednesday>true</wednesday>
                                            <thursday>true</thursday>
                                            <friday>true</friday>
                                            <saturday>true</saturday>
                                        </daysOfWeek>
                                        <endDate>2030-03-01</endDate>
                                    </dateRange>
                                </daysOfWeekAvailable>
                                <pickupLocations/>
                                <dropOffLocations/>
                                <pricingOptions/>
                                <priceCodeId>421</priceCodeId>
                                <allowedPassengers>
                                    <passengerType>
                                        <systemTypeId>10</systemTypeId>
                                        <systemTypeName>seniors</systemTypeName>
                                        <name>
                                            <![CDATA[Seniors]]>
                                        </name>
                                        <defaultValue>0</defaultValue>
                                        <basePrice>$0.00</basePrice>
                                    </passengerType>
                                    <passengerType>
                                        <systemTypeId>11</systemTypeId>
                                        <systemTypeName>adults</systemTypeName>
                                        <name>
                                            <![CDATA[Adults]]>
                                        </name>
                                        <defaultValue>2</defaultValue>
                                        <basePrice>$125.00</basePrice>
                                    </passengerType>
                                    <passengerType>
                                        <systemTypeId>12</systemTypeId>
                                        <systemTypeName>students</systemTypeName>
                                        <name>
                                            <![CDATA[Students]]>
                                        </name>
                                        <defaultValue>0</defaultValue>
                                        <basePrice>$100.00</basePrice>
                                    </passengerType>
                                    <passengerType>
                                        <systemTypeId>13</systemTypeId>
                                        <systemTypeName>children</systemTypeName>
                                        <name>
                                            <![CDATA[Children]]>
                                        </name>
                                        <defaultValue>0</defaultValue>
                                        <basePrice>$75.00</basePrice>
                                    </passengerType>
                                    <passengerType>
                                        <systemTypeId>14</systemTypeId>
                                        <systemTypeName>infants</systemTypeName>
                                        <name>
                                            <![CDATA[Infants]]>
                                        </name>
                                        <defaultValue>0</defaultValue>
                                        <basePrice>$0.00</basePrice>
                                    </passengerType>
                                </allowedPassengers>
                                <sharedInventoryDetails>
                                    <isParent>true</isParent>
                                </sharedInventoryDetails>
                            </activity>
                            <businessHours>
                                <hours>
                                    <startDate>2010-01-01</startDate>
                                    <openingTime>06:00:00</openingTime>
                                    <closingTime>20:00:00</closingTime>
                                    <endDate>2030-12-31</endDate>
                                </hours>
                            </businessHours>
                        </activities>
                    </day>
                </days>
                <products/>
            </standardItinerary>
        </standardItineraries>
    </methodResponse>
</response>

For some packages, namely, where the packageType field is indicating that the requested package is a multi-day itinerary package, Zaui will send back to you the following structure which describes the configuration for each day.

This node will generally be present where the packageType field is available and is set to indicate a multi-day itinerary.

<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiPackage_RetrievePricingDetails</methodName>
		<packageId></packageId>
	</zapiMethod>
</request>

Last updated