Activity Category by ID
Performs a fetch of all configured categories by ID.
zapiGetActivitiesByCategoryId
GET
https://{yourdomainname}.zaui.net/zapi/
Request Body
Token that must be used for a reseller to communicate with the supplier system.
Generated by the supplier system.
Generated by the supplier system when a new contact is created.
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>
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.0</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiGetActivitiesByCategoryId</methodName>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage></methodErrorMessage>
<verboseMode>true</verboseMode>
<categoryId></categoryId>
<categoryName></categoryName>
<imageUrl></imageUrl>
<description></description>
<activities>
<activity>
<activityId></activityId>
<activityName></activityName>
<hasBookings></hasBookings>
<childrenActivities></childrenActivities>
</activity>
</activities>
</methodResponse>
</response>