Staff
Get Single User
Changed onget/staff/v1/businessLocations/{businessLocationId}/staff/{staffId}
Request
- Base URLhttps://api.trial.lsk.lightspeed.app
- URLhttps://api.trial.lsk.lightspeed.app/staff/v1/businessLocations/{businessLocationId}/staff/{staffId}
- 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.
staffIdinteger required
The unique identifier for the user.
Response
User object
Example response
{
"staffId": 1234,
"username": "John Doe",
"firstName": "John",
"lastName": "Doe",
"businessId": 12345,
"businessLocationId": 1234567890,
"groups": [
{
"id": 1234,
"name": "Bar Staff"
}
],
"roles": [
{
"id": 1234,
"name": "ROLE_CAN_LOGIN"
}
]
}Changes
- info
added the optional property
to the response with the status
- info
- info
added the optional property
to the response with the status
- info