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
namespace digitaluapi.ServiceModel

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<DataContract>]
    [<AllowNullLiteral>]
    type DebtsLookup() = 
        [<DataMember(Order=2)>]
        member val TenantsId:Int32 = new Int32() with get,set

        [<DataMember(Order=3)>]
        member val CustomersId:Int64 = new Int64() with get,set

        [<DataMember(Order=4)>]
        member val InvoiceNumber:String = null with get,set

        [<DataMember(Order=5)>]
        member val DebtDate:DateTime = new DateTime() with get,set

        [<DataMember(Order=6)>]
        member val DebtAge:Int32 = new Int32() with get,set

        [<DataMember(Order=7)>]
        member val AmountOutstanding:Double = new Double() with get,set

        [<DataMember(Order=8)>]
        member val CapitalOutstanding:Nullable<Double> = new Nullable<Double>() with get,set

        [<DataMember(Order=9)>]
        member val InterestOutstanding:Nullable<Double> = new Nullable<Double>() with get,set

        [<DataMember(Order=10)>]
        member val FeesOutstanding:Nullable<Double> = new Nullable<Double>() with get,set

        [<DataMember(Order=11)>]
        member val LastPaidDate:Nullable<DateTime> = new Nullable<DateTime>() with get,set

        [<DataMember(Order=12)>]
        member val LastPaidAmount:Nullable<Double> = new Nullable<Double>() with get,set

        [<DataMember(Order=13)>]
        member val VulnerabilityFlag:Boolean = new Boolean() with get,set

        [<DataMember(Order=14)>]
        member val CurrenciesId:Int32 = new Int32() with get,set

        [<DataMember(Order=15)>]
        member val CurrencyRatesId:Int64 = new Int64() with get,set

        [<DataMember(Order=16)>]
        member val StatusCodesId:Int64 = new Int64() with get,set

F# DebtsLookup DTOs

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

HTTP + 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
			}
		}
	}
]