POST api/ITILPauseServiceAssign/EditITILPauseServiceAssignSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILPauseServiceAssignDTO
NameDescriptionTypeAdditional information
ID

integer

None.

PauseService

string

String length: inclusive between 0 and 100

PauseStartDate

date

None.

PauseStartDateTxt

string

None.

PauseEndDate

date

None.

PauseEndDateTxt

string

None.

FactStartDate

date

None.

FactEndDate

date

None.

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

BillNo

string

String length: inclusive between 0 and 50

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": 1,
  "PauseService": "sample string 2",
  "PauseStartDate": "2019-05-19T22:33:11.869799+08:00",
  "PauseStartDateTxt": "2019-05-19 22:33:11",
  "PauseEndDate": "2019-05-19T22:33:11.869799+08:00",
  "PauseEndDateTxt": "2019-05-19 22:33:11",
  "FactStartDate": "2019-05-19T22:33:11.869799+08:00",
  "FactEndDate": "2019-05-19T22:33:11.869799+08:00",
  "PauseDescription": "sample string 5",
  "PauseStaff": "sample string 6",
  "PausePhone": "sample string 7",
  "BillNo": "sample string 8",
  "CreateDate": "2019-05-19T22:33:11.869799+08:00"
}

application/xml, text/xml

Sample:
<ITILPauseServiceAssignDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <BillNo>sample string 8</BillNo>
  <CreateDate>2019-05-19T22:33:11.869799+08:00</CreateDate>
  <FactEndDate>2019-05-19T22:33:11.869799+08:00</FactEndDate>
  <FactStartDate>2019-05-19T22:33:11.869799+08:00</FactStartDate>
  <ID>1</ID>
  <PauseDescription>sample string 5</PauseDescription>
  <PauseEndDate>2019-05-19T22:33:11.869799+08:00</PauseEndDate>
  <PausePhone>sample string 7</PausePhone>
  <PauseService>sample string 2</PauseService>
  <PauseStaff>sample string 6</PauseStaff>
  <PauseStartDate>2019-05-19T22:33:11.869799+08:00</PauseStartDate>
</ITILPauseServiceAssignDTO>

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

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>