---
title: "R001 Query and export enterprise report"
method: GET
path: "/innovation/company-report/job_id/status"
tags: ["Patsnap Analysis Report"]
---

# R001 Query and export enterprise report

`GET /innovation/company-report/job_id/status`

## Request

- Base URL: `https://connect.patsnap.com`
- URL: `https://connect.patsnap.com/innovation/company-report/job_id/status`
- Auth: HTTP bearer

This interface provides enterprise report downloading (query and export reports according to the job_id returned in the Generate Enterprise Report Task)

## Query parameters

- `job_id` string: job_id

## Response `200`

Successful r001 query and export enterprise report response.

- R001JobIdStatusResponse
  - `data` R001JobIdStatusCompanyReportExportResponse
    - `job_id` string: export job id
    - `queue_num` integer: Number of jobs in the queue
    - `job_status` integer: Export status (0:To be exported 1:Exporting. 2:Exporting successfully. 3:Report generation fails.)
    - `download_url` string: File download link (return if export status is successful)
    - `abnormal_cause` string: Causes of Exceptions
  - `status` boolean, required: Status
  - `error_msg` string: Error Message
  - `error_code` integer, required: Error Code

## Other responses

- `401`: Unauthorized.
- `403`: Forbidden.
- `404`: Not Found.

---

[API](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api.md) - [All operations](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/llms.txt) - [OpenAPI document](https://skmtc.dev/patsnap/apis/patsnap-open-platform-api/revisions/c2264a0de595?raw)
