Complete generic rest service.