Skip to navigation

List the times a booking can move to

The times the whole booking can move to, read live from Business Central (not the catalog schedule). A time is listed only when every part of the booking can go there. from defaults to today and to to a month after from; the window is at most 62 days, so page through months for a longer calendar. Times are local to the venue. Nothing is held: a listed time can be gone by the time it is chosen. Requires the account token.

Authentication

AuthorizationBearer

Account token, browser-safe. Obtain one from POST /api/account/session with the 6-digit code POST /api/account/login emailed to the shopper; valid 30 minutes, for one store and one proven email, and it reads only that account’s own data. Sent as Authorization: Bearer <token>. Not interchangeable with the BearerAuth client token in either direction.

Path parameters

reservationTokenstringRequired>=1 character

From GET /api/account/bookings.

Headers

x-entriastringRequired

Identifies which store this request is for. Required on every store-scoped route. It is not authentication and not a secret — it grants no privileges and is safe to send from a browser. You receive the value once your Entria backend has been created and configured. Missing header returns 400; an unknown store returns 404.

Query parameters

fromstringOptionalformat: "^\d{4}-\d{2}-\d{2}$"

First date, YYYY-MM-DD. Defaults to today.

tostringOptionalformat: "^\d{4}-\d{2}-\d{2}$"

Last date, YYYY-MM-DD, at most 62 days after from. Defaults to from plus one month.

Response

The booking’s current time and the times it can move to.

reservationTokenstring
currentobject or null
slotslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error
503
Service Unavailable Error