---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://yandex.com/dev/direct/doc/en/changes/checkDictionaries.md
  - https://yandex.com/dev/direct/doc/ru/changes/checkDictionaries.md
  - href: en/changes/checkDictionaries.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
sourcePath: en/ref-v5/changes/checkDictionaries.md
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/direct/doc/en/llms.txt

# checkDictionaries

Shows whether there are any changes in the reference lists of regions, time zones, and mobile app categories.  You can also use it to get the current time on the server.

### Learn more {#see-also}

- [How to check for changes](https://yandex.com/dev/direct/doc/dg/best-practice/check-changes.html)


## Request {#input}

Request structure in JSON format:

```javascript
{
  "method": "checkDictionaries",
  "params": {
    "Timestamp": (string)
  }
}
```

#|
|| **Parameter**  | **Type**  | **Description**  | **Required** ||

|| **params structure (for JSON) / CheckDictionariesRequest structure (for SOAP)** | > | > | > ||

|| `Timestamp` | string | The exact time to start from to check for changes. Specified in the format `YYYY-MM-DDThh:mm:ssZ` (following ISO 8601), such as `2015-05-24T23:59:59Z`.  If the method is called without the Timestamp parameter, it only returns the current time on the server.  | No ||
|# 


## Response {#output}

Response structure in JSON format:

```javascript
{
  "result": { /* result */
    "TimeZonesChanged": ( "YES" | "NO" ),
    "RegionsChanged": ( "YES" | "NO" ),
    "InterestsChanged": ( "YES" | "NO" ),
    "Timestamp": (string) /* required */
  }
}
```

#|
|| **Parameter**  | **Type**  | **Description**  ||

|| **result structure (for JSON) / CheckDictionariesResponse structure (for SOAP)** | > | > ||

|| `TimeZonesChanged` | YesNoEnum | Shows whether or not there are any changes in the time zone reference list — YES/NO.

Present in the response if the `Timestamp` parameter was included in the method call.  ||

|| `RegionsChanged` | YesNoEnum | Shows whether or not there are any changes in the region reference list — YES/NO.

Present in the response if the `Timestamp` parameter was included in the method call.  ||

|| `InterestsChanged` | YesNoEnum | Shows whether or not there are any changes in the reference list of mobile app categories — YES/NO.

Present in the response if the `Timestamp` parameter was included in the method call.  ||

|| `Timestamp` | string | The exact time when changes were checked. Specified in the format `YYYY-MM-DDThh:mm:ssZ` (following ISO 8601), such as `2015-05-24T23:59:59Z`.  The timestamp is specified in the next method call, to check for changes starting from this time.  ||
|# 


## Examples {#samples}

**Request for the current server time**

 
```javascript
    {
      "method": "checkDictionaries",
      "params": {}
    }
```

**Response**

 
```javascript
    {
      "result": {
        "Timestamp": "2015-02-02T10:08:22Z"
      }
    }
```

**Checking for changes in reference lists starting from 02.02.2015 10:08:22 UTC**

 
```javascript
    {
      "method": "checkDictionaries",
      "params": {
        "Timestamp": "2015-02-02T10:08:22Z"
      }
    }
```

**Response**

 
```javascript
    {
      "result": {
        "TimeZonesChanged": "YES",
        "RegionsChanged": "NO",
        "Timestamp": "2015-02-02T12:24:31Z"
      }
    }
```

Changes have been made in the time zone reference list.

