digitaluapi

<back to all web services

PaymentPlanDebtsLookup

Requires Authentication
Requires any of the roles:Client, Admin, Partner
The following routes are available for this service:
GET/payment_plan_debts
import 'package:servicestack/servicestack.dart';

// @DataContract
class PaymentPlanDebtsLookup implements IConvertible
{
    // @DataMember(Order=2)
    int? PaymentPlansId;

    // @DataMember(Order=3)
    int? DebtsId;

    PaymentPlanDebtsLookup({this.PaymentPlansId,this.DebtsId});
    PaymentPlanDebtsLookup.fromJson(Map<String, dynamic> json) { fromMap(json); }

    fromMap(Map<String, dynamic> json) {
        PaymentPlansId = json['PaymentPlansId'];
        DebtsId = json['DebtsId'];
        return this;
    }

    Map<String, dynamic> toJson() => {
        'PaymentPlansId': PaymentPlansId,
        'DebtsId': DebtsId
    };

    getTypeName() => "PaymentPlanDebtsLookup";
    TypeContext? context = _ctx;
}

TypeContext _ctx = TypeContext(library: 'duengageapi.uat.scadsoftware.com', types: <String, TypeInfo> {
    'PaymentPlanDebtsLookup': TypeInfo(TypeOf.Class, create:() => PaymentPlanDebtsLookup()),
});

Dart PaymentPlanDebtsLookup 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 /payment_plan_debts HTTP/1.1 
Host: duengageapi.uat.scadsoftware.com 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

[
	{
		PaymentPlansId: 0,
		DebtsId: 0,
		ResponseStatus: 
		{
			ErrorCode: String,
			Message: String,
			StackTrace: String,
			Errors: 
			[
				{
					ErrorCode: String,
					FieldName: String,
					Message: String,
					Meta: 
					{
						String: String
					}
				}
			],
			Meta: 
			{
				String: String
			}
		}
	}
]