GET jxc_api/ErpPermission/GetUserList

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of UserModel
NameDescriptionTypeAdditional information
UserSn

integer

None.

IsAdmin

boolean

None.

IsSuperAdmin

boolean

None.

UserName

string

None.

Mobile

string

None.

DptId

integer

None.

DptName

string

None.

Postion

string

None.

Roles

Collection of RoleSimpleModel

None.

CanViewAllBill

boolean

None.

CanOpeAllWh

boolean

None.

OpeWhList

Collection of integer

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "UserSn": 1,
    "IsAdmin": true,
    "IsSuperAdmin": true,
    "UserName": "sample string 4",
    "Mobile": "sample string 5",
    "DptId": 6,
    "DptName": "sample string 7",
    "Postion": "sample string 8",
    "Roles": [
      {
        "RoleId": 1,
        "RoleName": "sample string 2",
        "IsAdmin": true,
        "IsAccRole": true
      },
      {
        "RoleId": 1,
        "RoleName": "sample string 2",
        "IsAdmin": true,
        "IsAccRole": true
      }
    ],
    "CanViewAllBill": true,
    "CanOpeAllWh": true,
    "OpeWhList": [
      1,
      2
    ]
  },
  {
    "UserSn": 1,
    "IsAdmin": true,
    "IsSuperAdmin": true,
    "UserName": "sample string 4",
    "Mobile": "sample string 5",
    "DptId": 6,
    "DptName": "sample string 7",
    "Postion": "sample string 8",
    "Roles": [
      {
        "RoleId": 1,
        "RoleName": "sample string 2",
        "IsAdmin": true,
        "IsAccRole": true
      },
      {
        "RoleId": 1,
        "RoleName": "sample string 2",
        "IsAdmin": true,
        "IsAccRole": true
      }
    ],
    "CanViewAllBill": true,
    "CanOpeAllWh": true,
    "OpeWhList": [
      1,
      2
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/LemonScm.WebApi.Areas.Setting.Models.Permission">
  <UserModel>
    <CanOpeAllWh>true</CanOpeAllWh>
    <CanViewAllBill>true</CanViewAllBill>
    <DptId>6</DptId>
    <DptName>sample string 7</DptName>
    <IsAdmin>true</IsAdmin>
    <IsSuperAdmin>true</IsSuperAdmin>
    <Mobile>sample string 5</Mobile>
    <OpeWhList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </OpeWhList>
    <Postion>sample string 8</Postion>
    <Roles>
      <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>
    </Roles>
    <UserName>sample string 4</UserName>
    <UserSn>1</UserSn>
  </UserModel>
  <UserModel>
    <CanOpeAllWh>true</CanOpeAllWh>
    <CanViewAllBill>true</CanViewAllBill>
    <DptId>6</DptId>
    <DptName>sample string 7</DptName>
    <IsAdmin>true</IsAdmin>
    <IsSuperAdmin>true</IsSuperAdmin>
    <Mobile>sample string 5</Mobile>
    <OpeWhList xmlns:d3p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <d3p1:int>1</d3p1:int>
      <d3p1:int>2</d3p1:int>
    </OpeWhList>
    <Postion>sample string 8</Postion>
    <Roles>
      <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>
    </Roles>
    <UserName>sample string 4</UserName>
    <UserSn>1</UserSn>
  </UserModel>
</ArrayOfUserModel>