Retrieve data from the backend by beacon ID