POST api/OrgStaff/PageList

获取人员信息列表

Request Information

URI Parameters

None.

Body Parameters

OrgStaffWhereDOM
NameDescriptionTypeAdditional information
Account

账户

string

None.

StaffName

姓名

string

None.

Mobile

手机号

string

None.

OrgCode

机构代码

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Account": "sample string 1",
  "StaffName": "sample string 2",
  "Mobile": "sample string 3",
  "OrgCode": "sample string 4",
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<OrgStaffWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <Account>sample string 1</Account>
  <Mobile>sample string 3</Mobile>
  <OrgCode>sample string 4</OrgCode>
  <StaffName>sample string 2</StaffName>
</OrgStaffWhereDOM>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'OrgStaffWhereDOM'.

Response Information

Resource Description

获取人员信息列表

IViewPageListOfOrgStaffDTO
NameDescriptionTypeAdditional information
data

Collection of OrgStaffDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "StaffID": 1,
      "OrgCode": "sample string 2",
      "StaffCode": "sample string 3",
      "StaffName": "sample string 4",
      "Sex": "sample string 5",
      "Account": "sample string 6",
      "Password": "sample string 7",
      "Tel": "sample string 8",
      "Mobile": "sample string 9",
      "WebChat": "sample string 10",
      "NodeCode": "sample string 11",
      "NodeName": "sample string 12",
      "IsObsoleted": true,
      "CreatedBy": 14,
      "CreatedOn": "2018-12-14T12:19:46.2940261+08:00",
      "SysCode": "sample string 16",
      "IDCard": "sample string 17",
      "Remark": "sample string 18",
      "OrderNum": 19,
      "Source": "sample string 20",
      "OtherOrgCode": "sample string 21",
      "Status": 1,
      "Pid": "sample string 22",
      "OrgName": "sample string 23",
      "OrgType": "sample string 24",
      "OrgAddress": "sample string 25",
      "ParentCode": "sample string 26",
      "FullPathName": "sample string 27",
      "FullPathCode": "sample string 28",
      "OrgBusCode": "sample string 29",
      "OrgCodeOrgLev1": "sample string 30",
      "OrgCodeDept": "sample string 31",
      "OrgCodeRoom": "sample string 32",
      "ModuleGroupIds": [
        1,
        1
      ],
      "PositionIds": [
        1,
        2
      ]
    },
    {
      "StaffID": 1,
      "OrgCode": "sample string 2",
      "StaffCode": "sample string 3",
      "StaffName": "sample string 4",
      "Sex": "sample string 5",
      "Account": "sample string 6",
      "Password": "sample string 7",
      "Tel": "sample string 8",
      "Mobile": "sample string 9",
      "WebChat": "sample string 10",
      "NodeCode": "sample string 11",
      "NodeName": "sample string 12",
      "IsObsoleted": true,
      "CreatedBy": 14,
      "CreatedOn": "2018-12-14T12:19:46.2940261+08:00",
      "SysCode": "sample string 16",
      "IDCard": "sample string 17",
      "Remark": "sample string 18",
      "OrderNum": 19,
      "Source": "sample string 20",
      "OtherOrgCode": "sample string 21",
      "Status": 1,
      "Pid": "sample string 22",
      "OrgName": "sample string 23",
      "OrgType": "sample string 24",
      "OrgAddress": "sample string 25",
      "ParentCode": "sample string 26",
      "FullPathName": "sample string 27",
      "FullPathCode": "sample string 28",
      "OrgBusCode": "sample string 29",
      "OrgCodeOrgLev1": "sample string 30",
      "OrgCodeDept": "sample string 31",
      "OrgCodeRoom": "sample string 32",
      "ModuleGroupIds": [
        1,
        1
      ],
      "PositionIds": [
        1,
        2
      ]
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfOrgStaffDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonTool">
  <code>4</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:OrgStaffDTO>
      <d2p1:Account>sample string 6</d2p1:Account>
      <d2p1:CreatedBy>14</d2p1:CreatedBy>
      <d2p1:CreatedOn>2018-12-14T12:19:46.2940261+08:00</d2p1:CreatedOn>
      <d2p1:FullPathCode>sample string 28</d2p1:FullPathCode>
      <d2p1:FullPathName>sample string 27</d2p1:FullPathName>
      <d2p1:IDCard>sample string 17</d2p1:IDCard>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:Mobile>sample string 9</d2p1:Mobile>
      <d2p1:ModuleGroupIds xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>1</d4p1:int>
      </d2p1:ModuleGroupIds>
      <d2p1:NodeCode>sample string 11</d2p1:NodeCode>
      <d2p1:NodeName>sample string 12</d2p1:NodeName>
      <d2p1:OrderNum>19</d2p1:OrderNum>
      <d2p1:OrgAddress>sample string 25</d2p1:OrgAddress>
      <d2p1:OrgBusCode>sample string 29</d2p1:OrgBusCode>
      <d2p1:OrgCode>sample string 2</d2p1:OrgCode>
      <d2p1:OrgCodeDept>sample string 31</d2p1:OrgCodeDept>
      <d2p1:OrgCodeOrgLev1>sample string 30</d2p1:OrgCodeOrgLev1>
      <d2p1:OrgCodeRoom>sample string 32</d2p1:OrgCodeRoom>
      <d2p1:OrgName>sample string 23</d2p1:OrgName>
      <d2p1:OrgType>sample string 24</d2p1:OrgType>
      <d2p1:OtherOrgCode>sample string 21</d2p1:OtherOrgCode>
      <d2p1:ParentCode>sample string 26</d2p1:ParentCode>
      <d2p1:Password>sample string 7</d2p1:Password>
      <d2p1:Pid>sample string 22</d2p1:Pid>
      <d2p1:PositionIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:PositionIds>
      <d2p1:Remark>sample string 18</d2p1:Remark>
      <d2p1:Sex>sample string 5</d2p1:Sex>
      <d2p1:Source>sample string 20</d2p1:Source>
      <d2p1:StaffCode>sample string 3</d2p1:StaffCode>
      <d2p1:StaffID>1</d2p1:StaffID>
      <d2p1:StaffName>sample string 4</d2p1:StaffName>
      <d2p1:Status>1</d2p1:Status>
      <d2p1:SysCode>sample string 16</d2p1:SysCode>
      <d2p1:Tel>sample string 8</d2p1:Tel>
      <d2p1:WebChat>sample string 10</d2p1:WebChat>
    </d2p1:OrgStaffDTO>
    <d2p1:OrgStaffDTO>
      <d2p1:Account>sample string 6</d2p1:Account>
      <d2p1:CreatedBy>14</d2p1:CreatedBy>
      <d2p1:CreatedOn>2018-12-14T12:19:46.2940261+08:00</d2p1:CreatedOn>
      <d2p1:FullPathCode>sample string 28</d2p1:FullPathCode>
      <d2p1:FullPathName>sample string 27</d2p1:FullPathName>
      <d2p1:IDCard>sample string 17</d2p1:IDCard>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:Mobile>sample string 9</d2p1:Mobile>
      <d2p1:ModuleGroupIds xmlns:d4p1="http://schemas.datacontract.org/2004/07/System">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>1</d4p1:int>
      </d2p1:ModuleGroupIds>
      <d2p1:NodeCode>sample string 11</d2p1:NodeCode>
      <d2p1:NodeName>sample string 12</d2p1:NodeName>
      <d2p1:OrderNum>19</d2p1:OrderNum>
      <d2p1:OrgAddress>sample string 25</d2p1:OrgAddress>
      <d2p1:OrgBusCode>sample string 29</d2p1:OrgBusCode>
      <d2p1:OrgCode>sample string 2</d2p1:OrgCode>
      <d2p1:OrgCodeDept>sample string 31</d2p1:OrgCodeDept>
      <d2p1:OrgCodeOrgLev1>sample string 30</d2p1:OrgCodeOrgLev1>
      <d2p1:OrgCodeRoom>sample string 32</d2p1:OrgCodeRoom>
      <d2p1:OrgName>sample string 23</d2p1:OrgName>
      <d2p1:OrgType>sample string 24</d2p1:OrgType>
      <d2p1:OtherOrgCode>sample string 21</d2p1:OtherOrgCode>
      <d2p1:ParentCode>sample string 26</d2p1:ParentCode>
      <d2p1:Password>sample string 7</d2p1:Password>
      <d2p1:Pid>sample string 22</d2p1:Pid>
      <d2p1:PositionIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </d2p1:PositionIds>
      <d2p1:Remark>sample string 18</d2p1:Remark>
      <d2p1:Sex>sample string 5</d2p1:Sex>
      <d2p1:Source>sample string 20</d2p1:Source>
      <d2p1:StaffCode>sample string 3</d2p1:StaffCode>
      <d2p1:StaffID>1</d2p1:StaffID>
      <d2p1:StaffName>sample string 4</d2p1:StaffName>
      <d2p1:Status>1</d2p1:Status>
      <d2p1:SysCode>sample string 16</d2p1:SysCode>
      <d2p1:Tel>sample string 8</d2p1:Tel>
      <d2p1:WebChat>sample string 10</d2p1:WebChat>
    </d2p1:OrgStaffDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfOrgStaffDTOpv1JTFkd>