class IMSController {

    @RequestMapping(value = "/api/bookings/{bookingId}", method = RequestMethod.DELETE)
    @ResponseBody
    public ResponseEntity removeBooking(@PathVariable("bookingId") String bookingId)
    {
        try
        {
            bookingService.removeBooking(bookingId);
        }
        catch (Exception e)
        {
            LOGGER.error(e.getMessage());
            return ResponseBuilder.buildError(e);
        }
        return ResponseBuilder.build(null, HTTP_OK_CODE);
    }

}