Staff
Get All User Groups
Changed onget/staff/v1/businessLocations/{businessLocationId}/groups
Request
- Base URLhttps://api.trial.lsk.lightspeed.app
- URLhttps://api.trial.lsk.lightspeed.app/staff/v1/businessLocations/{businessLocationId}/groups
- AuthOAuth 2Authorization code: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/authToken URL: https://auth.lsk-prod.app/realms/k-series/protocol/openid-connect/token scopes: staff-api
Path parameters
businessLocationIdinteger required
The unique identifier for the business location.
Query parameters
pageinteger
The page number, when paginating.
sizeinteger
Number of results to return per page, when paginating.
sortstring[]
Sort by field and direction.
namestring
Filter on group name.
rolesstring[]
Filter on group roles.
Response
POS User Groups List
Example response
{
"data": {
"staffGroupList": [
{
"id": 1234,
"name": "Bar Staff",
"roles": [
{
"id": 1234,
"name": "ROLE_CAN_LOGIN"
}
]
}
]
},
"links": {
"first": {
"href": "https://api-trial.ikentoo.com/staff/v1/businessLocations/40570261078018/userTypes/POS?page=1&size=1&sort=userId,desc"
},
"self": {
"href": "https://api-trial.ikentoo.com/staff/v1/businessLocations/40570261078018/userTypes/POS?page=1&size=1&sort=userId,desc"
},
"next": {
"href": "https://api-trial.ikentoo.com/staff/v1/businessLocations/40570261078018/userTypes/POS?page=2&size=1&sort=userId,desc"
},
"last": {
"href": "https://api-trial.ikentoo.com/staff/v1/businessLocations/40570261078018/userTypes/POS?page=5&size=1&sort=userId,desc"
}
},
"page": {
"page": 1,
"size": 10,
"totalElements": 100,
"totalPages": 10
}
}Changes
- info
added the optional property
////to the response with the status
- info
- info
endpoint added
- info