Return all tables for specific business
GET/api/v1/businesses/:id/tables
Return all tables for specific business
Request
Path Parameters
id int32required
Query Parameters
include string
Include associations (delimited with comma). Available associations: business, bookings
page int32
Default value: 1
Page offset to fetch.
per_page int32
Default value: 30
Number of results to return per page.
Responses
- 200
Return all tables for specific business
- application/vnd.api+json
- Schema
- Example (from schema)
Schema
Array [
]
data
object[]
id string
type string
attributes
object
number string
number-of-seats integer
shape string
rotation integer
position-x integer
position-y integer
meta
object
total-count numberrequired
total-pages numberrequired
{
"data": [
{
"id": "string",
"type": "string",
"attributes": {
"number": "string",
"number-of-seats": 0,
"shape": "string",
"rotation": 0,
"position-x": 0,
"position-y": 0
}
}
],
"meta": {
"total-count": 0,
"total-pages": 0
}
}
Loading...