> For the complete documentation index, see [llms.txt](https://apis.rightrev.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://apis.rightrev.com/rightrev-rest-api/transactions-ingestion/transaction-ingestion-order-invoices-events-and-bulk-uploads/retrieve-file-data-json-file.md).

# Retrieve file data - JSON file

This API is to retrieve the file data of orders/invoices/events/ All Bulk Uploads in JSON format

<mark style="color:yellow;">Check Response - It's not showing JSON only. CSV also covered</mark>

Method - GET

API End Point

```
/apis/oingest/v1/json-upload
```

Path Parameters&#x20;

<table><thead><tr><th width="141">Key</th><th width="800">Values</th></tr></thead><tbody><tr><td>1. page<br>2. page_size<br>3. policy_types<br>4. client_type</td><td>1. 1<br>2. 10<br>3. orders, invoices<br>4. UI</td></tr></tbody></table>

**Sample API End Point ( Orders, Invoices )**&#x20;

```
/apis/oingest/v1/json-upload?page=1&page_size=10&policy_types=orders,invoices&client_type=UI
```

* Above sample endpoint will fetch file details of 10 records of **Orders & Invoice** uploaded in **JSON** format from page number 1.

**Sample API End Point ( events )**

```
/apis/oingest/v1/json-upload
```

* Above sample endpoint without any query parameters will fetch all records of **events** **JSON file details** uploaded in RightRev system.

**Screenshot for reference**

<div data-with-frame="true"><figure><img src="https://3364757261-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F193S0RVwbPrcp6u9CoPJ%2Fuploads%2F2BP3PqZvJNdGO46WizF5%2Fimage.png?alt=media&amp;token=39f310af-6606-410c-a55a-fca923031a8e" alt=""><figcaption></figcaption></figure></div>

Response

```
    {
        "applicable_compliance": null,
        "context": "orders-Data-Ingestion",
        "file_date_format": "MM/DD/YYYY",
        "file_format": "csv",
        "file_id": "c3793ae9-2224-44cf-b822-1dbfebfb9625",
        "file_size": 1,
        "impacted_rc_count": null,
        "impacted_rc_list": null,
        "policy_type": "orders",
        "processed_duration": 165,
        "processed_end_time": "1766299618",
        "processed_start_time": "1766299453",
        "status": "Completed",
        "system_notes": null,
        "target_archival_date": null,
        "total_rows_failed": 1,
        "total_rows_on_hold": 0,
        "total_rows_processed": null,
        "total_rows_received": 1,
        "upload_time": 1766299440,
        "uploaded_by": "svc-pi-snow-kri@rightrev.com",
        "uploaded_file_name": "1a347017-2025-46b6-87b9-e69305bf053f",
        "user_notes": null
    },
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://apis.rightrev.com/rightrev-rest-api/transactions-ingestion/transaction-ingestion-order-invoices-events-and-bulk-uploads/retrieve-file-data-json-file.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
