POST api/ITILStaffNoReside/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILStaffNoResideWhereDOM
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:
<ITILStaffNoResideWhereDOM 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>
</ITILStaffNoResideWhereDOM>

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

Response Information

Resource Description

IViewPageListOfITILStaffNoResideDTO
NameDescriptionTypeAdditional information
data

Collection of ITILStaffNoResideDTO

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,
      "StaffName": "sample string 2",
      "Type": "sample string 3",
      "Depatment": "sample string 4",
      "Tel": "sample string 5",
      "OpeationRoom": true,
      "AutoDoor": true,
      "IDCard": "sample string 8",
      "CreateDate": "2018-12-15T04:47:06.747054+08:00",
      "OrgCode": "sample string 10",
      "ParentCode": "sample string 11"
    },
    {
      "ID": 1,
      "StaffName": "sample string 2",
      "Type": "sample string 3",
      "Depatment": "sample string 4",
      "Tel": "sample string 5",
      "OpeationRoom": true,
      "AutoDoor": true,
      "IDCard": "sample string 8",
      "CreateDate": "2018-12-15T04:47:06.747054+08:00",
      "OrgCode": "sample string 10",
      "ParentCode": "sample string 11"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfITILStaffNoResideDTOpv1JTFkd 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:ITILStaffNoResideDTO>
      <d2p1:AutoDoor>true</d2p1:AutoDoor>
      <d2p1:CreateDate>2018-12-15T04:47:06.747054+08:00</d2p1:CreateDate>
      <d2p1:Depatment>sample string 4</d2p1:Depatment>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IDCard>sample string 8</d2p1:IDCard>
      <d2p1:OpeationRoom>true</d2p1:OpeationRoom>
      <d2p1:OrgCode>sample string 10</d2p1:OrgCode>
      <d2p1:ParentCode>sample string 11</d2p1:ParentCode>
      <d2p1:StaffName>sample string 2</d2p1:StaffName>
      <d2p1:Tel>sample string 5</d2p1:Tel>
      <d2p1:Type>sample string 3</d2p1:Type>
    </d2p1:ITILStaffNoResideDTO>
    <d2p1:ITILStaffNoResideDTO>
      <d2p1:AutoDoor>true</d2p1:AutoDoor>
      <d2p1:CreateDate>2018-12-15T04:47:06.747054+08:00</d2p1:CreateDate>
      <d2p1:Depatment>sample string 4</d2p1:Depatment>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IDCard>sample string 8</d2p1:IDCard>
      <d2p1:OpeationRoom>true</d2p1:OpeationRoom>
      <d2p1:OrgCode>sample string 10</d2p1:OrgCode>
      <d2p1:ParentCode>sample string 11</d2p1:ParentCode>
      <d2p1:StaffName>sample string 2</d2p1:StaffName>
      <d2p1:Tel>sample string 5</d2p1:Tel>
      <d2p1:Type>sample string 3</d2p1:Type>
    </d2p1:ITILStaffNoResideDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILStaffNoResideDTOpv1JTFkd>