Customers Models
Client files
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/customerFile/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/customerFile
Create
POST https://eu.golfmanager.com/api/model/customerFile
Update
POST https://eu.golfmanager.com/api/model/customerFile/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/customerFile/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
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 |
Customer
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/customer/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/customer
Create
POST https://eu.golfmanager.com/api/model/customer
Update
POST https://eu.golfmanager.com/api/model/customer/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/customer/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
name |
Full name |
string |
yes |
no |
firstName |
Name |
string |
yes |
no |
lastName |
Last Name |
string |
no |
no |
alias |
Alias |
string |
no |
no |
description |
Description |
text |
no |
no |
avatar |
Image |
image |
no |
no |
isCompany |
It is a company |
bool |
yes |
no |
email |
Email |
email |
no |
no |
email2 |
Another email |
email |
no |
no |
phone |
Phone |
string |
no |
no |
phone2 |
Another phone |
string |
no |
no |
taxNumber |
Tax number |
string |
no |
no |
taxExempt |
Tax exempt |
bool |
yes |
no |
memberCode |
Membership number |
string |
no |
no |
centerCard |
Center card number |
string |
no |
no |
businessName |
Business name |
string |
no |
no |
gender |
Gender |
select |
no |
no |
street |
Street |
string |
no |
no |
street2 |
Street 2 |
string |
no |
no |
city |
City |
string |
no |
no |
region |
Region |
int |
no |
no |
zipCode |
Zip Code |
string |
no |
no |
country |
Country |
int |
no |
no |
birthdate |
Birthdate |
date |
no |
no |
company |
Company |
int |
no |
no |
tags |
Tags |
manyToMany |
no |
no |
language |
Language |
select |
no |
no |
disableNotifications |
Disable notifications |
bool |
yes |
no |
nationality |
Nationality |
int |
no |
no |
disabled |
Blocked |
bool |
yes |
no |
paymentCondition |
Payment conditions |
select |
no |
no |
onCredit |
On credit |
bool |
yes |
no |
account |
Accounting account |
string |
no |
no |
onlineName |
Online name |
string |
no |
no |
alert |
Alert |
string |
no |
no |
verificationDigit |
Verifier Digit |
string |
no |
no |
locationCode |
Location Code |
string |
no |
no |
province |
Province |
string |
no |
no |
canton |
Canton |
string |
no |
no |
nationalId |
National Identification |
string |
no |
no |
district |
District |
string |
no |
no |
pending |
Not paid |
currency |
no |
no |
isAgency |
It's an agency |
bool |
no |
no |
requiresInvoice |
Request invoice |
bool |
no |
no |
invoiceTo |
Invoice to |
int |
no |
no |
invoicesEmail |
Email for invoices |
email |
no |
no |
autoCollect |
Automatically charge |
bool |
yes |
no |
sendInvoices |
Send invoices by email |
bool |
yes |
no |
invoiceComments |
Invoice observations |
text |
no |
no |
paymentMethod |
Preferred payment method |
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 gender
Value |
Name |
0 |
Male |
1 |
Female |
Values for language
Values for paymentCondition
Value |
Name |
0 |
Early payment |
1 |
15 days |
2 |
30 days |
3 |
60 days |
4 |
90 days |
Customer tag
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/customerTag/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/customerTag
Create
POST https://eu.golfmanager.com/api/model/customerTag
Update
POST https://eu.golfmanager.com/api/model/customerTag/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/customerTag/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
name |
Name |
string |
yes |
no |
isDefault |
Default |
bool |
yes |
no |
public |
Public |
bool |
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 |
Customer tag
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/customerToTag/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/customerToTag
Create
POST https://eu.golfmanager.com/api/model/customerToTag
Update
POST https://eu.golfmanager.com/api/model/customerToTag/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/customerToTag/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
customer |
|
int |
yes |
no |
tag |
Type |
int |
yes |
no |
start |
Start |
datetime |
no |
no |
end |
End |
datetime |
no |
no |
fkModel |
|
fkModel |
no |
yes |
fkId |
|
int |
no |
yes |
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 |