API – Get Admin Stats
General
To get admin stats for a loan, send a GET request to a URL formatted as follows:
https://loanpro.simnang.com/api/public/api/1/Loans({id})/Autopal.GetAdminStats()
Replace {id} with the ID of the target loan.
This will return all of the admin stats for a given loan.
If you wish to only return a subset of the admin stats, pass in a comma separated list into the parenthesis of GetAdminStats, such as below:
https://loanpro.simnang.com/api/public/api/1/Loans({id})/Autopal.GetAdminStats(active,paidoff)
Below is a list of options available
- all – Returns all of the stats; same as not passing in anything into the parentheses
- active – Returns the active stats for the loan
- paidoff – Returns the stats for the amount paid off
- repossessed – Returns the repossession stats for the loan