POST api/ITILPauseServiceBranch/AddITILPauseServiceAssign

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-05-23T14:31:09.5580525+08:00",
  "PauseEndDate": "2019-05-23T14:31:09.5580525+08:00",
  "PauseDescription": "sample string 6",
  "PauseStaff": "sample string 7",
  "PausePhone": "sample string 8",
  "CreateDate": "2019-05-23T14:31:09.5580525+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-05-23T14:31:09.5580525+08:00</CreateDate>
  <ParentCode>sample string 1</ParentCode>
  <PauseDescription>sample string 6</PauseDescription>
  <PauseEndDate>2019-05-23T14:31:09.5580525+08:00</PauseEndDate>
  <PausePhone>sample string 8</PausePhone>
  <PauseService>sample string 3</PauseService>
  <PauseStaff>sample string 7</PauseStaff>
  <PauseStartDate>2019-05-23T14:31:09.5580525+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

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>