Activity Category by ID

Performs a fetch of all configured categories by ID.

zapiGetActivitiesByCategoryId

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.

zapiAccountId*

integer

Generated by the supplier system.

zapiUserId*

integer

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

methodName*

string

The method being called.

categoryId*

integer

ID of the category.

verboseMode

string

True or False - Using this flag will curtail the amount of detail provided in the response.

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiGetActivitiesByCategoryId</methodName>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage/>
        <categoryId>8</categoryId>
        <categoryName>
            <![CDATA[Canyon Walks]]>
        </categoryName>
        <imageUrl>
            <![CDATA[https://suppliertestsystem.zaui.net/themes/default/img/image_not_available.png]]>
        </imageUrl>
        <description>
            <![CDATA[Category place holder for all remotely mapped activities]]>
        </description>
        <activities>
            <activity>
                <activityId>80</activityId>
                <activityName>
                    <![CDATA[Canyon Icewalk ]]>
                </activityName>
                <hasBookings>false</hasBookings>
                <sharedInventoryDetails>
                    <isParent>true</isParent>
                </sharedInventoryDetails>
            </activity>
        </activities>
    </methodResponse>
</response>
<request>
	<zapiToken></zapiToken>
	<zapiAccountId></zapiAccountId>
	<zapiUserId></zapiUserId>
	<zapiMethod>
		<methodName>zapiGetActivitiesByCategoryId</methodName>
		<categoryId></categoryId>
		<verboseMode></verboseMode>
	</zapiMethod>
</request>

Last updated