Subscriptions Models
Addon
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/subscriptionAddon/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/subscriptionAddon
Create
POST https://eu.golfmanager.com/api/model/subscriptionAddon
Update
POST https://eu.golfmanager.com/api/model/subscriptionAddon/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/subscriptionAddon/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
subscriptionCustomer |
|
int |
yes |
no |
customer |
Customer |
string |
yes |
no |
product |
Product |
int |
yes |
no |
price |
Custom price |
currency |
no |
no |
start |
Start |
date |
no |
no |
end |
End |
date |
no |
no |
comments |
Private observations |
text |
no |
no |
percentage |
Quota percentage |
float |
no |
no |
accumulative |
Cumulative |
bool |
no |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |
deleted |
Removed |
bool |
no |
yes |
Beneficiary
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/subscriptionBeneficiary/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/subscriptionBeneficiary
Create
POST https://eu.golfmanager.com/api/model/subscriptionBeneficiary
Update
POST https://eu.golfmanager.com/api/model/subscriptionBeneficiary/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/subscriptionBeneficiary/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
subscriptionCustomer |
Subscription |
int |
yes |
no |
customer |
Customer |
int |
yes |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |
deleted |
Removed |
bool |
no |
yes |
Edited receipt
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/editedSale/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/editedSale
Create
POST https://eu.golfmanager.com/api/model/editedSale
Update
POST https://eu.golfmanager.com/api/model/editedSale/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/editedSale/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
subscriptionCustomer |
Subscription |
int |
yes |
no |
issueDate |
Date |
date |
yes |
no |
amount |
Amount |
currency |
yes |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |
deleted |
Removed |
bool |
no |
yes |
Receipt skipped
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/ommitedSale/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/ommitedSale
Create
POST https://eu.golfmanager.com/api/model/ommitedSale
Update
POST https://eu.golfmanager.com/api/model/ommitedSale/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/ommitedSale/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
subscriptionCustomer |
Subscription |
int |
yes |
no |
issueDate |
Date |
date |
yes |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |
deleted |
Removed |
bool |
no |
yes |
Subscription
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/subscriptionCustomer/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/subscriptionCustomer
Create
POST https://eu.golfmanager.com/api/model/subscriptionCustomer
Update
POST https://eu.golfmanager.com/api/model/subscriptionCustomer/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/subscriptionCustomer/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
type |
Subscription type |
int |
yes |
no |
customer |
Customer |
int |
yes |
no |
start |
Start |
date |
yes |
no |
end |
End |
date |
no |
no |
price |
Custom price |
currency |
no |
no |
description |
Description |
string |
no |
no |
comments |
Private observations |
text |
no |
no |
publicComments |
Invoice observations |
text |
no |
no |
active |
Active |
bool |
yes |
no |
fkModel |
|
fkModel |
no |
yes |
fkId |
|
int |
no |
yes |
sale |
|
int |
no |
yes |
language |
|
string |
yes |
no |
directDebit |
Direct debit |
bool |
yes |
no |
share |
Share |
int |
no |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |
deleted |
Removed |
bool |
no |
yes |
Subscription type
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/subscription/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/subscription
Create
POST https://eu.golfmanager.com/api/model/subscription
Update
POST https://eu.golfmanager.com/api/model/subscription/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/subscription/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
name |
Name |
string |
yes |
no |
period |
Periodicity |
select |
yes |
no |
apportionment |
Prorate |
bool |
yes |
no |
product |
Product |
int |
yes |
no |
customerTag |
Will assign this tag |
int |
no |
no |
beneficiaryTag |
Beneficiary tag |
int |
no |
no |
online |
Online sale |
bool |
yes |
no |
image |
Image |
image |
no |
no |
description |
Description |
text |
no |
no |
expiration |
Expiration |
duration |
no |
no |
customers |
Customers |
int |
yes |
no |
temporarySubscription |
Temporary leave fee |
int |
no |
no |
voucherType |
Voucher type |
int |
no |
no |
voucherPrice |
Vouchers' amount |
int |
no |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |
deleted |
Removed |
bool |
no |
yes |
Values for period
Value |
Name |
0 |
Single payment |
1 |
Monthly |
20 |
Bimonthly |
30 |
Quarterly |
60 |
Biannual |
120 |
Annual |
Tarea de Emisión de Cuotas
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/subscriptionTask/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/subscriptionTask
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
type |
Subscription type |
int |
yes |
no |
created |
Creation date |
datetime |
no |
yes |
createUser |
Created by |
int |
no |
yes |
updated |
Update date |
datetime |
no |
yes |
updateUser |
Updated by |
int |
no |
yes |