POST api/ITILAuditListAssign/AddITILAuditListAssignSubmit

Request Information

URI Parameters

None.

Body Parameters

ITILAuditListAssignDTO
NameDescriptionTypeAdditional information
Id

integer

None.

BillNo

string

String length: inclusive between 0 and 50

EquipName

string

String length: inclusive between 0 and 100

EquipDesc

string

String length: inclusive between 0 and 100

EquipIP

string

String length: inclusive between 0 and 100

EquipUser

string

String length: inclusive between 0 and 1000

EquipDictate

string

String length: inclusive between 0 and 1000

CreateDate

date

None.

EquipType

string

String length: inclusive between 0 and 1

UserLevel

string

String length: inclusive between 0 and 1

Status

string

String length: inclusive between 0 and 100

TranTimes

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BillNo": "sample string 2",
  "EquipName": "sample string 3",
  "EquipDesc": "sample string 4",
  "EquipIP": "sample string 5",
  "EquipUser": "sample string 6",
  "EquipDictate": "sample string 7",
  "CreateDate": "2018-12-12T03:15:31.4189569+08:00",
  "EquipType": "sample string 9",
  "UserLevel": "sample string 10",
  "Status": "sample string 11",
  "TranTimes": 12
}

application/xml, text/xml

Sample:
<ITILAuditListAssignDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DTO">
  <BillNo>sample string 2</BillNo>
  <CreateDate>2018-12-12T03:15:31.4189569+08:00</CreateDate>
  <EquipDesc>sample string 4</EquipDesc>
  <EquipDictate>sample string 7</EquipDictate>
  <EquipIP>sample string 5</EquipIP>
  <EquipName>sample string 3</EquipName>
  <EquipType>sample string 9</EquipType>
  <EquipUser>sample string 6</EquipUser>
  <Id>1</Id>
  <Status>sample string 11</Status>
  <TranTimes>12</TranTimes>
  <UserLevel>sample string 10</UserLevel>
</ITILAuditListAssignDTO>

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

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>