POST api/ITILAuditModel/AddITILAuditModelSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILAuditModelDTO
NameDescriptionTypeAdditional information
ModelId

integer

None.

ModelName

string

String length: inclusive between 0 and 1000

Account

string

String length: inclusive between 0 and 50

CreateDate

date

None.

UserLevel

string

String length: inclusive between 0 and 1

ApplyProject

string

String length: inclusive between 0 and 1

Request Formats

application/json, text/json

Sample:
{
  "ModelId": 1,
  "ModelName": "sample string 2",
  "Account": "sample string 3",
  "CreateDate": "2018-12-15T09:43:44.3408267+08:00",
  "UserLevel": "sample string 5",
  "ApplyProject": "sample string 6"
}

application/xml, text/xml

Sample:
<ITILAuditModelDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <Account>sample string 3</Account>
  <ApplyProject>sample string 6</ApplyProject>
  <CreateDate>2018-12-15T09:43:44.3408267+08:00</CreateDate>
  <ModelId>1</ModelId>
  <ModelName>sample string 2</ModelName>
  <UserLevel>sample string 5</UserLevel>
</ITILAuditModelDTO>

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

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>