Get Package Details

Get details for a single package ID.

zapiGetPackageDetailsByPackageId

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.

packageDate

integer

Used to determine the pricing for the package. When provided, format: YYYY:MM:DD.

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiGetPackageDetailsByPackageId</methodName>
        <verboseMode>true</verboseMode>
        <package>
            <packageId>4</packageId>
            <imageUrl>
                <![CDATA[https://zaui.azureedge.net/application/suppliertestsystem/data/packageImages/4-10018.jpg?v=1632420621]]>
            </imageUrl>
            <packageType>0</packageType>
            <allowsOpenDatedActivities>0</allowsOpenDatedActivities>
            <enforceOpenDatesInSequencialOrder>0</enforceOpenDatesInSequencialOrder>
            <categoryId>3</categoryId>
            <packageName>
                <![CDATA[The Best of London]]>
            </packageName>
            <description>
                <![CDATA[]]>
            </description>
            <shortDescription>
                <![CDATA[]]>
            </shortDescription>
            <packageStartDate>2021-09-23</packageStartDate>
            <packageEndDate>2022-09-23</packageEndDate>
            <priceCodeId>448</priceCodeId>
            <allowedPassengers>
                <passengerType>
                    <systemTypeId>10</systemTypeId>
                    <systemTypeName>seniors</systemTypeName>
                    <name>
                        <![CDATA[Seniors]]>
                    </name>
                    <defaultValue>0</defaultValue>
                    <basePrice>$65.00</basePrice>
                </passengerType>
                <passengerType>
                    <systemTypeId>11</systemTypeId>
                    <systemTypeName>adults</systemTypeName>
                    <name>
                        <![CDATA[Adults]]>
                    </name>
                    <defaultValue>2</defaultValue>
                    <basePrice>$90.00</basePrice>
                </passengerType>
                <passengerType>
                    <systemTypeId>12</systemTypeId>
                    <systemTypeName>students</systemTypeName>
                    <name>
                        <![CDATA[Students]]>
                    </name>
                    <defaultValue>0</defaultValue>
                    <basePrice>$65.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>$0.00</basePrice>
                </passengerType>
            </allowedPassengers>
            <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>
                    <businessHours>
                        <hours>
                            <startDate>2010-01-01</startDate>
                            <openingTime>06:00:00</openingTime>
                            <closingTime>20:00:00</closingTime>
                            <endDate>2030-12-31</endDate>
                        </hours>
                    </businessHours>
                    <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>
                <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>
                    <businessHours>
                        <hours>
                            <startDate>2010-01-01</startDate>
                            <openingTime>06:00:00</openingTime>
                            <closingTime>20:00:00</closingTime>
                            <endDate>2030-12-31</endDate>
                        </hours>
                    </businessHours>
                    <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>
            </activities>
            <products/>
        </package>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>
            <![CDATA[]]>
        </methodErrorMessage>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiGetPackageDetailsByPackageId</methodName>
		<packageId></packageId>
		<packageDate>YYYY-MM- DD</packageDate> (Optional) 
	</zapiMethod>
</request> 

Last updated