POST api/ITILPauseServiceBranch/PageList

Request Information

URI Parameters

None.

Body Parameters

ITILPauseServiceBranchWhereDOM
NameDescriptionTypeAdditional information
ParentCode

string

None.

BillNo

string

None.

PauseService

string

None.

PauseStartDate

date

None.

PauseEndDate

date

None.

PauseDescription

string

None.

PauseStaff

string

None.

PausePhone

string

None.

CreateDate

date

None.

orgCode

string

None.

PageNum

integer

None.

NumPerPage

integer

None.

PageIndex

integer

None.

PageSize

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ParentCode": "sample string 1",
  "BillNo": "sample string 2",
  "PauseService": "sample string 3",
  "PauseStartDate": "2019-03-20T10:50:14.4186608+08:00",
  "PauseEndDate": "2019-03-20T10:50:14.4186608+08:00",
  "PauseDescription": "sample string 6",
  "PauseStaff": "sample string 7",
  "PausePhone": "sample string 8",
  "CreateDate": "2019-03-20T10:50:14.4186608+08:00",
  "orgCode": "sample string 10",
  "PageNum": 1,
  "NumPerPage": 1,
  "PageIndex": 1,
  "PageSize": 1
}

application/xml, text/xml

Sample:
<ITILPauseServiceBranchWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <BillNo>sample string 2</BillNo>
  <CreateDate>2019-03-20T10:50:14.4186608+08:00</CreateDate>
  <ParentCode>sample string 1</ParentCode>
  <PauseDescription>sample string 6</PauseDescription>
  <PauseEndDate>2019-03-20T10:50:14.4186608+08:00</PauseEndDate>
  <PausePhone>sample string 8</PausePhone>
  <PauseService>sample string 3</PauseService>
  <PauseStaff>sample string 7</PauseStaff>
  <PauseStartDate>2019-03-20T10:50:14.4186608+08:00</PauseStartDate>
  <orgCode>sample string 10</orgCode>
</ITILPauseServiceBranchWhereDOM>

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

Response Information

Resource Description

IViewPageListOfITILPauseServiceBranchDTO
NameDescriptionTypeAdditional information
data

Collection of ITILPauseServiceBranchDTO

None.

total

integer

None.

pageSize

integer

None.

pageNum

integer

None.

code

integer

None.

message

string

None.

HasNextPage

boolean

None.

ColumnsList

Collection of Columns

None.

Response Formats

application/json, text/json

Sample:
{
  "data": [
    {
      "ID": 1,
      "PauseService": "sample string 2",
      "PauseDescription": "sample string 3",
      "PauseStaff": "sample string 4",
      "PausePhone": "sample string 5",
      "OrgCode": "sample string 6",
      "ParentCode": "sample string 7",
      "CreateDate": "2019-03-20T10:50:14.4342777+08:00"
    },
    {
      "ID": 1,
      "PauseService": "sample string 2",
      "PauseDescription": "sample string 3",
      "PauseStaff": "sample string 4",
      "PausePhone": "sample string 5",
      "OrgCode": "sample string 6",
      "ParentCode": "sample string 7",
      "CreateDate": "2019-03-20T10:50:14.4342777+08:00"
    }
  ],
  "total": 1,
  "pageSize": 2,
  "pageNum": 3,
  "code": 4,
  "message": "sample string 5",
  "HasNextPage": true,
  "ColumnsList": [
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    },
    {
      "key": "sample string 1",
      "title": "sample string 2",
      "type": "sample string 3",
      "width": 4,
      "align": "sample string 5",
      "value": "sample string 6"
    }
  ]
}

application/xml, text/xml

Sample:
<IViewPageListOfITILPauseServiceBranchDTOpv1JTFkd xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CommonTool">
  <ColumnsList>
    <Columns>
      <align>sample string 5</align>
      <key>sample string 1</key>
      <title>sample string 2</title>
      <type>sample string 3</type>
      <value>sample string 6</value>
      <width>4</width>
    </Columns>
    <Columns>
      <align>sample string 5</align>
      <key>sample string 1</key>
      <title>sample string 2</title>
      <type>sample string 3</type>
      <value>sample string 6</value>
      <width>4</width>
    </Columns>
  </ColumnsList>
  <HasNextPage>true</HasNextPage>
  <code>4</code>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILPauseServiceBranchDTO>
      <d2p1:CreateDate>2019-03-20T10:50:14.4342777+08:00</d2p1:CreateDate>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:OrgCode>sample string 6</d2p1:OrgCode>
      <d2p1:ParentCode>sample string 7</d2p1:ParentCode>
      <d2p1:PauseDescription>sample string 3</d2p1:PauseDescription>
      <d2p1:PausePhone>sample string 5</d2p1:PausePhone>
      <d2p1:PauseService>sample string 2</d2p1:PauseService>
      <d2p1:PauseStaff>sample string 4</d2p1:PauseStaff>
    </d2p1:ITILPauseServiceBranchDTO>
    <d2p1:ITILPauseServiceBranchDTO>
      <d2p1:CreateDate>2019-03-20T10:50:14.4342777+08:00</d2p1:CreateDate>
      <d2p1:ID>1</d2p1:ID>
      <d2p1:OrgCode>sample string 6</d2p1:OrgCode>
      <d2p1:ParentCode>sample string 7</d2p1:ParentCode>
      <d2p1:PauseDescription>sample string 3</d2p1:PauseDescription>
      <d2p1:PausePhone>sample string 5</d2p1:PausePhone>
      <d2p1:PauseService>sample string 2</d2p1:PauseService>
      <d2p1:PauseStaff>sample string 4</d2p1:PauseStaff>
    </d2p1:ITILPauseServiceBranchDTO>
  </data>
  <message>sample string 5</message>
  <pageNum>3</pageNum>
  <pageSize>2</pageSize>
  <total>1</total>
</IViewPageListOfITILPauseServiceBranchDTOpv1JTFkd>