Delete a User's QR code

deleteQR(p_companyID, p_wsAltUserId)

 

You can use this endpoint to delete the QR code from one user from our software.

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 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, OK is returned

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.deleteQR 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">1</p_wsAltUserId>
</uen:Esws.deleteQR>
</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.deleteQRResponse xmlns:ns1="uen:esws">
<return xsi:type="xsd:string">OK</return>
</ns1:Esws.deleteQRResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>