User List

Returns a list of all users for the system

zapiSystem_GetUserList

GET https://{yourdomainname}.zaui.net/zapi/

Request Body

<?xml version="1.0" encoding="utf-8"?>
<response>
    <zapiVersion>2.1</zapiVersion>
    <error>0</error>
    <message>OK</message>
    <methodResponse>
        <methodName>zapiSystem_GetUserList</methodName>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage/>
        <users>
            <user>
                <userId>775</userId>
                <userType>101</userType>
                <userTypeAsString>
                    <![CDATA[Non-Employee]]>
                </userTypeAsString>
                <userLoginType>8</userLoginType>
                <userLoginTypeAsString>
                    <![CDATA[Client]]>
                </userLoginTypeAsString>
                <firstName>
                    <![CDATA[Test]]>
                </firstName>
                <lastName>
                    <![CDATA[]]>
                </lastName>
            </user>
        </users>
        <methodErrorCode>0</methodErrorCode>
        <methodErrorMessage>
            <![CDATA[]]>
        </methodErrorMessage>
    </methodResponse>
</response>
<request>
   <zapiToken></zapiToken>
   <zapiAccountId></zapiAccountId>
   <zapiUserId></zapiUserId>
   <zapiMethod>
      <methodName>zapiSystem_GetUserList</methodName>
      <userType></userType>
   </zapiMethod>
</request>

Last updated