The function of the Web Dashboard service is to display data on the web admin dashboard with provisions per category. Where the existing categories are divided into thirteen actions which will display different data.
Here's the detail of service action in Web Dashboard :
Dashboard
Used to displays data on the web admin dashboard.
Payload Data
Name | Data Type |
---|---|
startDate | String |
endDate | String |
range | String |
TransactionType | String |
Example Request
{
"Subject": "ewallet",
"SubjectType": "webdashboard",
"SubjectIdentifier": "dashboard",
"Action": "get_dashboard",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"ScopeSource": "platform",
"ScopePlatform": "private",
"PlatformKey": "qoin-apps",
"Data": {
"StartDate": null,
"EndDate": null,
"Range": "yearly",
"TransactionType": null
}
}
{
"TicketId": "3433382d31-c7bfa597-dce0-4b06-b057-a4dc2090dfe5",
"Subject": "ewallet",
"SubjectType": "webdashboard",
"SubjectIdentifier": "dashboard",
"Action": "get_dashboard",
"ResourceType": "data",
"Resource": "data",
"ResourceId": "data",
"Result": {
"OrderTypeSummaries": [
{
"TotalNominalTransactionPerOrderType": 0,
"TotalTransactionPerOrderType": 708,
"TrxOrderType": "OTHER",
"TrxType": 1
},
{
"TotalNominalTransactionPerOrderType": 1,
"TotalTransactionPerOrderType": 1,
"TrxOrderType": "OTHER",
"TrxType": 9
},
{
"TotalNominalTransactionPerOrderType": 185014,
"TotalTransactionPerOrderType": 13,
"TrxOrderType": "OTHER",
"TrxType": 20
},
{
"TotalNominalTransactionPerOrderType": 145983378,
"TotalTransactionPerOrderType": 309,
"TrxOrderType": "OTHER",
"TrxType": 21
},
{
"TotalNominalTransactionPerOrderType": 54184520,
"TotalTransactionPerOrderType": 142,
"TrxOrderType": "OTHER",
"TrxType": 23
},
{
"TotalNominalTransactionPerOrderType": 5131850,
"TotalTransactionPerOrderType": 503,
"TrxOrderType": "PPOB",
"TrxType": 26
},
{
"TotalNominalTransactionPerOrderType": 1004750267,
"TotalTransactionPerOrderType": 79,
"TrxOrderType": "OTHER",
"TrxType": 30
},
{
"TotalNominalTransactionPerOrderType": 115071957.5,
"TotalTransactionPerOrderType": 3356,
"TrxOrderType": "OTHER",
"TrxType": 60
},
{
"TotalNominalTransactionPerOrderType": 41000,
"TotalTransactionPerOrderType": 1,
"TrxOrderType": "OTHER",
"TrxType": 65
},
{
"TotalNominalTransactionPerOrderType": 22303,
"TotalTransactionPerOrderType": 10,
"TrxOrderType": "OTHER",
"TrxType": 80
},
{
"TotalNominalTransactionPerOrderType": -11199454,
"TotalTransactionPerOrderType": 1226,
"TrxOrderType": "OTHER",
"TrxType": 96
},
{
"TotalNominalTransactionPerOrderType": 2029000,
"TotalTransactionPerOrderType": 63,
"TrxOrderType": "OTHER",
"TrxType": 97
},
{
"TotalNominalTransactionPerOrderType": 1241107,
"TotalTransactionPerOrderType": 101,
"TrxOrderType": "OTHER",
"TrxType": 101
},
{
"TotalNominalTransactionPerOrderType": 234100,
"TotalTransactionPerOrderType": 55,
"TrxOrderType": "OTHER",
"TrxType": 102
},
{
"TotalNominalTransactionPerOrderType": 47846,
"TotalTransactionPerOrderType": 1210,
"TrxOrderType": "OTHER",
"TrxType": 115
}
],
"StatusData": [
{
"Status": "Failed",
"Total": 1504
},
{
"Status": "On Process",
"Total": 991
},
{
"Status": "Pending",
"Total": 73
},
{
"Status": "Success",
"Total": 5157
},
{
"Status": "Unknown Status",
"Total": 52
}
],
"TransactionData": {
"TotalNominalTransaction": 1317722889.5,
"TotalTransaction": 7777
}
},
"Status": "success",
"Message": "Success process data(Get Data Dashboard Success)",
"StatusCode": 200
}