getbooking method in bookinglayer