Get single user data
ROLE_SUROLE_USERS) | id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
Update user data
ROLE_SUROLE_USERS) | id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
| 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": "venue1",
- "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.This will trigger respective actions in dependent modules, like loyalty, wallet, etc.
ROLE_SUROLE_USERS) | id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
Update user data (synchronous)
ROLE_SUROLE_USERS) | id required | string <uuid> Example: 9cbe650a-1fb7-4b06-912b-cead8a013e8b |
| 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",
- "password": "password123",
- "active": true,
- "roles": [
- {
- "role": "COOK"
}, - {
- "venue": "venue1",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}Get paginated list of users. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SUROLE_USERS) required | object (UserFilter) |
Create new user
ROLE_SUROLE_USERS) | 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": "venue1",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}Upsert auth strategy
ROLE_SUROLE_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 |
{- "strategy": "string",
- "id": "string",
- "password": "stringstri",
- "active": true
}Create new user (synchronous)
ROLE_SUROLE_USERS) | 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": "venue1",
- "role": "MANAGER"
}
], - "firstName": "Arnold",
- "lastName": "Schwarzenegger"
}Set own data.
| firstName | string[\p{L}\p{N}_. -]+ |
| lastName | string[\p{L}\p{N}_. -]+ |
| phone | string [ 3 .. 32 ] characters [a-zA-Z0-9. ()-]+ |
| pushId | string [ 3 .. 256 ] characters |
object |
{- "firstName": "string",
- "lastName": "string",
- "phone": "string",
- "pushId": "string",
- "properties": {
- "property1": "string",
- "property2": "string"
}
}Find by auth strategy
ROLE_SUROLE_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 user contact information.
ROLE_SUROLE_USERSROLE_USERCONTACT) | id required | string <uuid> |
| x-tenant | string <uuid> |
Upsert specific property
ROLE_SU) | property required | string[a-zA-Z0-9_.-]+ |
| property | string[a-zA-Z0-9_.-]+ |
| value required | string |
| isPrivate | boolean |
| isObfuscate | boolean |
{- "property": "string",
- "value": "string",
- "isPrivate": true,
- "isObfuscate": true
}Delete specific property
ROLE_SU) | property required | string[a-zA-Z0-9_.-]+ |
| isPrivate required | boolean |
Update tenant public properties
ROLE_SU) | property name* | string |
config
{- "config1": "value",
- "config2": "true"
}Get paginated list of tenant properties. This endpoint is compatible with React AdminOnRest framework to provide DataSource.
ROLE_SU) required | object (PropertiesFilter) |
Upsert property
ROLE_SU) | property | string[a-zA-Z0-9_.-]+ |
| value required | string |
| isPrivate | boolean |
| isObfuscate | boolean |
{- "property": "string",
- "value": "string",
- "isPrivate": true,
- "isObfuscate": true
}Get properties schema definition.
ROLE_SU) Get single module data
ROLE_SUROLE_MODULESROLE_READMODULESROLE_{venue}_MODULESROLE_{venue}_READMODULES) | id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: kiosk-1 |
Update (upsert) module data
ROLE_SUROLE_MODULESROLE_{venue}_MODULES) | id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: kiosk-1 |
| 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" "DELIVERY_PANEL" "UNKNOWN" |
| 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_SUROLE_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_SUROLE_MODULESROLE_READMODULESROLE_MANAGERROLE_{venue}_MODULESROLE_{venue}_READMODULESROLE_{venue}_MANAGER) required | object (ModuleFilter) |
| x-tenant | string <uuid> |
Create (upsert) new module
ROLE_SUROLE_MODULESROLE_{venue}_MODULES) | 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" "DELIVERY_PANEL" "UNKNOWN" |
| 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 common module config
ROLE_SUROLE_MODULESROLE_READMODULESROLE_{venue}_MODULESROLE_{venue}_READMODULES) | type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" "DELIVERY_PANEL" "UNKNOWN" Example: KDS |
Set common module config
ROLE_SUROLE_MODULES) | type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" "DELIVERY_PANEL" "UNKNOWN" Example: KDS |
| property name* | string |
{- "property1": "string",
- "property2": "string"
}Logout module (remove current token)
ROLE_SUROLE_MODULES) | id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: kiosk-1 |
Get module config for specific venue and module type.
| venue required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: venue-1 |
| type required | string Enum: "KIOSK" "POS_INTEGRATOR" "AGGREGATOR" "BI_CONNECTOR" "KDS" "STATUS_SCREEN" "LOYALTY" "LOYALTY_INTEGRATOR" "MOBILE_APP_LOYALTY" "ORDERING_WEB" "DELIVERY_PANEL" "UNKNOWN" Example: type=AGGREGATOR |
| filterConfigName | stringconfig\.[a-zA-Z0-9]+ Example: filterConfigName=config.storeId |
| filterConfigValue | string[a-zA-Z0-9._-]+ Example: filterConfigValue=abcXYZ-123 |
Get single module data
ROLE_SUROLE_MODULESROLE_READMODULESROLE_{venue}_MODULESROLE_{venue}_READMODULES) | id required | string [ 2 .. 64 ] characters [a-zA-Z0-9_-]+ Example: kiosk-1 |
Get user contact information.
ROLE_SUROLE_USERSROLE_USERCONTACT) | id required | string <uuid> |
| x-tenant | string <uuid> |
Revoke roles globally (from all users that have such role in venue or global context). You cannot revoke SU role this way. When used as regular user - does not revoke roles from himself (for security).
ROLE_SUROLE_USERS) [- "string"
]Grant role by login/email (list).
ROLE_SUROLE_USERS) | venue | string [ 1 .. 128 ] characters [a-zA-Z0-9_.-]+ |
| role required | string [ 1 .. 128 ] characters [a-zA-Z0-9_]+ |
| logins required | Array of strings [ 1 .. 100 ] items |
{- "venue": "string",
- "role": "string",
- "logins": [
- "string"
]
}