School Models
Coach
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/teacher/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/teacher
Create
POST https://eu.golfmanager.com/api/model/teacher
Update
POST https://eu.golfmanager.com/api/model/teacher/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/teacher/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
name |
Name |
string |
yes |
no |
avatar |
Image |
image |
no |
no |
email |
Email |
email |
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 |
Lesson package
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/course/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/course
Create
POST https://eu.golfmanager.com/api/model/course
Update
POST https://eu.golfmanager.com/api/model/course/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/course/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
name |
Name |
string |
yes |
no |
type |
Type |
int |
yes |
no |
maxParticipants |
Number of slots |
int |
no |
no |
start |
Start date |
date |
yes |
no |
end |
End date |
date |
yes |
no |
startTime |
Start time |
time |
no |
no |
endTime |
End time |
time |
no |
no |
daysOfWeek |
Days of the week |
daysOfWeek |
no |
no |
price |
|
float |
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 |
Lesson package type
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/courseType/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/courseType
Create
POST https://eu.golfmanager.com/api/model/courseType
Update
POST https://eu.golfmanager.com/api/model/courseType/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/courseType/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
name |
Name |
string |
yes |
no |
endDate |
End Date |
date |
no |
no |
duration |
Duration |
duration |
no |
no |
maxParticipants |
Number of slots |
int |
no |
no |
image |
Image |
image |
no |
no |
shortDescription |
Description |
markdown |
no |
no |
longDescription |
Long description |
markdown |
no |
no |
tags |
Lesson package label types |
manyToMany |
no |
no |
extrasTag |
Extras label |
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 |
Student
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/courseParticipant/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/courseParticipant
Create
POST https://eu.golfmanager.com/api/model/courseParticipant
Update
POST https://eu.golfmanager.com/api/model/courseParticipant/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/courseParticipant/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
course |
Lesson package |
int |
yes |
no |
customer |
Customer |
int |
yes |
no |
start |
Start |
date |
yes |
no |
end |
End |
date |
no |
no |
notify |
Notify |
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 |