Relationships Models
Relationship
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/relationship/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/relationship
Create
POST https://eu.golfmanager.com/api/model/relationship
Update
POST https://eu.golfmanager.com/api/model/relationship/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/relationship/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
customer |
Customer |
int |
yes |
no |
customer2 |
Relationship |
int |
yes |
no |
status |
Status |
select |
yes |
no |
allowLogin |
Allow login for me |
bool |
yes |
no |
allowPayVoucher |
Allow my vouchers |
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 |
Values for status
Value |
Name |
1 |
Sent |
2 |
Accepted |
3 |
declined |
4 |
Blocked up |
Relationship Group
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/relationshipGroup/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/relationshipGroup
Create
POST https://eu.golfmanager.com/api/model/relationshipGroup
Update
POST https://eu.golfmanager.com/api/model/relationshipGroup/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/relationshipGroup/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
customer |
Customer |
int |
yes |
no |
customer1 |
Client 1 |
int |
no |
no |
customer2 |
Client 2 |
int |
no |
no |
customer3 |
Client 3 |
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 |