ledgerReport
type: procedureMethods
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 |
---|---|---|---|
date1 | date | ||
date2 | date | ||
entrytypeId | int | 0 | |
currencyId | int | 0 | |
objId | int | 0 | |
deleted | boolean | ||
undeleted | boolean | 1 |
Return values
Field | Type | Default | Etc |
---|---|---|---|
id | int | ||
rowNr | int | ||
currencyId | int | ||
entryTypeId | int | ||
entryTypeCode | varchar | ||
entryTypeName | varchar | ||
batchNr | int | ||
document | varchar | ||
date | date | ||
accountId | int | ||
accountCode | varchar | ||
accountName | varchar | ||
objectId | int | ||
objectCode | varchar | ||
objectName | varchar | ||
memo | varchar | ||
currency | varchar | ||
rate | decimal | ||
drate | decimal | ||
debit | decimal | ||
credit | decimal | ||
debitBase | decimal | ||
creditBase | decimal | ||
documentMemo | varchar |
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