POST api/ITILOperateRoomModel/EditITILOperateRoomModelSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILOperateRoomModelDTO
NameDescriptionTypeAdditional information
ModelId

integer

None.

ModelName

string

None.

Account

string

None.

CreateDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "ModelId": 1,
  "ModelName": "sample string 2",
  "Account": "sample string 3",
  "CreateDate": "2018-12-15T11:32:00.9973984+08:00"
}

application/xml, text/xml

Sample:
<ITILOperateRoomModelDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Account>sample string 3</Account>
  <CreateDate>2018-12-15T11:32:00.9973984+08:00</CreateDate>
  <ModelId>1</ModelId>
  <ModelName>sample string 2</ModelName>
</ITILOperateRoomModelDTO>

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

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>