POST api/ITILServiceRequest/GetSerciveCategoryList

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

Collection of ITILServiceRequestDTO
NameDescriptionTypeAdditional information
ID

integer

None.

ServiceLev

string

String length: inclusive between 0 and 50

ServiceCategory

string

String length: inclusive between 0 and 100

ServiceDetailItem

string

String length: inclusive between 0 and 100

ServiceAccepter

string

String length: inclusive between 0 and 2000

ServiceAccepterHasName

string

String length: inclusive between 0 and 2000

ServiceOrgs

string

String length: inclusive between 0 and 2000

IsNeedApproval

boolean

None.

ContentTemplate

string

String length: inclusive between 0 and 4000

IsObsoleted

boolean

None.

CreateOn

date

None.

OrderBy

integer

None.

ServiceDesc

string

String length: inclusive between 0 and 500

AttURL

string

String length: inclusive between 0 and 500

IsReqBranDeptApproval

boolean

None.

IsReqDeptApproval

boolean

None.

IsAcceptBranDeptApproval

boolean

None.

IsReqRoomApproval

boolean

None.

IsAcceptDeptApproval

boolean

None.

IsAcceptRoomApproval

boolean

None.

IsBranBankReqDeptApproval

boolean

None.

IsBranBankAcceptDeptApproval

boolean

None.

AttName

string

String length: inclusive between 0 and 500

Response Formats

application/json, text/json

Sample:
[
  {
    "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:35:05.7158553+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:35:05.7158553+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"
  }
]

application/xml, text/xml

Sample:
<ArrayOfITILServiceRequestDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <ITILServiceRequestDTO>
    <AttName>sample string 22</AttName>
    <AttURL>sample string 13</AttURL>
    <ContentTemplate>sample string 9</ContentTemplate>
    <CreateOn>2018-12-12T02:35:05.7158553+08:00</CreateOn>
    <ID>1</ID>
    <IsAcceptBranDeptApproval>true</IsAcceptBranDeptApproval>
    <IsAcceptDeptApproval>true</IsAcceptDeptApproval>
    <IsAcceptRoomApproval>true</IsAcceptRoomApproval>
    <IsBranBankAcceptDeptApproval>true</IsBranBankAcceptDeptApproval>
    <IsBranBankReqDeptApproval>true</IsBranBankReqDeptApproval>
    <IsNeedApproval>true</IsNeedApproval>
    <IsObsoleted>true</IsObsoleted>
    <IsReqBranDeptApproval>true</IsReqBranDeptApproval>
    <IsReqDeptApproval>true</IsReqDeptApproval>
    <IsReqRoomApproval>true</IsReqRoomApproval>
    <OrderBy>1</OrderBy>
    <ServiceAccepter>sample string 5</ServiceAccepter>
    <ServiceAccepterHasName>sample string 6</ServiceAccepterHasName>
    <ServiceCategory>sample string 3</ServiceCategory>
    <ServiceDesc>sample string 12</ServiceDesc>
    <ServiceDetailItem>sample string 4</ServiceDetailItem>
    <ServiceLev>sample string 2</ServiceLev>
    <ServiceOrgs>sample string 7</ServiceOrgs>
  </ITILServiceRequestDTO>
  <ITILServiceRequestDTO>
    <AttName>sample string 22</AttName>
    <AttURL>sample string 13</AttURL>
    <ContentTemplate>sample string 9</ContentTemplate>
    <CreateOn>2018-12-12T02:35:05.7158553+08:00</CreateOn>
    <ID>1</ID>
    <IsAcceptBranDeptApproval>true</IsAcceptBranDeptApproval>
    <IsAcceptDeptApproval>true</IsAcceptDeptApproval>
    <IsAcceptRoomApproval>true</IsAcceptRoomApproval>
    <IsBranBankAcceptDeptApproval>true</IsBranBankAcceptDeptApproval>
    <IsBranBankReqDeptApproval>true</IsBranBankReqDeptApproval>
    <IsNeedApproval>true</IsNeedApproval>
    <IsObsoleted>true</IsObsoleted>
    <IsReqBranDeptApproval>true</IsReqBranDeptApproval>
    <IsReqDeptApproval>true</IsReqDeptApproval>
    <IsReqRoomApproval>true</IsReqRoomApproval>
    <OrderBy>1</OrderBy>
    <ServiceAccepter>sample string 5</ServiceAccepter>
    <ServiceAccepterHasName>sample string 6</ServiceAccepterHasName>
    <ServiceCategory>sample string 3</ServiceCategory>
    <ServiceDesc>sample string 12</ServiceDesc>
    <ServiceDetailItem>sample string 4</ServiceDetailItem>
    <ServiceLev>sample string 2</ServiceLev>
    <ServiceOrgs>sample string 7</ServiceOrgs>
  </ITILServiceRequestDTO>
</ArrayOfITILServiceRequestDTO>