| 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 .jsv suffix or ?format=jsv
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: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length
[
{
TenantsId: 0,
CustomersId: 0,
InvoiceNumber: String,
DebtDate: 0001-01-01,
DebtAge: 0,
AmountOutstanding: 0,
CapitalOutstanding: 0,
InterestOutstanding: 0,
FeesOutstanding: 0,
LastPaidDate: 0001-01-01,
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
}
}
}
]