Tableo Restaurant API

List Dining Areas with Tables

Retrieve all dining areas for the restaurant, each with their associated tables including cover limits.

GET
/api/restaurant/dining-areas-with-tables

Authorization

bearerAuth
AuthorizationBearer <token>

Supports two token types:

  1. Restaurant tokens — API tokens with restaurant-api ability, issued per restaurant.
  2. User tokens — Personal access tokens with mobile-access ability (e.g. for the mobile app). When managing multiple restaurants, include X-Restaurant-Id: <id> header.

In: header

Response Body

application/json

application/json

application/json

application/json

curl -X GET "https://devrms.tabdevx.com/api/restaurant/dining-areas-with-tables"
{
  "data": [
    {
      "id": 10,
      "name": "Main Hall",
      "tables": [
        {
          "id": 1,
          "name": "T1",
          "min_covers": 2,
          "max_covers": 4
        },
        {
          "id": 2,
          "name": "T2",
          "min_covers": 2,
          "max_covers": 2
        }
      ]
    },
    {
      "id": 20,
      "name": "Terrace",
      "tables": [
        {
          "id": 3,
          "name": "T3",
          "min_covers": 4,
          "max_covers": 8
        }
      ]
    }
  ]
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "timestamp": "2019-08-24T14:15:22Z"
  }
}