POST services/api/rest/v1/Get_RestPosPrivilege_ByUserId

Request Information

URI Parameters

None.

Body Parameters

UserId_LocationId
NameDescriptionTypeAdditional information
UserId

integer

None.

LocationId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserId": 1,
  "LocationId": 2
}

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Collection of PosPrivilege_Master
NameDescriptionTypeAdditional information
LocationId

integer

None.

UserId

integer

None.

PrivilegeDetails

Collection of PosPrivilege_Details

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "LocationId": 1,
    "UserId": 2,
    "PrivilegeDetails": [
      {
        "ActionId": 1,
        "ActionName": "sample string 2",
        "UserRight": true
      },
      {
        "ActionId": 1,
        "ActionName": "sample string 2",
        "UserRight": true
      }
    ]
  },
  {
    "LocationId": 1,
    "UserId": 2,
    "PrivilegeDetails": [
      {
        "ActionId": 1,
        "ActionName": "sample string 2",
        "UserRight": true
      },
      {
        "ActionId": 1,
        "ActionName": "sample string 2",
        "UserRight": true
      }
    ]
  }
]