| Requires any of the roles: | Client, Admin, Partner |
| GET | /payments |
|---|
using System;
using System.IO;
using System.Collections;
using System.Collections.Generic;
using System.Runtime.Serialization;
using ServiceStack;
using ServiceStack.DataAnnotations;
using digitaluapi.ServiceModel;
namespace digitaluapi.ServiceModel
{
[DataContract]
public partial class PaymentsLookup
{
[DataMember(Order=2)]
public virtual int TenantsId { get; set; }
[DataMember(Order=3)]
public virtual long ActionsId { get; set; }
[DataMember(Order=4)]
public virtual long DebtsId { get; set; }
[DataMember(Order=5)]
public virtual DateTimeOffset PaymentDate { get; set; }
[DataMember(Order=6)]
public virtual double PaidAmount { get; set; }
[DataMember(Order=7)]
public virtual double DiscountAmount { get; set; }
[DataMember(Order=8)]
public virtual int CurrenciesId { get; set; }
[DataMember(Order=9)]
public virtual long CurrencyRatesId { get; set; }
}
}
To override the Content-type in your clients, use the HTTP Accept Header, append the .other suffix or ?format=other
The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.
GET /payments HTTP/1.1 Host: duengageapi.uat.scadsoftware.com Accept: text/jsonl
HTTP/1.1 200 OK
Content-Type: text/jsonl
Content-Length: length
[{"TenantsId":0,"ActionsId":0,"DebtsId":0,"PaymentDate":"0001-01-01T00:00:00.0000000+00:00","PaidAmount":0,"DiscountAmount":0,"CurrenciesId":0,"CurrencyRatesId":0,"ResponseStatus":{"ErrorCode":"String","Message":"String","StackTrace":"String","Errors":[{"ErrorCode":"String","FieldName":"String","Message":"String","Meta":{"String":"String"}}],"Meta":{"String":"String"}}}]