digitaluapi

<back to all web services

DebtsLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/debts
import java.math.*
import java.util.*
import java.io.InputStream
import net.servicestack.client.*
import com.google.gson.annotations.*
import com.google.gson.reflect.*


@DataContract
open class DebtsLookup
{
    @DataMember(Order=2)
    open var TenantsId:Int? = null

    @DataMember(Order=3)
    open var CustomersId:Long? = null

    @DataMember(Order=4)
    open var InvoiceNumber:String? = null

    @DataMember(Order=5)
    open var DebtDate:Date? = null

    @DataMember(Order=6)
    open var DebtAge:Int? = null

    @DataMember(Order=7)
    open var AmountOutstanding:Double? = null

    @DataMember(Order=8)
    open var CapitalOutstanding:Double? = null

    @DataMember(Order=9)
    open var InterestOutstanding:Double? = null

    @DataMember(Order=10)
    open var FeesOutstanding:Double? = null

    @DataMember(Order=11)
    open var LastPaidDate:Date? = null

    @DataMember(Order=12)
    open var LastPaidAmount:Double? = null

    @DataMember(Order=13)
    open var VulnerabilityFlag:Boolean? = null

    @DataMember(Order=14)
    open var CurrenciesId:Int? = null

    @DataMember(Order=15)
    open var CurrencyRatesId:Long? = null

    @DataMember(Order=16)
    open var StatusCodesId:Long? = null
}

Kotlin DebtsLookup DTOs

To override the Content-type in your clients, use the HTTP Accept Header, append the .csv suffix or ?format=csv

HTTP + CSV

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/csv
HTTP/1.1 200 OK
Content-Type: text/csv
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"}}}]