POST api/ITILServiceRequest/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILServiceRequestWhereDOM
NameDescriptionTypeAdditional information
ServiceLev

string

None.

ServiceCategory

string

None.

ServiceOrg

string

None.

StaffName

string

None.

Account

string

None.

OrgCode

string

None.

FullPathName

string

None.

ServiceDetailItem

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ServiceLev": "sample string 1",
  "ServiceCategory": "sample string 2",
  "ServiceOrg": "sample string 3",
  "StaffName": "sample string 4",
  "Account": "sample string 5",
  "OrgCode": "sample string 6",
  "FullPathName": "sample string 7",
  "ServiceDetailItem": "sample string 8",
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILServiceRequestWhereDOM 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 5</Account>
  <FullPathName>sample string 7</FullPathName>
  <OrgCode>sample string 6</OrgCode>
  <ServiceCategory>sample string 2</ServiceCategory>
  <ServiceDetailItem>sample string 8</ServiceDetailItem>
  <ServiceLev>sample string 1</ServiceLev>
  <ServiceOrg>sample string 3</ServiceOrg>
  <StaffName>sample string 4</StaffName>
</ITILServiceRequestWhereDOM>

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

Response Information

Resource Description

IViewPageListOfITILServiceRequestDTO
NameDescriptionTypeAdditional information
data

Collection of ITILServiceRequestDTO

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,
      "ServiceLev": "sample string 2",
      "ServiceCategory": "sample string 3",
      "ServiceDetailItem": "sample string 4",
      "ServiceAccepter": "sample string 5",
      "ServiceAccepterHasName": "sample string 6",
      "ServiceOrgs": "sample string 7",
      "IsNeedApproval": true,
      "ContentTemplate": "sample string 9",
      "IsObsoleted": true,
      "CreateOn": "2018-12-12T02:08:03.4815631+08:00",
      "OrderBy": 1,
      "ServiceDesc": "sample string 12",
      "AttURL": "sample string 13",
      "IsReqBranDeptApproval": true,
      "IsReqDeptApproval": true,
      "IsAcceptBranDeptApproval": true,
      "IsReqRoomApproval": true,
      "IsAcceptDeptApproval": true,
      "IsAcceptRoomApproval": true,
      "IsBranBankReqDeptApproval": true,
      "IsBranBankAcceptDeptApproval": true,
      "AttName": "sample string 22"
    },
    {
      "ID": 1,
      "ServiceLev": "sample string 2",
      "ServiceCategory": "sample string 3",
      "ServiceDetailItem": "sample string 4",
      "ServiceAccepter": "sample string 5",
      "ServiceAccepterHasName": "sample string 6",
      "ServiceOrgs": "sample string 7",
      "IsNeedApproval": true,
      "ContentTemplate": "sample string 9",
      "IsObsoleted": true,
      "CreateOn": "2018-12-12T02:08:03.4815631+08:00",
      "OrderBy": 1,
      "ServiceDesc": "sample string 12",
      "AttURL": "sample string 13",
      "IsReqBranDeptApproval": true,
      "IsReqDeptApproval": true,
      "IsAcceptBranDeptApproval": true,
      "IsReqRoomApproval": true,
      "IsAcceptDeptApproval": true,
      "IsAcceptRoomApproval": true,
      "IsBranBankReqDeptApproval": true,
      "IsBranBankAcceptDeptApproval": true,
      "AttName": "sample string 22"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5"
}

application/xml, text/xml

