Return a Booking
GET/api/v1/bookings/:id
Return a Booking
Request
Path Parameters
id int32required
Query Parameters
include string
Include associations (delimited with comma). Available associations: reservation, table
Responses
- 200
Return a Booking
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
data
object
id stringrequired
type stringrequired
Possible values: [bookings
]
links
object
required
self stringrequired
attributes
object
required
status stringrequired
Possible values: [booked
, seated
, appetizer
, main_course
, dessert
, bill
, no_show
]
{
"data": {
"id": "string",
"type": "bookings",
"links": {
"self": "string"
},
"attributes": {
"status": "booked"
}
}
}
Loading...