**版本：202201**

# 创建数据查询任务

**GET** `/openapi/2022-01/data/query`

## 请求

**Query参数**

- `event` string (required)

  Event type, supported types: impressions, add_payment_info, add_to_cart, begin_checkout, pageview, place_order, product_search, product_view, purchase_product, refund_order, will query all event types except impressions, if query params not provided.
- `beginTime` string (required)

  Event query at after date, e.g. 2020-12-30T15:04:05
- `endTime` string (required)

  Event query at before the date, e.g. 2020-12-30T15:04:05, the duration between beginning time and end time can not larger than 24 hours.

## 响应

**200**

200

**application/json**

**数据结构 | 示例 | Result**

**数据结构**

- `query_id` string

  **示例：** `7ce94c04-c42d-4e79-ae97-8b809e1f5cc0`

```json
{
  "query_id": "7ce94c04-c42d-4e79-ae97-8b809e1f5cc0"
}
```

```json
{
  "query_id": "7ce94c04-c42d-4e79-ae97-8b809e1f5cc0"
}
```
