Get Report Access Levels - POS User

GET /staff/v1/businessLocations/{businessLocationId}/userTypes/POS/reportAccess

Path parameters

Responses

  • 200 application/json

    Report access level List

    Hide response attributes Show response attributes object
    • data object
      Hide data attribute Show data attribute object
      • staff array[object]
        Hide staff attributes Show staff attributes object
        • value string

          The value of the report access level.

        • The description of the report access level.

    • page object
      Hide page attributes Show page attributes object
      • page integer

        The current page number.

      • size integer

        The number of elements in the page.

      • The total number of elements.

      • totalPages integer

        The total number of pages of results.

GET /staff/v1/businessLocations/{businessLocationId}/userTypes/POS/reportAccess
curl \
 -X GET https://api.trial.lsk.lightspeed.app/staff/v1/businessLocations/{businessLocationId}/userTypes/POS/reportAccess \
 -H "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "data": {
    "staff": [
      {
        "value": "STAFF_REPORT_OWN_ACCESS",
        "description": "The POS user can see their own reports"
      }
    ]
  },
  "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
  }
}