Ingredients Models
Ingredient
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/ingredient/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/ingredient
Create
POST https://eu.golfmanager.com/api/model/ingredient
Update
POST https://eu.golfmanager.com/api/model/ingredient/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/ingredient/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
parent |
Father product |
int |
yes |
no |
product |
Ingredient |
int |
yes |
no |
quantity |
Amount |
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 |
Unit
Endpoints
Retrieve by ID
GET https://eu.golfmanager.com/api/model/unit/[id]
Retrieve many
GET https://eu.golfmanager.com/api/model/unit
Create
POST https://eu.golfmanager.com/api/model/unit
Update
POST https://eu.golfmanager.com/api/model/unit/[id]
Delete
DELETE https://eu.golfmanager.com/api/model/unit/[id]
Fields
Name |
Label |
Type |
Required |
Readonly |
id |
ID |
int |
no |
yes |
name |
Name |
string |
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 |