Request Report Data
POST/api/v1/reports/generate-report
To fetch report data, specify your desired report type, time frame (separated by "from and "to"), format and columns according to the specifications below.
Request
- application/json
Body
required
- When the
SelectedColumns
tag is empty ([]), the system will return default columns - If a column's values don't exist, then the system skips it and doesn't export it
- The order of columns in the exported report depends on the columns' order in the JSON body
- Exported results are not sorted
Possible values: [ReconciliationReport
, NewPlans
, DebitReport
, OutstandingAmounts
, FundingReport
, ShopperOutstanding
]
UTC format, e.g. "2023-04-29T14:33:44.613Z"
UTC format, e.g. "2023-04-29T14:33:44.613Z"
Possible values: [CSV
, JSON
, XLSX
]
Choose your columns from the available fields. Refer to Report Field Definitions for more info on each field.
Notes:
Responses
- 200
- 401
- 403
- 404
- 500
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
Possible values: [0
, 1
]
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true,
"DelliveredTo": 0,
"FileUrl": "string"
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true
}
Response Headers
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
Errors
object[]
{
"Errors": [
{
"Code": "string",
"Message": "string",
"AdditionalInfo": "string"
}
],
"StatusCode": 0,
"TraceId": "string",
"IsSuccess": true
}