Bookings

public final class Bookings extends Resource<Booking>

Nylas Bookings API

The Nylas Bookings API allows you to create new bookings or manage existing ones, as well as getting bookings details for a user.

Constructors

Link copied to clipboard
public Bookings Bookings(NylasClient client)

Functions

Link copied to clipboard
public final Response<Booking> confirm(String bookingId, ConfirmBookingRequest requestBody)
public final Response<Booking> confirm(String bookingId, ConfirmBookingRequest requestBody, ConfirmBookingQueryParams queryParams)
public final Response<Booking> confirm(String bookingId, ConfirmBookingRequest requestBody, ConfirmBookingQueryParams queryParams, RequestOverrides overrides)

Confirm a booking

Link copied to clipboard
public final Response<Booking> create(CreateBookingRequest requestBody, CreateBookingQueryParams queryParams, RequestOverrides overrides)

Create a booking

Link copied to clipboard
public final DeleteResponse destroy(String bookingId, DestroyBookingQueryParams queryParams, RequestOverrides overrides)

Destroy a booking

Link copied to clipboard
public final Response<Booking> find(String bookingId)
public final Response<Booking> find(String bookingId, FindBookingQueryParams queryParams)
public final Response<Booking> find(String bookingId, FindBookingQueryParams queryParams, RequestOverrides overrides)

Find a booking

Link copied to clipboard
public final Response<Booking> reschedule(String bookingId, RescheduleBookingRequest requestBody)
public final Response<Booking> reschedule(String bookingId, RescheduleBookingRequest requestBody, RescheduleBookingQueryParams queryParams, RequestOverrides overrides)

Reschedule a booking