@Override
 @ApiMethod(name = "bookings.agent", path = "bookingsagent", httpMethod = "post")
 public List<BookingInfo> getBookingsForAgent(AgentInfo agentInfo)
     throws IllegalArgumentException {
   ObjectifyService.begin();
   return bookingServiceManager.getBookingsAsInfo(agentInfo.getId());
 }