Activity Category by ID

Performs a fetch of all configured categories by ID.

zapiGetActivitiesByCategoryId

GET https://{yourdomainname}.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>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