AVAILABLE WITH BUSINESS SUBSCRIPTION

Method: FindExistingUsers

Permissions to Run the Request

Account Owner, Account Administrators, Department Administrators, or custom roles

Department Administrators and users with a custom role can get lists of the existing users belonging to the departments they manage and their sub-departments.

Parameters

ParameterTypeDescription
token  (обязательный)stringAccess token. You can obtain a token by making a request.
userIdsarrayThe IDs of users you want to find.

Return Value

After the request has been completed, the system returns an object with the following properties:

ParameterTypeDescription
userIdsarrayThe IDs of users you want to find.

Possible Errors

TypeDescription
Permission DeniedThe user doesn't have enough permissions to handle the request.

Sample Call

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://ispringlearn.com/go/services/api/soap">
   <soapenv:Header/>
   <soapenv:Body>
      <soap:FindExistingUsersRequest>
         <soap:credentials>
            <soap:token>p-1sJDjmULL5DdpXPJTcbm4jVIaWVHvNmrjAxATRbNE</soap:token>
         </soap:credentials>
         <soap:userIds>
            <!--Zero or more repetitions:-->
            <soap:id>f738730a-f39e-11eb-bf6e-0242ac130033</soap:id>
            <soap:id>d845fdf6-2827-11ec-9ed7-0242ac150038</soap:id>
         </soap:userIds>
      </soap:FindExistingUsersRequest>
   </soapenv:Body>
</soapenv:Envelope>
XML

Sample Response

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns1="http://ispringlearn.com/go/services/api/soap">
   <SOAP-ENV:Body>
      <ns1:FindExistingUsersResult>
         <ns1:userIds>
            <ns1:id>f738730a-f39e-11eb-bf6e-0242ac130033</ns1:id>
         </ns1:userIds>
      </ns1:FindExistingUsersResult>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>
XML