Core Banking Services
  1. Reporting
Core Banking Services
  • Introduction
  • Terminologies
  • Webhooks
  • Authentication
  • Account
    • Product List
      GET
    • Create Account
      POST
    • Find Client
      POST
    • Accounts
      GET
    • Create Additional Account
      POST
    • Account Details By BVN
      GET
    • Get Client Addresses
      GET
    • Get Account Details
      GET
    • Get Account Summary
      GET
    • Client Images
      GET
    • Update BVN
      POST
    • Update Transaction Limit
      POST
  • KYC
    • Get KYC Info
      POST
    • Update KYC
      POST
  • Transaction
    • Payment Types
      GET
    • Debit Account
      POST
    • Credit Account
      POST
    • Transaction History
      GET
    • Transaction Details
      GET
  • Transfer
    • Get Institutions
    • Name Inquiry
    • Interbank Transfer
    • InterBank Transfer Query
    • Transfer Details
    • IntraBank Transfer
    • Intrabank Transfer To Virtual Accounts
  • Reporting
    • Report Types
      GET
    • Get Report Parameters
      GET
    • Create Report
      POST
    • Report Details
      GET
    • Get Reports
      GET
  1. Reporting

Create Report

POST
/core/reporting
This API allows users to create a report by specifying the report name, type, and necessary parameters.

Request Table#

Field NameTypeRequiredDescription
namestringTRUEName of the report being created.
reportTypeIdintegerTRUEUnique identifier for the report type.
parametersarrayTRUEArray of parameters required for generating the report.
parameterIdintegerTRUEUnique identifier of the parameter.
valuestringTRUEValue assigned to the corresponding parameter.

Response Table#

Field NameTypeDescription
idintegerUnique identifier of the created report.
namestringName of the created report.
reportTypeIdintegerUnique identifier of the report type.
parametersarrayArray of parameters included in the report.
parameterIdintegerUnique identifier of a parameter in the report.
valuestringValue assigned to the parameter.

Request

Body Params application/json

Example
{
    "name": "Test Report",
    "reportTypeId": 1,
    "parameters": [
        {
            "parameterId": 1,
            "value": "2024-01-01"
        },
        {
            "parameterId": 2,
            "value": "2024-07-08"
        },
        {
            "parameterId": 3,
            "value": "ALL"
        },
        {
            "parameterId": 4,
            "value": "ALL"
        }
    ]
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/core/reporting' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "Test Report",
    "reportTypeId": 1,
    "parameters": [
        {
            "parameterId": 1,
            "value": "2024-01-01"
        },
        {
            "parameterId": 2,
            "value": "2024-07-08"
        },
        {
            "parameterId": 3,
            "value": "ALL"
        },
        {
            "parameterId": 4,
            "value": "ALL"
        }
    ]
}'

Responses

🟢200Success
application/json
Body

Example
{
    "id": 1,
    "name": "Test Report",
    "reportTypeId": 1,
    "parameters": [
        {
            "parameterId": 1,
            "value": "2024-01-01"
        },
        {
            "parameterId": 2,
            "value": "2024-07-08"
        },
        {
            "parameterId": 3,
            "value": "ALL"
        },
        {
            "parameterId": 4,
            "value": "ALL"
        },
        {
            "parameterId": 5,
            "value": "26"
        }
    ]
}
Modified at 2025-03-19 15:04:40
Previous
Get Report Parameters
Next
Report Details
Built with