POST DeviceTagCom/RecordEntityList

Request Information

URI Parameters

None.

Body Parameters

Collection of TDeviceTagCom
NameDescriptionTypeAdditional information
ID

string

None.

deviceName

string

None.

tagGroupName

string

None.

tagGroupIndex

integer

None.

tagPrefix

string

None.

tagName

string

None.

tagComment

string

None.

tagType

string

None.

tagProperty

integer

None.

dataLength

integer

None.

dataType

string

None.

scanRate

integer

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "ID": "sample string 1",
    "deviceName": "sample string 2",
    "tagGroupName": "sample string 3",
    "tagGroupIndex": 4,
    "tagPrefix": "sample string 5",
    "tagName": "sample string 6",
    "tagComment": "sample string 7",
    "tagType": "sample string 8",
    "tagProperty": 9,
    "dataLength": 10,
    "dataType": "sample string 11",
    "scanRate": 12
  },
  {
    "ID": "sample string 1",
    "deviceName": "sample string 2",
    "tagGroupName": "sample string 3",
    "tagGroupIndex": 4,
    "tagPrefix": "sample string 5",
    "tagName": "sample string 6",
    "tagComment": "sample string 7",
    "tagType": "sample string 8",
    "tagProperty": 9,
    "dataLength": 10,
    "dataType": "sample string 11",
    "scanRate": 12
  }
]

application/xml, text/xml

Sample:
<ArrayOfTDeviceTagCom xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Set">
  <TDeviceTagCom>
    <ID>sample string 1</ID>
    <dataLength>10</dataLength>
    <dataType>sample string 11</dataType>
    <deviceName>sample string 2</deviceName>
    <scanRate>12</scanRate>
    <tagComment>sample string 7</tagComment>
    <tagGroupIndex>4</tagGroupIndex>
    <tagGroupName>sample string 3</tagGroupName>
    <tagName>sample string 6</tagName>
    <tagPrefix>sample string 5</tagPrefix>
    <tagProperty>9</tagProperty>
    <tagType>sample string 8</tagType>
  </TDeviceTagCom>
  <TDeviceTagCom>
    <ID>sample string 1</ID>
    <dataLength>10</dataLength>
    <dataType>sample string 11</dataType>
    <deviceName>sample string 2</deviceName>
    <scanRate>12</scanRate>
    <tagComment>sample string 7</tagComment>
    <tagGroupIndex>4</tagGroupIndex>
    <tagGroupName>sample string 3</tagGroupName>
    <tagName>sample string 6</tagName>
    <tagPrefix>sample string 5</tagPrefix>
    <tagProperty>9</tagProperty>
    <tagType>sample string 8</tagType>
  </TDeviceTagCom>
</ArrayOfTDeviceTagCom>

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 'List`1'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.