Transactions - OBSOLETE API

List Transactions

URL

https://dev.v3manager.com/demo/api/voucherTransaction

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/voucherTransaction"

Count Transactions

URL

https://dev.v3manager.com/demo/api/voucherTransaction/count

HTTP Method

GET

Sum Transactions

URL

https://dev.v3manager.com/demo/api/voucherTransaction/sum

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/voucherTransaction/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/voucherTransaction/sum?field=total&search=%5B%22created%22%2C%22%3E%22%2C%2205-07-2023%22%5D"

Parameters

Name Type Required
field string yes
filter array no

Load Transaction by id

URL

https://dev.v3manager.com/demo/api/voucherTransaction/:id

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/voucherTransaction/22"

Fields

Name Label Data type Readonly Descrition
updateUser Updated by int Yes
updateUserName Updated by string No
voucher Voucher int No
voucherId Voucher string No
amount Amount float No
customerName Customer string No
payment Payment int No
createUserName Created by string No
createUser Created by int Yes
description Description string No
refunded Back bool No
updated Update date datetime Yes
created Creation date datetime Yes
useDate Production date datetime No
ratio Ratio float No
id ID int Yes
balanceAfter Balance float No Posterior balance
type Type select No
voucherType Type string No
saleDescription Sale string No
sale Sale int No
fkId int Yes
fkModel int Yes
salePayment int No
unitPrice currency No
Values for type
Value Name
1 Top up
2 Consumption
3 Manual
4 Bulk Top up