modified it for multiple organisations

This commit is contained in:
Kwesi Banson Jnr
2026-06-23 10:07:20 +00:00
parent 5e97905786
commit 1c77a23963
11 changed files with 221 additions and 64 deletions

View File

@@ -0,0 +1,18 @@
http://localhost:9990/api/ucm/reports/daily-sms-units-by-network?from={{reportDateFrom}}&to={{reportDateTo}}&ucm_org_id=701
http://localhost:9990/api/ucm/reports/daily-sms-units-by-network?from={{reportDateFrom}}&to={{reportDateTo}}&ucm_org_id=701
Expected response:{
"reportDate": "2026-02-26 to 2026-03-27",
"orgId": 701,
"movitelMzSmsUnits": 0,
"tmcelMzSmsUnits": 0,
"vodacomMzSmsUnits": 0
}
{{baseUrl}}/api/ucm/reports/daily-sms-units?from={{reportDateFrom}}&to={{reportDateTo}}&ucm_org_id=629
expected response: {
"reportDate": "2026-02-26 to 2026-03-27",
"orgId": 629,
"smsUnits": 908202,
"clientChargeTotal": 6596.267261251807
}