Sample:
<IViewPageListOfITILServiceRequestDTOpv1JTFkd 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:ITILServiceRequestDTO>
      <d2p1:AttName>sample string 22</d2p1:AttName>
      <d2p1:AttURL>sample string 13</d2p1:AttURL>
      <d2p1:ContentTemplate>sample string 9</d2p1:ContentTemplate>
      <d2p1:CreateOn>2018-12-12T02:08:03.4815631+08:00</d2p1:CreateOn>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsAcceptBranDeptApproval>true</d2p1:IsAcceptBranDeptApproval>
      <d2p1:IsAcceptDeptApproval>true</d2p1:IsAcceptDeptApproval>
      <d2p1:IsAcceptRoomApproval>true</d2p1:IsAcceptRoomApproval>
      <d2p1:IsBranBankAcceptDeptApproval>true</d2p1:IsBranBankAcceptDeptApproval>
      <d2p1:IsBranBankReqDeptApproval>true</d2p1:IsBranBankReqDeptApproval>
      <d2p1:IsNeedApproval>true</d2p1:IsNeedApproval>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:IsReqBranDeptApproval>true</d2p1:IsReqBranDeptApproval>
      <d2p1:IsReqDeptApproval>true</d2p1:IsReqDeptApproval>
      <d2p1:IsReqRoomApproval>true</d2p1:IsReqRoomApproval>
      <d2p1:OrderBy>1</d2p1:OrderBy>
      <d2p1:ServiceAccepter>sample string 5</d2p1:ServiceAccepter>
      <d2p1:ServiceAccepterHasName>sample string 6</d2p1:ServiceAccepterHasName>
      <d2p1:ServiceCategory>sample string 3</d2p1:ServiceCategory>
      <d2p1:ServiceDesc>sample string 12</d2p1:ServiceDesc>
      <d2p1:ServiceDetailItem>sample string 4</d2p1:ServiceDetailItem>
      <d2p1:ServiceLev>sample string 2</d2p1:ServiceLev>
      <d2p1:ServiceOrgs>sample string 7</d2p1:ServiceOrgs>
    </d2p1:ITILServiceRequestDTO>
    <d2p1:ITILServiceRequestDTO>
      <d2p1:AttName>sample string 22</d2p1:AttName>
      <d2p1:AttURL>sample string 13</d2p1:AttURL>
      <d2p1:ContentTemplate>sample string 9</d2p1:ContentTemplate>
      <d2p1:CreateOn>2018-12-12T02:08:03.4815631+08:00</d2p1:CreateOn>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:IsAcceptBranDeptApproval>true</d2p1:IsAcceptBranDeptApproval>
      <d2p1:IsAcceptDeptApproval>true</d2p1:IsAcceptDeptApproval>
      <d2p1:IsAcceptRoomApproval>true</d2p1:IsAcceptRoomApproval>
      <d2p1:IsBranBankAcceptDeptApproval>true</d2p1:IsBranBankAcceptDeptApproval>
      <d2p1:IsBranBankReqDeptApproval>true</d2p1:IsBranBankReqDeptApproval>
      <d2p1:IsNeedApproval>true</d2p1:IsNeedApproval>
      <d2p1:IsObsoleted>true</d2p1:IsObsoleted>
      <d2p1:IsReqBranDeptApproval>true</d2p1:IsReqBranDeptApproval>
      <d2p1:IsReqDeptApproval>true</d2p1:IsReqDeptApproval>
      <d2p1:IsReqRoomApproval>true</d2p1:IsReqRoomApproval>
      <d2p1:OrderBy>1</d2p1:OrderBy>
      <d2p1:ServiceAccepter>sample string 5</d2p1:ServiceAccepter>
      <d2p1:ServiceAccepterHasName>sample string 6</d2p1:ServiceAccepterHasName>
      <d2p1:ServiceCategory>sample string 3</d2p1:ServiceCategory>
      <d2p1:ServiceDesc>sample string 12</d2p1:ServiceDesc>
      <d2p1:ServiceDetailItem>sample string 4</d2p1:ServiceDetailItem>
      <d2p1:ServiceLev>sample string 2</d2p1:ServiceLev>
      <d2p1:ServiceOrgs>sample string 7</d2p1:ServiceOrgs>
    </d2p1:ITILServiceRequestDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILServiceRequestDTOpv1JTFkd>