# Get section tables

`GET /api/v1/Outlets/{outletId}/Sections/{sectionId}/Tables`

Core API · Sections · base URL `https://core-api.ancon.io` · auth: `Access-Token` header · docs: https://ancon.dev/api/core/sections/get-section-tables

## Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `outletId` | string (uuid) | yes |  |
| `sectionId` | string (uuid) | yes |  |

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `Offset` | integer (int32) | no | Offset the result, defaults to 0 |
| `Limit` | integer (int32) | no | Limits how many items to get, defaults to 100 min 0, max 1000. |
| `Order` | string | no | Order the result. |
| `Search` | string | no |  |
| `Filter` | map<string, array<string>> | no | Filter the result. Filter[created]=gte:2022-01-02 12:00:00&Filter[created]=lte:2022-08-03 22:00:00 |

## Header parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `correlationId` | string | no | Correlation Id for the request |

## Responses

| Status | Description |
| --- | --- |
| 200 | OK |
| 401 | Unauthorized |
| 404 | Not Found |

### 200 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `items` | array<object> or null | no |  |
| `items[].id` | string (uuid) | no |  |
| `items[].number` | integer (int32) | no |  |
| `items[].availableForTableOrder` | boolean | no |  |

#### Example

```json
{
  "items": [
    {
      "id": "adac7055-d04c-4bcd-abde-24915201ed39",
      "number": 1,
      "availableForTableOrder": true
    },
    {
      "id": "b82e400e-9d00-469e-b52a-b5de41b1b536",
      "number": 2,
      "availableForTableOrder": false
    },
    {
      "id": "3d3d68cb-0849-457d-b320-d0dce5a5b5f4",
      "number": 3,
      "availableForTableOrder": false
    },
    {
      "id": "1ed6e0c7-b536-48b9-8392-1f21d5e897f3",
      "number": 4,
      "availableForTableOrder": true
    },
    {
      "id": "ac8a3c35-bb39-4192-83d0-116f6f963d8f",
      "number": 5,
      "availableForTableOrder": true
    }
  ]
}
```

### 401 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |

#### Example (from schema)

```json
{
  "message": "string"
}
```

### 404 response (`application/json`)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `message` | string or null | no |  |
| `errorCode` | string (uuid) | no |  |

#### Example (from schema)

```json
{
  "message": "string",
  "errorCode": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
```

## Example request

```bash
curl -X GET "https://core-api.ancon.io/api/v1/Outlets/{outletId}/Sections/{sectionId}/Tables" \
  -H "Access-Token: $ANCON_TOKEN"
```
