mba-cli booking

3 commands

Read bookings (key-scoped)

Synopsis#

bash
mba-cli booking <command> [flags]

Available commands#

mba-cli booking getGet one booking by id
Retrieve a booking by id Returns the booking with the given `id` for the tenant identified by the API key, with its associated data. Related: `List bookings`. Get one booking by id
--idstringBooking record id
mba-cli booking lsList bookings
List bookings Returns the bookings for the tenant identified by the API key. Paginated: use `page`/`limit` or `paginate=false`; filter by customer, employee, state, date range, and team. To count without fetching rows, request `limit=1` and read `metadata.total`. Related: `Search bookings`, `Retrieve a booking by id`. List bookings
--allbool = falseReturn all rows (paginate=false)
--approvedboolQuery parameter approved (from the API spec)
--booking-statestringQuery parameter bookingState (from the API spec)
--customer-idstringQuery parameter customerId (from the API spec)
--employee-rolestringQuery parameter employeeRole (from the API spec)
--from-datestringQuery parameter fromDate (from the API spec)
--limitint = 20Query parameter limit (from the API spec)
--pageint = 1Query parameter page (from the API spec)
--paginatebool = trueQuery parameter paginate (from the API spec)
--paidboolQuery parameter paid (from the API spec)
--sort-keystringQuery parameter sortKey (from the API spec)
--sort-valuestringQuery parameter sortValue (from the API spec)
--team-idstringQuery parameter teamId (from the API spec)
--team-idsstringQuery parameter teamIds (from the API spec)
--to-datestringQuery parameter toDate (from the API spec)
--transport-modestringQuery parameter transportMode (from the API spec)
Was this page helpful?