POST DevicePoint/RecordEntity

Request Information

URI Parameters

None.

Body Parameters

TDevicePoint
NameDescriptionTypeAdditional information
ID

string

None.

TStation

TStation

None.

ctrlType

string

None.

bitIndex

integer

None.

ctrlText

string

None.

pointOrder

integer

None.

enableFlag

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ID": "sample string 1",
  "TStation": {
    "ID": "sample string 1",
    "TProductionLineInf": {
      "ID": "sample string 1",
      "lineName": "sample string 2",
      "lineInfNO": "sample string 3",
      "lineCode": 4,
      "scadaFlag": 5
    },
    "stationOrderInLine": 2,
    "PLCName": "sample string 3",
    "indexInPLC": 4,
    "stationOrder": 5,
    "stationNO": "sample string 6",
    "stationInf": "sample string 7",
    "stationFlag": 8,
    "ERPCode": "sample string 9",
    "ERPFlag": 10,
    "scadaFlag": 11
  },
  "ctrlType": "sample string 2",
  "bitIndex": 3,
  "ctrlText": "sample string 4",
  "pointOrder": 5,
  "enableFlag": 6
}

application/xml, text/xml

Sample:
<TDevicePoint xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Model.Set">
  <ID>sample string 1</ID>
  <TStation>
    <ERPCode>sample string 9</ERPCode>
    <ERPFlag>10</ERPFlag>
    <ID>sample string 1</ID>
    <PLCName>sample string 3</PLCName>
    <TProductionLineInf>
      <ID>sample string 1</ID>
      <lineCode>4</lineCode>
      <lineInfNO>sample string 3</lineInfNO>
      <lineName>sample string 2</lineName>
      <scadaFlag>5</scadaFlag>
    </TProductionLineInf>
    <indexInPLC>4</indexInPLC>
    <scadaFlag>11</scadaFlag>
    <stationFlag>8</stationFlag>
    <stationInf>sample string 7</stationInf>
    <stationNO>sample string 6</stationNO>
    <stationOrder>5</stationOrder>
    <stationOrderInLine>2</stationOrderInLine>
  </TStation>
  <bitIndex>3</bitIndex>
  <ctrlText>sample string 4</ctrlText>
  <ctrlType>sample string 2</ctrlType>
  <enableFlag>6</enableFlag>
  <pointOrder>5</pointOrder>
</TDevicePoint>

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.