ledgerReport

type: procedure

Methods

GET

Execute procedure and return values

GET /<yourcompany>/ledgerReport/?date1=<value>&date2=<value>[&entrytypeId=<value>][¤cyId=<value>][&objId=<value>][&deleted=<value>][&undeleted=<value>]


Parameters

Field Type Default Etc
date1date
date2date
entrytypeIdint0
currencyIdint0
objIdint0
deletedboolean
undeletedboolean1

Return values

Field Type Default Etc
idint
rowNrint
currencyIdint
entryTypeIdint
entryTypeCodevarchar
entryTypeNamevarchar
batchNrint
documentvarchar
datedate
accountIdint
accountCodevarchar
accountNamevarchar
objectIdint
objectCodevarchar
objectNamevarchar
memovarchar
currencyvarchar
ratedecimal
dratedecimal
debitdecimal
creditdecimal
debitBasedecimal
creditBasedecimal
documentMemovarchar

Output format

Output formats are JSON (default) or PHP print_r output.

Output format could be changed using HTTP_X_OUTPUTFORMAT request header variable.
Possible values:

  • json
  • php


Authentication

Token based authentication, with token in X-ProfitToken request header variable.


Profit API v 0.1.4.2 beta, © Intellisoft OÜ 2017 - 2024