Purchase options - OBSOLETE API

List Purchase options

URL

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

HTTP Method

GET

Example

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

Count Purchase options

URL

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

HTTP Method

GET

Sum Purchase options

URL

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

HTTP Method

GET

Example

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

URL

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

HTTP Method

GET

Example

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

Create or update Purchase options

URL

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

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
updateUser Updated by int Yes
updateUserName Updated by string No
quantity Amount float No
createUser Created by int Yes
createUserName Created by string No
updated Update date datetime Yes
created Creation date datetime Yes
name Name string No
product Product int No
productName Product string No
id ID int Yes