Staff

Get Single User Group

get/staff/v1/businessLocations/{businessLocationId}/groups/{groupId}

Path parameters

businessLocationIdinteger required

The unique identifier for the business location.

groupIdinteger required

The unique identifier for the user group.

Response

POS User Group

Example response

{
  "data": {
    "staffGroup": {
      "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
  }
}