DocCloud API

<back to all web services

GetSettlementAmountsQuery

Requires Authentication
The following routes are available for this service:
GET/settlement/amountsCalculate amounts for filtered settlements
SettlementFilterQueryBase Parameters:
NameParameterData TypeRequiredDescription
IsIncomeformbool?No
IsClearedformbool?No
InvoiceNumberformstringNo
RecipientIdformList<uint>No
CurrencyIdformList<uint>No
PaymentTypeIdformList<int>No
SettlementAmountFromformdecimal?No
SettlementAmountToformdecimal?No
RegulatedAmountFromformdecimal?No
RegulatedAmountToformdecimal?No
ToRegulateFromformdecimal?No
ToRegulateToformdecimal?No
SellDateFromformDateTime?No
SellDateToformDateTime?No
PaymentDueDateFromformDateTime?No
PaymentDueDateToformDateTime?No
CreatedDateFromformDateTime?No
CreatedDateToformDateTime?No
PaginatedOrderedRequestBase Parameters:
NameParameterData TypeRequiredDescription
OrderByformstringNo
SortTypeformstringNo
PagesformintNo
AmountformintNo
BaseResponse<T> Parameters:
NameParameterData TypeRequiredDescription
MultipleResultformIList<T>No
TotalformintNo
OffsetformintNo
BaseSingleResponse<T> Parameters:
NameParameterData TypeRequiredDescription
ResultformTNo
SettlementAmountsDto Parameters:
NameParameterData TypeRequiredDescription
IncomesformdecimalNo
OutgoingsformdecimalNo
CurrencyIdformuintNo

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 /settlement/amounts HTTP/1.1 
Host: api.chmuradokumentow.pl 
Accept: text/jsv
HTTP/1.1 200 OK
Content-Type: text/jsv
Content-Length: length

{
	total: 0,
	offset: 0,
	result: 
	{
		incomes: 0,
		outgoings: 0,
		currencyId: 0
	}
}