GET jxc_api/ErpEmployee/GetSimpleRoleList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of RoleSimpleModel
NameDescriptionTypeAdditional information
RoleId

integer

None.

RoleName

string

None.

IsAdmin

boolean

None.

IsAccRole

boolean

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "RoleId": 1,
    "RoleName": "sample string 2",
    "IsAdmin": true,
    "IsAccRole": true
  },
  {
    "RoleId": 1,
    "RoleName": "sample string 2",
    "IsAdmin": true,
    "IsAccRole": true
  }
]

application/xml, text/xml

Sample:
<ArrayOfRoleSimpleModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Setting.Models.Permission">
  <RoleSimpleModel>
    <IsAccRole>true</IsAccRole>
    <IsAdmin>true</IsAdmin>
    <RoleId>1</RoleId>
    <RoleName>sample string 2</RoleName>
  </RoleSimpleModel>
  <RoleSimpleModel>
    <IsAccRole>true</IsAccRole>
    <IsAdmin>true</IsAdmin>
    <RoleId>1</RoleId>
    <RoleName>sample string 2</RoleName>
  </RoleSimpleModel>
</ArrayOfRoleSimpleModel>