---
metadata:
  - name: generator
    content: Diplodoc Platform v5.55.0
alternate:
  - https://yandex.com/dev/market/partner-api/doc/en/concepts/result-format.md
  - https://yandex.com/dev/market/partner-api/doc/ru/concepts/result-format.md
  - https://yandex.com/dev/market/partner-api/doc/zh/concepts/result-format.md
  - href: zh/concepts/result-format.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.com/dev/market/partner-api/doc/zh/llms.txt

# 回应格式

  空气污染指数市区   以UTF-8编码返回响应。 响应只能采用JSON格式。

要设置响应格式，请在 URL 在方法名称之后请求所选格式。 例如，作为执行以下查询的结果，您将收到JSON格式的目录中的产品列表:



```no-highlight translate=no
POST https://api.urbanads.yandex.ru/v2/reports/shelf-statistics/generate.json
```



还可以在使用HTTP标头调用方法时指定响应格式。 `Accept`. 可能的标头值: `application/json`.

响应格式必须匹配 [输入数据的格式](https://yandex.com/dev/market/partner-api/doc/zh/concepts/input-format.md). 因此，在标题 `Accept` 或在 URL 请求（延期 `.json` ）设置与标题中相同的格式 `Content-Type`.

打电话时 DELETE-必须指定结果的标准格式，以确保与用于处理数据的库兼容。




{% note info "Некоторые системы UrbanAds убирают пробелы в начале и в конце строки" %}


例如，字符串 `"例子"` 可以保存为 `"例子"`.

如果您有包含此类空格的行，请考虑此功能。 例如，在传输UrbanAds字符串之前和协调数据之前删除空格。


{% endnote %}



