Get Multiple Users Ids 2

getMultipleUsersIds2(p_companyID, p_wsAltUserId)

 

You can use this endpoint to retrieve the user ids from our software based on the wsAltUserId value.

Parameters

Name Type Required Description
p_companyID string Yes The security code you have been provided with, string (32)
p_wsAltUserId string Yes The wsAltUserId code for which we need to search and retrieve the user id from our database

Return values

getMultipleUsersIdsObjectArray (array), containing structs (arrays) of getMultipleUsersIdsObject with the following keys:

UserId – the Id of the user, string - this field is also used to return possible error message when the case

Achternaam- lastname, string

Voornaam – firstname, string

FaceTemplates – number of face templates, string

'NO_WS_ALT_USER_ID_INFOFIELD' - the company does not have an infofield set as wsAltUserId.

'NO_USER_ID_FOUND' - No user id found based on the wsAltUserId provided.

Sample

<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:uen="uen:esws">
<soapenv:Header/>
<soapenv:Body>
<uen:Esws.getMultipleUsersIds2 soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<p_companyID xsi:type="xsd:string">^4p;tU0Q+#dEIhTWkuj5FnLD^aKWqVu0</p_companyID>
<p_wsAltUserId xsi:type="xsd:string">123456789</p_companyID>
</uen:Esws.getMultipleUsersIds2>
</soapenv:Body>
</soapenv:Envelope>

Response

<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<return xsi:type="SOAP-ENC:Array" SOAP-ENC:arrayType="tns:getMultipleUsersIds2Object[]">
<item xsi:type="tns:getMultipleUsersIds2Object">
<UserId xsi:type="xsd:string">7</UserId>
<Achternaam xsi:type="xsd:string">Geluk</Achternaam>
<Voornaam xsi:type="xsd:string">Piet</Voornaam>
<FaceTemplates xsi:type="xsd:string">1</FaceTemplates>
</item>
</return>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>