Implementing checkin API