All Equipment

Returns a list of all equipment for a system

zapiGetEquipment

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.

methodName*

string

The method being called.

zapiUserId*

integer

Generated by the supplier system when a new contact is created.

zapiAccountId*

integer

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>zapiGetEquipment</methodName>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage/>
        <allEquipment>
            <equipment>
                <equipmentId>31</equipmentId>
                <equipmentName>
                    <![CDATA[61]]>
                </equipmentName>
            </equipment>
            <equipment>
                <equipmentId>580</equipmentId>
                <equipmentName>
                    <![CDATA[Adult Bikes_1]]>
                </equipmentName>
            </equipment>
            <equipment>
                <equipmentId>589</equipmentId>
                <equipmentName>
                    <![CDATA[Adult Bikes_10]]>
                </equipmentName>
            </equipment>
        </allEquipment>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>
            <![CDATA[]]>
        </methodErrorMessage>
    </methodResponse>
</response>     
<request>
   <zapiToken></zapiToken>
   <zapiAccountId></zapiAccountId>
   <zapiUserId></zapiUserId>
   <zapiMethod>
      <methodName>zapiGetEquipment</methodName>
   </zapiMethod>
</request>

Last updated