Latest User Id

latestUserId(p_companyID, p_Id, p_locationID)

 

You can use this endpoint to retrieve the last user id from our software.

Parameters

Name Type Required Description
p_companyID string Yes The security code you have been provided with, string (32)

Return values

An integer that can be anything between 1 - N, which represents the last user id which was added to the database.

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.latestUserId soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<p_companyID xsi:type="xsd:string">^4p;tU0Q+#dEIhTWkuj5FnLD^aKWqVu0</p_companyID>
</uen:Esws.latestUserId>
</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>
<ns1:Esws.latestUserIdResponse xmlns:ns1="uen:esws">
<return xsi:type="xsd:string">2179</return>
</ns1:Esws.latestUserIdResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>