---
title: "Gets the dining layout for a site"
method: GET
path: "/ocapi/v1/sites/{siteId}/dining-layout"
tags: ["Dining", "Sites"]
---

# Gets the dining layout for a site

`GET /ocapi/v1/sites/{siteId}/dining-layout`

## Request

- Base URL: `https://developer.vista.co` (the document declares no server; this is the origin it was published from)
- URL: `https://developer.vista.co/ocapi/v1/sites/{siteId}/dining-layout`
- Auth: none declared
- TypeScript: <https://skmtc.dev/vista/apis/vista-digital-platform/docs/ocapi/v1/sites/:siteId/dining-layout/get.ts> (a function with typed inputs; its response is checked against the schema)

#### Licenses Required


- Vista.Ocapi

## Path parameters

- `siteId` string, required

## Headers

- `Connect-Region-Code` string

## Response `200`

Success

- OcapiV1DiningDiningLayoutDetails: Represents the details of a dining layout entity
  - `diningLayout` OcapiV1DiningDiningLayout, required: Represents the layout of dining tables and chairs at a site
    - `areas` OcapiV1DiningDiningArea[], required
      - `id` string, required
      - `name` OcapiV1Translatable, required: Represents some customer-visible translatable Text in the default language, and a list of translation entities
        - `text` string, required: Gets the text in the default language
        - `translations` OcapiV1Translation[], required: Gets the translations of the translatable Text in other languages
          - `languageTag` string, required: Gets the IETF (RFC 4646) language tag that the translation Text has been translated for
          - `text` string, required: Gets the translated text
      - `isDefault` boolean, required
      - `locations` union[], required
        - union: Represents the base properties of a location within a dining layout
          - OcapiV1DiningDiningChair: Represents the base properties of a location within a dining layout
            - `id` string, required
            - `label` string, required
            - `areaName` OcapiV1Translatable, required: Represents some customer-visible translatable Text in the default language, and a list of translation entities
              - …
            - `type` 'Table' | 'Chair', required: Represents the type of a dining location base
          - OcapiV1DiningDiningTable: Represents the base properties of a location within a dining layout
            - `id` string, required
            - `label` string, required
            - `areaName` OcapiV1Translatable, required: Represents some customer-visible translatable Text in the default language, and a list of translation entities
              - …
            - `type` 'Table' | 'Chair', required: Represents the type of a dining location base

## Other responses

- `404`: Site does not exist or does not have a dining layout.

## Changes

- **2026-10-09** `41415d239083`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/vista/apis/vista-digital-platform/changes/ocapi/v1/sites/:siteId/dining-layout/get.md)

---

[API](https://skmtc.dev/vista/apis/vista-digital-platform.md) - [All operations](https://skmtc.dev/vista/apis/vista-digital-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/vista/apis/vista-digital-platform/revisions/c46f30854000?raw)
