GET api/smartUser/getAccessRightList?getAll={getAll}&userCode={userCode}&APIKey={APIKey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
getAll

string

Required

userCode

string

Required

APIKey

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of AccessRight
NameDescriptionTypeAdditional information
ID

integer

None.

ParentID

integer

None.

AccessRightCode

string

None.

AccessRightKey

string

None.

Text

string

None.

expanded

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "ID": 1,
    "ParentID": 2,
    "AccessRightCode": "sample string 3",
    "AccessRightKey": "sample string 4",
    "Text": "sample string 5",
    "expanded": true
  },
  {
    "ID": 1,
    "ParentID": 2,
    "AccessRightCode": "sample string 3",
    "AccessRightKey": "sample string 4",
    "Text": "sample string 5",
    "expanded": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfAccessRight xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SmartAcc.API.Controllers">
  <AccessRight>
    <AccessRightCode>sample string 3</AccessRightCode>
    <AccessRightKey>sample string 4</AccessRightKey>
    <ID>1</ID>
    <ParentID>2</ParentID>
    <Text>sample string 5</Text>
    <expanded>true</expanded>
  </AccessRight>
  <AccessRight>
    <AccessRightCode>sample string 3</AccessRightCode>
    <AccessRightKey>sample string 4</AccessRightKey>
    <ID>1</ID>
    <ParentID>2</ParentID>
    <Text>sample string 5</Text>
    <expanded>true</expanded>
  </AccessRight>
</ArrayOfAccessRight>