retrieve data for service takes a single integer