1. Home
  2. Interswitch Data Service
  3. Dataset
  4. Count

Count

This gets the count of records in the dataset for the specified requestType and specified date range.

Request Body Description

#Field NameData TypeMax Length / FormatRequiredDescription
2requestTypeString
YesThis field specify the request type which can be any of the values in { KYC, SMS, TRANSACTION}
3startDateDateYYYY-MM-ddYesThis field specify the beginning of your report. The dataset will cover all records between the value specified in this field and the endDate field.
4endDateDateYYYY-MM-ddYesThis field specified the report end date

Resource URL:{{baseurl}}/api/v1/request/ils/count

Headers

HTTP Method: POST

Authentication: User Access Token or Client Access Token

Content-Type: application/json

Sample Request

Request: {

"requestType": "SMS",
"startDate": "2021-04-01",
"endDate": "2021-08-01"
}

Sample Response

Sample Response: {
"responseCode": "00",
"responseMessage": "Successful",
"dateRange": "Weekly",
"data": {
"count": 143648,
"kycData": null,
"smsData": [
{
"balance": "449060.25",
"bank": "ACCESS.TNS",
"currency": "NGN",
"msisdn": "1220210701090703337313",
"telco": "Operator.Global.Mitto.1:aa0e5f3b-0ae2-4af9-a9aa-9292089ee1c2",
"txn_amount": 131500.0,
"txn_date": "Thu Jul 01 09:07:03 WAT 2021",
"txn_type": "Credit",
"year": "2021",
"month": "Jul"
},
{
"balance": "7743514.0",
"bank": "ACCESS.TNS",
"currency": "NGN",
"msisdn": "1220210701080041108149",
"telco": "Operator.Global.Mitto.1:e6df104c-0b02-4fc8-8b0c-8a32d197409e",
"txn_amount": 60053.75,
"txn_date": "Thu Jul 01 08:00:41 WAT 2021",
"txn_type": "Debit",
"year": "2021",
"month": "Jul"
},
{
"balance": "8709464.0",
"bank": "ACCESS.TNS",
"currency": "NGN",
"msisdn": "1220210701090404926377",
"telco": "Silverstreet:1.16468.60dd8504e6a379.64996664.613000855",
"txn_amount": 966000.0,
"txn_date": "Thu Jul 01 09:04:04 WAT 2021",
"txn_type": "Credit",
"year": "2021",
"month": "Jul"
}
],
"transactionHistoryData": null
}
}

Was this article helpful to you? Yes No

How can we help?