All Activities by Name
Get a list of all activities available by name.
zapiGetAllActivitiesByName
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.
Name of activity to search.
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.1</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiGetAllActivitiesByName</methodName>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage>Ok</methodErrorMessage>
<activities>
<activity>
<activityId>124</activityId>
<activityName>City Sightseeing Tour (May 2022)</activityName>
<activityTypeId>500</activityTypeId>
<image/>
<duration>05:00:00</duration>
<categoryId>1</categoryId>
<categoryName>City Sightseeing</categoryName>
<sharedInventoryDetails>
<isParent>true</isParent>
</sharedInventoryDetails>
</activity>
</activities>
</methodResponse>
</response>
<request>
<zapiToken></zapiToken>
<zapiAccountId></zapiAccountId>
<zapiUserId></zapiUserId>
<zapiMethod>
<methodName>zapiGetAllActivitiesByName</methodName>
<activityNameToSearch></activityNameToSearch>
</zapiMethod>
</request>
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.0</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiGetAllActivitiesByName</methodName>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage></methodErrorMessage>
<activities>
<activity>
<activityId></activityId>
<activityName></activityName>
<activityTypeId></activityTypeId>
<imageURL></imageURL>
<duration></duration>
<categoryId></categoryId>
<categoryName></categoryName>
</activity>
</activities>
</methodResponse>
</response>