---
title: "Queue task to export multiple reports by ids as single Excel workbook"
method: POST
path: "/datainsights/v1.1/reports/export/async"
tags: ["Reports"]
---

# Queue task to export multiple reports by ids as single Excel workbook

`POST /datainsights/v1.1/reports/export/async`

## Request

- The document declares no server URL.
- Auth: HTTP bearer

## Query parameters

- `name` string
- `report_ids` integer[], required
- `include_charts` boolean

## Headers

- `X-PROPERTY-ID` integer, required

## Response `200`

OK

- QueueResponse
  - `id` string
  - `status` string: Status of the task
  - `result` QueueResult
    - `url` string, url, required: Download URL of the generated report
    - `format` string, required: Format of the report
    - `view` string, required: View of the report
    - `filename` string, required: Name of the report
    - `generated_at` string: Timestamp of the report
    - `email` Email
      - `MessageId` string: ID of the email sent
      - `ResponseMetadata` ResponseMetadata
        - `RequestId` string: Request ID
        - `HTTPStatusCode` integer: HTTP status code
        - `HTTPHeaders` HTTPHeaders
          - `date` string: Date of the response
          - `content_type` string: Content type
          - `content_length` integer: Length of the content
          - `connection` string: Connection type
          - `x_amzn_requestid` string: Amazon request ID
        - `RetryAttempts` integer: Number of retry attempts
    - `emails` Email[]: Information about the emails sent to the user, if there were multiple emails sent.
      - `MessageId` string: ID of the email sent
      - `ResponseMetadata` ResponseMetadata
        - `RequestId` string: Request ID
        - `HTTPStatusCode` integer: HTTP status code
        - `HTTPHeaders` HTTPHeaders
          - `date` string: Date of the response
          - `content_type` string: Content type
          - `content_length` integer: Length of the content
          - `connection` string: Connection type
          - `x_amzn_requestid` string: Amazon request ID
        - `RetryAttempts` integer: Number of retry attempts
  - `error` string: Error, if the task failed

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `500`: Internal Server Error

---

[API](https://skmtc.dev/cloudbeds/apis/data-insights-api.md) - [All operations](https://skmtc.dev/cloudbeds/apis/data-insights-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cloudbeds/apis/data-insights-api/revisions/0a16807149c2?raw)
