GET /v1/reporting/transaction/export

Export Transaction

Query parameters

  • page number

    Current page

  • pageSize number

    Number of items per page

  • selectAll boolean

    Determines if all items are selected

  • where object

    App\Transactions\Core\Models\Transaction Filters: 0, 1, 2, 3, 4

    Hide where attributes Show where attributes object
  • sort object

    App\Transactions\Core\Models\Transaction Sorting by name, startTime

    Hide sort attributes Show sort attributes object
    • name string

      Values are asc or desc.

    • startTime string

      Values are asc or desc.

  • onlyArchived boolean

    Determines whether to return only archived records in the response.

  • includeArchived boolean

    Determines whether to return with archived records in the response.

Responses

  • 200 application/json

    successful operation

    Hide response attribute Show response attribute object
    • url string Required

      Report URL

  • 403 application/json

    Not authorized

    Hide response attributes Show response attributes object

    Error schema

    • statusCode number Required

      Status Code

    • messages array[string] Required

      List of error messages

    • exception object

      Exception

GET /v1/reporting/transaction/export
curl \
 --request GET 'https://classmanager.test/v1/reporting/transaction/export'
Response examples (200)
{
  "url": "https://www.example.com/report/my-report.csv"
}
Response examples (403)
{
  "statusCode": 42.0,
  "messages": [
    "string"
  ],
  "exception": {}
}