Get Package Categories
Search for all available package categories.
zapiGetPackageCategories
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 when a new contact is created.
Generated by the supplier system.
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.1</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiGetPackageCategories</methodName>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage/>
<categories>
<category>
<categoryName>
<![CDATA[The Best of London]]>
</categoryName>
<categoryId>3</categoryId>
<numberOfPackages>2</numberOfPackages>
</category>
</categories>
</methodResponse>
</response>
<request>
<zapiToken></zapiToken>
<zapiAccountId></zapiAccountId>
<zapiUserId></zapiUserId>
<zapiMethod>
<methodName>zapiGetPackageCategories</methodName>
</zapiMethod>
</request>
<?xml version="1.0" encoding="utf-8"?>
<response>
<zapiVersion>2.1</zapiVersion>
<error>0</error>
<message>OK</message>
<methodResponse>
<methodName>zapiGetPackageCategories</methodName>
<methodErrorCode>0</methodErrorCode>
<methodErrorMessage/>
<categories>
<category>
<categoryName></categoryName>
<categoryId></categoryId>
<numberOfPackages></numberOfPackages>
</category>
</categories>
</methodResponse>
</response>