You can use this endpoint to retrieve a list of users from our software.
|p_companyID||string||Yes||The security code you have been provided with, string (32)|
|p_Id||integer||Yes||The Id of the user from the EasySecure database|
|p_locationID||integer||No||Required only in case the company is Branch.|
NO_ID_RECEIVED - i case no p_ID is provided.
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
USER_WAS_NOT_FOUND - user was not found based on the p_Id provided.
Company is Branches but no location has been provided: The location id is required for branch Type companies to be sure we do not delete the user if he is linked to multiple locations.
User has been deleted: The user and his details have been removed from the database.
User does not exist in our db: User with provided id doesn't exist anymore in our database.
User is linked to multiple locations, we will remove the user from this location: User is linked to multiple locations in a Branch type company. We will remove the user only from that location and the groups associated with that location.