POST api/ITILStaffReside/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILStaffResideWhereDOM
NameDescriptionTypeAdditional information
SearchWhere

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "SearchWhere": "sample string 1",
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILStaffResideWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <SearchWhere>sample string 1</SearchWhere>
</ITILStaffResideWhereDOM>

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 'ITILStaffResideWhereDOM'.

Response Information

Resource Description

IViewPageListOfITILStaffResideDTO
NameDescriptionTypeAdditional information
data

Collection of ITILStaffResideDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "ID": 1,
      "CardNum": "sample string 2",
      "StaffName": "sample string 3",
      "Type": "sample string 4",
      "Depatment": "sample string 5",
      "Tel": "sample string 6",
      "OpeationRoom": true,
      "AutoDoor": true,
      "IDCard": "sample string 9",
      "OrgName": "sample string 10",
      "UpdateTime": "2018-12-12T01:33:48.7939576+08:00",
      "IsRun": true,
      "OrgCode": "sample string 13",
      "ParentCode": "sample string 14",
      "Account": "sample string 15",
      "Id": 16
    },
    {
      "ID": 1,
      "CardNum": "sample string 2",
      "StaffName": "sample string 3",
      "Type": "sample string 4",
      "Depatment": "sample string 5",
      "Tel": "sample string 6",
      "OpeationRoom": true,
      "AutoDoor": true,
      "IDCard": "sample string 9",
      "OrgName": "sample string 10",
      "UpdateTime": "2018-12-12T01:33:48.7939576+08:00",
      "IsRun": true,
      "OrgCode": "sample string 13",
      "ParentCode": "sample string 14",
      "Account": "sample string 15",
      "Id": 16
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfITILStaffResideDTOpv1JTFkd 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:ITILStaffResideDTO>
      <d2p1:CreateBy>sample string 18</d2p1:CreateBy>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:CreateTime>2018-12-12T01:33:48.7939576+08:00</d2p1:CreateTime>
      <d2p1:Id>16</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:ModifyBy>sample string 17</d2p1:ModifyBy>
      <d2p1:ModifyId>1</d2p1:ModifyId>
      <d2p1:ModifyTime>2018-12-12T01:33:48.7939576+08:00</d2p1:ModifyTime>
      <d2p1:Account>sample string 15</d2p1:Account>
      <d2p1:AutoDoor>true</d2p1:AutoDoor>
      <d2p1:CardNum>sample string 2</d2p1:CardNum>
      <d2p1:Depatment>sample string 5</d2p1:Depatment>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IDCard>sample string 9</d2p1:IDCard>
      <d2p1:IsRun>true</d2p1:IsRun>
      <d2p1:OpeationRoom>true</d2p1:OpeationRoom>
      <d2p1:OrgCode>sample string 13</d2p1:OrgCode>
      <d2p1:OrgName>sample string 10</d2p1:OrgName>
      <d2p1:ParentCode>sample string 14</d2p1:ParentCode>
      <d2p1:StaffName>sample string 3</d2p1:StaffName>
      <d2p1:Tel>sample string 6</d2p1:Tel>
      <d2p1:Type>sample string 4</d2p1:Type>
      <d2p1:UpdateTime>2018-12-12T01:33:48.7939576+08:00</d2p1:UpdateTime>
    </d2p1:ITILStaffResideDTO>
    <d2p1:ITILStaffResideDTO>
      <d2p1:CreateBy>sample string 18</d2p1:CreateBy>
      <d2p1:CreateId>1</d2p1:CreateId>
      <d2p1:CreateTime>2018-12-12T01:33:48.7939576+08:00</d2p1:CreateTime>
      <d2p1:Id>16</d2p1:Id>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:ModifyBy>sample string 17</d2p1:ModifyBy>
      <d2p1:ModifyId>1</d2p1:ModifyId>
      <d2p1:ModifyTime>2018-12-12T01:33:48.7939576+08:00</d2p1:ModifyTime>
      <d2p1:Account>sample string 15</d2p1:Account>
      <d2p1:AutoDoor>true</d2p1:AutoDoor>
      <d2p1:CardNum>sample string 2</d2p1:CardNum>
      <d2p1:Depatment>sample string 5</d2p1:Depatment>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IDCard>sample string 9</d2p1:IDCard>
      <d2p1:IsRun>true</d2p1:IsRun>
      <d2p1:OpeationRoom>true</d2p1:OpeationRoom>
      <d2p1:OrgCode>sample string 13</d2p1:OrgCode>
      <d2p1:OrgName>sample string 10</d2p1:OrgName>
      <d2p1:ParentCode>sample string 14</d2p1:ParentCode>
      <d2p1:StaffName>sample string 3</d2p1:StaffName>
      <d2p1:Tel>sample string 6</d2p1:Tel>
      <d2p1:Type>sample string 4</d2p1:Type>
      <d2p1:UpdateTime>2018-12-12T01:33:48.7939576+08:00</d2p1:UpdateTime>
    </d2p1:ITILStaffResideDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILStaffResideDTOpv1JTFkd>