POST api/ITILAuditModelList/AddAuditModelList

Request Information

URI Parameters

None.

Body Parameters

ITILAuditModelListWhereDOM
NameDescriptionTypeAdditional information
ModelId

string

None.

EquipIP

string

None.

EquipType

string

None.

CreateDate

date

None.

Status

integer

None.

StatusMessage

string

None.

data

Collection of ITILAuditModelListDTO

None.

listDto

Collection of ITILAuditModelListDTO

None.

PageNum

integer

None.

NumPerPage

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ModelId": "sample string 1",
  "EquipIP": "sample string 2",
  "EquipType": "sample string 3",
  "CreateDate": "2018-12-12T01:43:03.6378203+08:00",
  "Status": 5,
  "StatusMessage": "sample string 6",
  "data": [
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-12T01:43:03.6378203+08:00"
    },
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-12T01:43:03.6378203+08:00"
    }
  ],
  "listDto": [
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-12T01:43:03.6378203+08:00"
    },
    {
      "Id": 1,
      "ModelId": "sample string 2",
      "EquipName": "sample string 3",
      "EquipDesc": "sample string 4",
      "EquipIP": "sample string 5",
      "EquipUser": "sample string 6",
      "EquipDictate": "sample string 7",
      "EquipType": "sample string 8",
      "CreateDate": "2018-12-12T01:43:03.6378203+08:00"
    }
  ],
  "PageNum": 1,
  "NumPerPage": 1
}

application/xml, text/xml

Sample:
<ITILAuditModelListWhereDOM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DOM">
  <NumPerPage>1</NumPerPage>
  <PageNum>1</PageNum>
  <CreateDate>2018-12-12T01:43:03.6378203+08:00</CreateDate>
  <EquipIP>sample string 2</EquipIP>
  <EquipType>sample string 3</EquipType>
  <ModelId>sample string 1</ModelId>
  <Status>5</Status>
  <StatusMessage>sample string 6</StatusMessage>
  <data xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-12T01:43:03.6378203+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 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-12T01:43:03.6378203+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 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
  </data>
  <listDto xmlns:d2p1="http://schemas.datacontract.org/2004/07/DTO">
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-12T01:43:03.6378203+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 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
    <d2p1:ITILAuditModelListDTO>
      <d2p1:CreateDate>2018-12-12T01:43:03.6378203+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 8</d2p1:EquipType>
      <d2p1:EquipUser>sample string 6</d2p1:EquipUser>
      <d2p1:Id>1</d2p1:Id>
      <d2p1:ModelId>sample string 2</d2p1:ModelId>
    </d2p1:ITILAuditModelListDTO>
  </listDto>
</ITILAuditModelListWhereDOM>

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

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>