# Get outlet check list V2

`GET /api/v2/Outlets/{outletId}/Checks`

Core API · Checks · base URL `https://core-api.ancon.io` · auth: `Access-Token` header · docs: https://ancon.dev/api/core/checks/get-outlet-check-list-v2

### Available filter properties
- referencenumber (long)
- serialnumber (long)
- ticketnumber (long)

## Path parameters

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

## Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `MetaFilter` | map<string, array<string>> | no |  |
| `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 |
| --- | --- | --- | --- |
| `timestamp` | integer (int64) | no | Gets the timestamp in Unix time milliseconds when this response is created. |
| `items` | array<object> or null | no |  |
| `items[].id` | string (uuid) | no |  |
| `items[].ticketNumber` | integer (int64) | no |  |
| `items[].customName` | string or null | no |  |
| `items[].customTicketNumber` | integer (int64) or null | no |  |
| `items[].orderFormat` | integer (int32) | no | Allowed values: `0`, `1`, `2`, `4`, `8`, `16`, `32`, `64`, `128`, `159`, `191`. |

#### Example (from schema)

```json
{
  "timestamp": 0,
  "items": [
    {
      "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
      "ticketNumber": 0,
      "customName": "string",
      "customTicketNumber": 0,
      "orderFormat": 0
    }
  ]
}
```

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `timestamp` | integer (int64) | no | Gets the timestamp in Unix time milliseconds when this response is created. |
| `message` | string or null | no |  |

#### Example (from schema)

```json
{
  "timestamp": 0,
  "message": "string"
}
```

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

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `timestamp` | integer (int64) | no | Gets the timestamp in Unix time milliseconds when this response is created. |
| `message` | string or null | no |  |
| `errorCode` | string (uuid) | no |  |

#### Example (from schema)

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

## Example request

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