Add to Cart

Please Note: Response not currently available

zapiAddActivityToCart

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

Request Body

NameTypeDescription

zapiToken*

integer

Token that must be used for a reseller to communicate with the supplier system.

activityId*

integer

ID of the activity.

cartId*

integer

ID of the cart session to add the activity to.

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.

activityDate*

integer

The travel start date. Format: YYYY:MM:DD.

activityEndDate*

integer

The travel end date. Format: YYYY:MM:DD. Required for rental activities only.

activityTime*

integer

Required for non-rental activities only. Format: HH:MM:SS.

activityTimeOptionId*

integer

Required for rental activities only. Can be retrieved using the zapiGetActivityDetailsByActivityId

rentalStartTime*

integer

Required for rental activities only.

rentalEndTime*

integer

Required for rental activities only.

passengers*

integer

Required for non-equipment based rental activities only.

CategoryId*

integer

ID of the equipment category

equipmentCategoryName

string

Name of the equipment category

equipmentId

integer

ID of the specific piece of equipment to book

<<request>
   <zapiToken></zapiToken>
   <zapiAccountId></zapiAccountId>
   <zapiUserId></zapiUserId>
   <zapiMethod>
    <methodName>zapiAddActivityToCart</methodName>
    <cartId></cartId>
    <activityId></activityId>
    <activityDate></activityDate>
    <activityEndDate></activityEndDate>
    <activityTime></activityTime>
    <activityTimeOptionId></activityTimeOptionId>
    <rentalStartTime></rentalStartTime>
    <rentalEndTime></rentalEndTime>
    <passengers>
        <seniors>0</seniors>
        <adults>0</adults>
        <students>0</students>
        <children>0</children>
        <infants>0</infants>
    </passengers>
    <equipment>
      <equipmentCategory>
        <CategoryId></CategoryId>
        <equipmentCategoryName></equipmentCategoryName>
        <quantity></quantity>
      </equipmentCategory>
      <selectedEquipment>
        <equipmentId></equipmentId>
        <equipmentId></equipmentId>
      </selectedEquipment>
    </equipment>
  </zapiMethod>
</request>

Last updated