Vouchers - OBSOLETE API

List Vouchers

URL

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

HTTP Method

GET

Example

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

Count Vouchers

URL

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

HTTP Method

GET

Sum Vouchers

URL

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

HTTP Method

GET

Example

curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/voucher/sum?field=total&search=["created",">","05-07-2023"]" Encoded: curl -H "key: {apiKey}" "https://dev.v3manager.com/demo/api/voucher/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 Voucher by id

URL

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

HTTP Method

GET

Example

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

Create or update Vouchers

URL

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

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
updateUserName Updated by string No
updateUser Updated by int Yes
customer Customer int No
customerName Customer string No
createUserName Created by string No
createUser Created by int Yes
daysOfWeek Days of the week daysOfWeek No
updated Update date datetime Yes
created Creation date datetime Yes
startTime Time from time No
endTime Time until time No
comments Observations text No
unitPrice Price per unit currency No
id ID int Yes
balance Balance float No
typeName Type string No
type Type int No
startDate Valid from date No
endDate Valid until date No