You can use this endpoint to update (add/delete) card details of one User from our database.
Name | Type | Required | Description |
---|---|---|---|
p_companyID | string | Yes | The security code you have been provided with, string (32) |
p_userId | string | Yes | The Id of the User from the EasySecure database |
p_usbCardId | string | Yes | The decimal value as read by the USB card reader |
NOTE*:
To delete the card details from a User, the p_usbCardId must be sent as an empty string
'ERROR_NO_SECURITY_HASH' - p_companyID not provided
'ERROR_UNKNOWN_SECURITY_HASH' - p_companyID is incorrect, no Company can be identified
'NO_ID_RECEIVED' - p_userId not provided
'CAN_NOT_SAVE_USER' - can not save the User in our database
'CARD_NOT_SUPPORTED' - the card is not supported in EasySecure yet
'CARD_NOT_VALID' - there is a problem with the card, not supported in EasySecure yet
'CARD_EXISTS_FOR_AN_OTHER_USER' - the card is already linked to another User in EasySecure
'NO_USER_FOUND_WITH_WSALTUSERID' - we can not identify a User in EasyConnect with the given p_wsAltUserId
'NO_INFO_FOUND_WITH_WSALTUSERID' - we can not identify a User in EasyConnect with the given p_wsAltUserId
'OK' - the user details regarding his card have been updated.
Sample
Response