| Requires any of the roles: | Client, Admin, Partner |
| GET | /debts |
|---|
| Name | Parameter | Data Type | Required | Description |
|---|---|---|---|---|
| TenantsId | query | int | No | |
| CustomersId | query | long | No | |
| InvoiceNumber | query | string | No | |
| DebtDate | query | DateTime | No | |
| DebtAge | query | int | No | |
| AmountOutstanding | query | double | No | |
| CapitalOutstanding | query | double? | No | |
| InterestOutstanding | query | double? | No | |
| FeesOutstanding | query | double? | No | |
| LastPaidDate | query | DateTime? | No | |
| LastPaidAmount | query | double? | No | |
| VulnerabilityFlag | query | bool | No | |
| CurrenciesId | query | int | No | |
| CurrencyRatesId | query | long | No | |
| StatusCodesId | query | long | No |
To override the Content-type in your clients, use the HTTP Accept Header, append the .json suffix or ?format=json
To embed the response in a jsonp callback, append ?callback=myCallback
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /debts HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: application/json
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: length
[{"TenantsId":0,"CustomersId":0,"InvoiceNumber":"String","DebtDate":"0001-01-01T00:00:00.0000000","DebtAge":0,"AmountOutstanding":0,"CapitalOutstanding":0,"InterestOutstanding":0,"FeesOutstanding":0,"LastPaidDate":"0001-01-01T00:00:00.0000000","LastPaidAmount":0,"VulnerabilityFlag":false,"CurrenciesId":0,"CurrencyRatesId":0,"StatusCodesId":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]