Subscriptions - OBSOLETE API

List Subscriptions

URL

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

HTTP Method

GET

Example

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

Count Subscriptions

URL

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

HTTP Method

GET

Sum Subscriptions

URL

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

HTTP Method

GET

Example

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

URL

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

HTTP Method

GET

Example

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

Create or update Subscriptions

URL

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

HTTP Method

POST

Fields

Name Label Data type Readonly Descrition
shareNumber Share string No
share Share int No
active Active bool No
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
directDebit Direct debit bool No
updated Update date datetime Yes
created Creation date datetime Yes
end End date No
start Start date No
publicComments Invoice observations text No
comments Private observations text No
price Custom price currency No
id ID int Yes
typeName Subscription type string No
type Subscription type int No
fkId int Yes
fkModel int Yes
language string No
sale int Yes