johnwoodlock resolved New Feature MIFOSX-354 as Fixed

removed previous report and replace with 2
For Counts use:
runreports/GroupSummaryCounts?genericResultSet=false&R_groupId=

{groupId}

Example output:
[ {"activeClients": 5, "activeLoans": 4, "activeClientLoans": 4, "activeGroupLoans": 0, "activeBorrowers": 3, "activeClientBorrowers": 3, "activeGroupBorrowers": 0, "overdueLoans": 2, "overdueClientLoans": 2, "overdueGroupLoans": 0}
]

For Amounts (row per currency) use:
runreports/GroupSummaryAmounts?genericResultSet=false&R_groupId={groupId}

Example output:

[

{"currency": "KSh", "totalDisbursedAmount": 60000.000000, "totalLoanOutstandingAmount": 60000.000000, "overdueLoans": 1, "totalLoanOverdueAmount": 8268.000000}

,

{"currency": "$", "totalDisbursedAmount": 199000.000000, "totalLoanOutstandingAmount": 199000.000000, "overdueLoans": 1, "totalLoanOverdueAmount": 8802.000000}

]

Replies: "Does it make sense to add a placeholder for total savings too in the API? Until the savings functionality for groups are implemented, we could just return zero."
A. Prefer to leave it out until the functionality is available. Easier to add in context of running functionality.

"Will there be another API when summary of a customer is required? It would have typically things like Current Loan Cycle, Amount of last loan, no. of active loans, Number of loans disbursed, Total amount disbursed, Total amount outstanding, Total Overdues, Total savings etc."
A. Yes. And different implementations of groups may have different needs for performance or summary data... and additional specific reports can be done for them if necessary. There is only one generic runreports api which has a "reportName" part i.e. you do a 'report' and the api picks up on it and its parameters. https://demo.openmf.org/api-docs/apiLive.htm#report_run

Change By: johnwoodlock (20/May/13 6:42 AM)
Resolution: Fixed
Status: Development In Progress Ready for Testing / Resolved
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Mifos-issues mailing list
Mifos-issues@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mifos-issues

Reply via email to