POST api/ITILAuditListAssign/AddITILAuditListAssignList

Request Information

URI Parameters

None.

Body Parameters

ITILAuditListAssignWhereDOM
NameDescriptionTypeAdditional information
BillNo

string

None.

EquipType

string

None.

UserLevel

string

None.

listDto

Collection of ITILAuditListAssignDTO

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BillNo": "sample string 1",
  "EquipType": "sample string 2",
  "UserLevel": "sample string 3",
  "listDto": [
    {
      "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-15T08:22:11.9502367+08:00",
      "EquipType": "sample string 9",
      "UserLevel": "sample string 10",
      "Status": "sample string 11",
      "TranTimes": 12
    },
    {
      "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-15T08:22:11.9502367+08:00",
      "EquipType": "sample string 9",
      "UserLevel": "sample string 10",
      "Status": "sample string 11",
      "TranTimes": 12
    }
  ],
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILAuditListAssignWhereDOM 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 1</BillNo>
  <EquipType>sample string 2</EquipType>
  <UserLevel>sample string 3</UserLevel>
  <listDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILAuditListAssignDTO>
      <d2p1:BillNo>sample string 2</d2p1:BillNo>
      <d2p1:CreateDate>2018-12-15T08:22:11.9502367+08:00</d2p1:CreateDate>
      <d2p1:EquipDesc>sample string 4</d2p1:EquipDesc>
      <d2p1:EquipDictate>sample string 7</d2p1:EquipDictate>
      <d2p1:EquipIP>sample string 5</d2p1:EquipIP>
      <d2p1:EquipName>sample string 3</d2p1:EquipName>
      <d2p1:EquipType>sample string 9</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Status>sample string 11</d2p1:Status>
      <d2p1:TranTimes>12</d2p1:TranTimes>
      <d2p1:UserLevel>sample string 10</d2p1:UserLevel>
    </d2p1:ITILAuditListAssignDTO>
    <d2p1:ITILAuditListAssignDTO>
      <d2p1:BillNo>sample string 2</d2p1:BillNo>
      <d2p1:CreateDate>2018-12-15T08:22:11.9502367+08:00</d2p1:CreateDate>
      <d2p1:EquipDesc>sample string 4</d2p1:EquipDesc>
      <d2p1:EquipDictate>sample string 7</d2p1:EquipDictate>
      <d2p1:EquipIP>sample string 5</d2p1:EquipIP>
      <d2p1:EquipName>sample string 3</d2p1:EquipName>
      <d2p1:EquipType>sample string 9</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:Status>sample string 11</d2p1:Status>
      <d2p1:TranTimes>12</d2p1:TranTimes>
      <d2p1:UserLevel>sample string 10</d2p1:UserLevel>
    </d2p1:ITILAuditListAssignDTO>
  </listDto>
</ITILAuditListAssignWhereDOM>

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

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>