Get single module data
ROLE_SU
ROLE_MODULES
ROLE_READMODULES
ROLE_{venue}_MODULES
ROLE_{venue}_READMODULES
) id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: kiosk-1 |
Update (upsert) module data
ROLE_SU
ROLE_MODULES
ROLE_{venue}_MODULES
) id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: kiosk-1 |
default response
id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ |
type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" |
production | boolean |
user | string <uuid> |
venue | string [ 0 .. 128 ] characters [a-zA-Z0-9_.-]+ |
config | object |
object |
module
{- "id": "kiosk-1",
- "type": "KIOSK",
- "production": false
}
Delete module.
ROLE_SU
ROLE_MODULES
) id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: kiosk-1 |
Get paginated list of modules. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SU
ROLE_MODULES
ROLE_READMODULES
ROLE_{venue}_MODULES
ROLE_{venue}_READMODULES
) required | object (ModuleFilter) |
x-tenant | string <uuid> |
Create (upsert) new module
ROLE_SU
ROLE_MODULES
ROLE_{venue}_MODULES
) default response
id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ |
type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" |
production | boolean |
user | string <uuid> |
venue | string [ 0 .. 128 ] characters [a-zA-Z0-9_.-]+ |
config | object |
object |
module
{- "id": "kiosk-1",
- "type": "KIOSK",
- "production": false
}
Get paginated list of users. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SU
ROLE_USERS
) required | object (UserFilter) |
Create new user
ROLE_SU
ROLE_USERS
) default response
trusted | boolean |
Array of objects (UserRole) [ 0 .. 64 ] items | |
login required | string |
password | string [ 8 .. 64 ] characters |
firstName | string[\p{L}\p{N}_. -]+ |
lastName | string[\p{L}\p{N}_. -]+ |
active | boolean |
phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
pushId | string [ 3 .. 256 ] characters |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
consents | Array of strings [ 0 .. 16 ] items |
object |
user
{- "id": "9cbe650a-1fb7-4b06-912b-cead8a013e8b",
- "login": "testomir5@3e.pl",
- "password": "password123",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "2de9a0c3-4b21-407c-83d1-031ea0735eb3",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}
Upsert auth strategy
ROLE_SU
ROLE_USERS
) id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
strategy required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ |
id required | string [ 1 .. 255 ] characters |
password | string [ 10 .. 64 ] characters |
active | boolean |
Find by auth strategy
ROLE_SU
ROLE_USERS
) strategy required | string [ 1 .. 32 ] characters [a-zA-Z0-9_.-]+ Example: strategy=FB |
id required | string [ 1 .. 255 ] characters Example: id=12345 |
email required | string [ 0 .. 255 ] characters Example: email=abc@domain.com |
Get single user data
ROLE_SU
ROLE_USERS
) id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
Update user data
ROLE_SU
ROLE_USERS
) id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
default response
trusted | boolean |
Array of objects (UserRole) [ 0 .. 64 ] items | |
login required | string |
password | string [ 8 .. 64 ] characters |
firstName | string[\p{L}\p{N}_. -]+ |
lastName | string[\p{L}\p{N}_. -]+ |
active | boolean |
phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
pushId | string [ 3 .. 256 ] characters |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
consents | Array of strings [ 0 .. 16 ] items |
object |
user
{- "login": "testomir5@3e.pl",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "2de9a0c3-4b21-407c-83d1-031ea0735eb3",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}
Delete user. Be careful as this is not reversible. If user has user management role he may delete every single user.
ROLE_SU
ROLE_USERS
) id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
Create new user (synchronous)
ROLE_SU
ROLE_USERS
) default response
trusted | boolean |
Array of objects (UserRole) [ 0 .. 64 ] items | |
login required | string |
password | string [ 8 .. 64 ] characters |
firstName | string[\p{L}\p{N}_. -]+ |
lastName | string[\p{L}\p{N}_. -]+ |
active | boolean |
phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
pushId | string [ 3 .. 256 ] characters |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
consents | Array of strings [ 0 .. 16 ] items |
object |
user
{- "id": "9cbe650a-1fb7-4b06-912b-cead8a013e8b",
- "login": "testomir5@3e.pl",
- "password": "password123",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "2de9a0c3-4b21-407c-83d1-031ea0735eb3",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}
Update user data (synchronous)
ROLE_SU
ROLE_USERS
) id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
default response
trusted | boolean |
Array of objects (UserRole) [ 0 .. 64 ] items | |
login required | string |
password | string [ 8 .. 64 ] characters |
firstName | string[\p{L}\p{N}_. -]+ |
lastName | string[\p{L}\p{N}_. -]+ |
active | boolean |
phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
pushId | string [ 3 .. 256 ] characters |
Array of objects (AuthStrategyDto) [ 0 .. 16 ] items | |
consents | Array of strings [ 0 .. 16 ] items |
object |
user
{- "login": "testomir5@3e.pl",
- "active": true,
- "password": "password123",
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "2de9a0c3-4b21-407c-83d1-031ea0735eb3",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}
Update tenant public properties
ROLE_SU
) default response
config
{- "config1": "value",
- "config2": "true"
}