Get Multiple Users Ids

getMultipleUsersIds(p_companyID, p_wsAltUserId)


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


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

'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.


<soapenv:Envelope xmlns:xsi="" xmlns:xsd="" xmlns:soapenv="" xmlns:uen="uen:esws">
<uen:Esws.getMultipleUsersIds soapenv:encodingStyle="">
<p_companyID xsi:type="xsd:string">^4p;tU0Q+#dEIhTWkuj5FnLD^aKWqVu0</p_companyID>
<p_wsAltUserId xsi:type="xsd:string">123456789</p_companyID>


<SOAP-ENV:Envelope SOAP-ENV:encodingStyle="" xmlns:SOAP-ENV="" xmlns:xsd="" xmlns:xsi="" xmlns:SOAP-ENC="">
<ns1:Esws.getMultipleUsersIdsResponse xmlns:ns1="uen:esws">
<return xsi:type="xsd:string">2179</return>