Get a seating level by id
GET/seating/:id
Get a seating level by id
Request
Path Parameters
Header Parameters
OneBasket API Key
Responses
- 200
- 400
- 401
- 404
The request has succeeded.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The id for the seating level
The parent of the seating level
The name of the seating level
The tags of the seating level
If true the seating level is a root level with no parents
The Kiosks accessible from the seating level
parents object[]required
The parent levels of the seating level
The level of the parent between the child and root levels
The count of children this level has
The depth of the seating level in the hierarchy
If true the seating level has children
{
"parents": [
{
"parentLevel": 0,
"id": "string",
"parentId": "string",
"name": "string",
"tags": {},
"isRoot": true,
"kiosks": [
"string"
]
}
],
"childCount": 0,
"depth": 0,
"hasChildren": true,
"id": "string",
"parentId": "string",
"name": "string",
"tags": {},
"isRoot": true,
"kiosks": [
"string"
]
}
The server could not understand the request due to invalid syntax.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Bad request]
A short, human-readable summary of the problem type.
Possible values: [400]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
errors objectrequired
property name* object
{
"type": "string",
"title": "Bad request",
"status": 400,
"detail": "string",
"instance": "string",
"errors": {}
}
Access is unauthorized.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Unauthorized]
A short, human-readable summary of the problem type.
Possible values: [401]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
{
"type": "string",
"title": "Unauthorized",
"status": 401,
"detail": "string",
"instance": "string"
}
The server cannot find the requested resource.
- application/json
- Schema
- Example (from schema)
Schema
A URI reference [RFC3986] that identifies the problem type.
Possible values: [Not Found]
A short, human-readable summary of the problem type.
Possible values: [404]
The HTTP status code([RFC7231], Section 6) generated by the origin server for this occurrence of the problem.
A human-readable explanation specific to this occurrence of the problem.
A URI reference that identifies the specific occurrence of the problem.
{
"type": "string",
"title": "Not Found",
"status": 404,
"detail": "string",
"instance": "string"
}