POST api/ITILPauseServiceBranch/EditITILPauseServiceBranchSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILPauseServiceBranchDTO
NameDescriptionTypeAdditional information
ID

integer

None.

PauseService

string

String length: inclusive between 0 and 100

PauseDescription

string

String length: inclusive between 0 and 1000

PauseStaff

string

String length: inclusive between 0 and 50

PausePhone

string

String length: inclusive between 0 and 50

OrgCode

string

String length: inclusive between 0 and 100

ParentCode

string

String length: inclusive between 0 and 100

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "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-22T04:06:42.9028089+08:00"
}

application/xml, text/xml

Sample:
<ITILPauseServiceBranchDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <CreateDate>2019-03-22T04:06:42.9028089+08:00</CreateDate>
  <ID>1</ID>
  <OrgCode>sample string 6</OrgCode>
  <ParentCode>sample string 7</ParentCode>
  <PauseDescription>sample string 3</PauseDescription>
  <PausePhone>sample string 5</PausePhone>
  <PauseService>sample string 2</PauseService>
  <PauseStaff>sample string 4</PauseStaff>
</ITILPauseServiceBranchDTO>

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

Response Information

Resource Description

StatusDTO
NameDescriptionTypeAdditional information
Status

状态

integer

None.

StatusMessage

消息

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Status": 1,
  "StatusMessage": "sample string 1"
}

application/xml, text/xml

Sample:
<StatusDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Status>1</Status>
  <StatusMessage>sample string 1</StatusMessage>
</StatusDTO>