Set a User's QR code

setQR(p_companyID, p_wsAltUserId)


You can use this endpoint to generate a new QR code for one user from our software. The QR code is always a 32 char lenght random string, consisting of the following characters: 0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ


Name Type Required Description
p_companyID string Yes The security code you have been provided with, string (32)
p_wsAltUserId string Yes The wsAltUserId of the user from the EasySecure database

Return values

ERROR_UNKNOWN_SECURITY_HASH – no company found based on the security hash used as parameter

ERROR_NO_SECURITY_HASH – no security hash has been provided when the call was made

NO_WS_ALT_USER_ID_INFOFIELD_SET - the company doens't have the wsAltUserId infofield set on which we can check if the user exists.

NO_ID_RECEIVED - in case no p_wsAltUserId is provided.

NO_INFO_FOUND_WITH_WSALTUSERID - there is no info data in EasySecure which correspondes to the p_wsAltUserId supplied

NO_USER_FOUND_WITH_WSALTUSERID - there is no User which identifies with the supplied p_wsAltUserId

In case of success, the newly generated QR code of the user is returned, as a string. This must be used to create the QR image.


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


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