All Activities by Name

Get a list of all activities available by name.

zapiGetAllActivitiesByName

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.

activityNameToSearch*

string

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> 

Last updated