Equipment Price Quote

Pricing per piece of equipment

zapiPriceQuote

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

This endpoint allows you to get pricing information for an activity that uses equipment pricing instead of occupant (PAX) pricing.

Request Body

Name
Type
Description

methodName*

string

The method being called.

activityId*

integer

ID of the activity.

activityDate*

integer

The start date of the rental activity. Format: YYYY:MM:DD.

activityEndDate*

integer

The end date of the rental activity. Format: YYYY:MM:DD.

rentalStartTime*

integer

The start time of the rental activity. Format: HH:MM:SS.

rentalEndTime*

integer

The end time of the rental activity. Format: HH:MM:SS.

zapiUserId*

integer

Generated by the supplier system when a new contact is created.

zapiAccountId*

integer

Generated by the supplier system.

zapiToken*

integer

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

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiPriceQuote</methodName>
        <activityId>128</activityId>
        <activityType>505</activityType>
        <activityName>
            <![CDATA[Electric Bike Rentals]]>
        </activityName>
        <activityDate>2021-11-21</activityDate>
        <equipmentAvailable>
            <equipmentCategories>
                <equipmentCategory>
                    <equipmentCategoryId>1</equipmentCategoryId>
                    <equipmentCategoryName>Adult Bikes</equipmentCategoryName>
                    <timeOptions>
                        <timeOption>
                            <timeOptionId>1</timeOptionId>
                            <timeOptionName>Half Day Rental</timeOptionName>
                            <timeOptionPrice>50.000000</timeOptionPrice>
                            <timeOptionDuration>240</timeOptionDuration>
                            <startTimes>
                                <startTime>09:00:00</startTime>
                                <startTime>13:00:00</startTime>
                            </startTimes>
                        </timeOption>
                        <timeOption>
                            <timeOptionId>2</timeOptionId>
                            <timeOptionName>Full Day Rental</timeOptionName>
                            <timeOptionPrice>100.000000</timeOptionPrice>
                            <timeOptionDuration>480</timeOptionDuration>
                            <startTimes>
                                <startTime>09:00:00</startTime>
                            </startTimes>
                        </timeOption>
                    </timeOptions>
                </equipmentCategory>
                <equipmentCategory>
                    <equipmentCategoryId>2</equipmentCategoryId>
                    <equipmentCategoryName>Youth Bikes</equipmentCategoryName>
                    <timeOptions>
                        <timeOption>
                            <timeOptionId>3</timeOptionId>
                            <timeOptionName>Half Day Rental</timeOptionName>
                            <timeOptionPrice>40.000000</timeOptionPrice>
                            <timeOptionDuration>240</timeOptionDuration>
                            <startTimes>
                                <startTime>09:00:00</startTime>
                                <startTime>13:00:00</startTime>
                            </startTimes>
                        </timeOption>
                        <timeOption>
                            <timeOptionId>4</timeOptionId>
                            <timeOptionName>Full Day Rental</timeOptionName>
                            <timeOptionPrice>80.000000</timeOptionPrice>
                            <timeOptionDuration>480</timeOptionDuration>
                            <startTimes>
                                <startTime>09:00:00</startTime>
                            </startTimes>
                        </timeOption>
                    </timeOptions>
                </equipmentCategory>
                <equipmentCategory>
                    <equipmentCategoryId>3</equipmentCategoryId>
                    <equipmentCategoryName>Child Bikes</equipmentCategoryName>
                    <timeOptions>
                        <timeOption>
                            <timeOptionId>5</timeOptionId>
                            <timeOptionName>Half Day Rental</timeOptionName>
                            <timeOptionPrice>30.000000</timeOptionPrice>
                            <timeOptionDuration>240</timeOptionDuration>
                            <startTimes>
                                <startTime>09:00:00</startTime>
                                <startTime>13:00:00</startTime>
                            </startTimes>
                        </timeOption>
                        <timeOption>
                            <timeOptionId>6</timeOptionId>
                            <timeOptionName>Full Day Rental</timeOptionName>
                            <timeOptionPrice>60.000000</timeOptionPrice>
                            <timeOptionDuration>480</timeOptionDuration>
                            <startTimes>
                                <startTime>09:00:00</startTime>
                            </startTimes>
                        </timeOption>
                    </timeOptions>
                </equipmentCategory>
            </equipmentCategories>
        </equipmentAvailable>
        <passengers>
            <seniors>0</seniors>
            <adults>0</adults>
            <students>0</students>
            <children>0</children>
            <infants>0</infants>
        </passengers>
        <pricing>
            <seniors>$0.00</seniors>
            <adults>$0.00</adults>
            <students>$0.00</students>
            <children>$0.00</children>
            <infants>$0.00</infants>
            <subTotal>$0.00</subTotal>
            <surplusFees>$0.00</surplusFees>
            <tax>$0.00</tax>
            <total>$0.00</total>
        </pricing>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>
            <![CDATA[OK]]>
        </methodErrorMessage>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiPriceQuote</methodName>
		<activityId></activityId>
		<activityDate></activityDate>
		<activityEndDate></activityEndDate>
		<rentalStartTime></rentalStartTime>
		<rentalEndTime></rentalEndTime>
	</zapiMethod>
</request>

Last updated