Check Inventory

Performs a single inventory check by travel date.

zapiCheckActivityInventoryByDate

GET https://{yourdomain}.zaui.net/zapi/

Request Body

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiCheckActivityInventoryByDate</methodName>
        <activityId>80</activityId>
        <activityDate>2022-11-23</activityDate>
        <activityName>
            <![CDATA[Canyon Icewalk ]]>
        </activityName>
        <activityType>500</activityType>
        <totalRequestedPassengers>0</totalRequestedPassengers>
        <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>
        <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>
    </methodResponse>
</response>
<request>
   <zapiToken></zapiToken>
   <zapiAccountId></zapiAccountId>
   <zapiUserId></zapiUserId>
   <zapiMethod>
      <methodName>zapiCheckActivityInventoryByDate</methodName>
      <activityId></activityId>
      <activityDate></activityDate>
      <activityTime></activityTime>
      <requestedPassengers>
         <seniors></seniors>
         <adults></adults>
         <students></students>
         <children></children>
         <infants></infants>
      </requestedPassengers>
   </zapiMethod>
</request>

Last updated