Return a Booking
GEThttps://api.staging.powerapi.com/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
{
"data": {
"id": "string",
"type": "bookings",
"links": {
"self": "string"
},
"attributes": {
"status": "booked"
}
}
}
- curl
- python
- go
- nodejs
- ruby
- java
- powershell
- CURL
curl -L 'https://api.staging.powerapi.com/api/v1/bookings/:id' \
-H 'Accept: application/vnd.api+json' \
-H 'Authorization: Bearer <TOKEN>'
ResponseClear