POST api/Admin/Account/CreateTicketFromSensors

Request Information

URI Parameters

None.

Body Parameters

SensorDto
NameDescriptionTypeAdditional information
Id

integer

None.

sensorId

string

None.

sensorName

string

None.

sensorType

string

None.

unit

string

None.

defaultZeros

string

None.

defaultOnes

string

None.

deviceId

string

None.

deviceName

string

None.

deviceAddress

string

None.

clientId

string

None.

lastDataTime

string

None.

status

string

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "sensorId": "sample string 2",
  "sensorName": "sample string 3",
  "sensorType": "sample string 4",
  "unit": "sample string 5",
  "defaultZeros": "sample string 6",
  "defaultOnes": "sample string 7",
  "deviceId": "sample string 8",
  "deviceName": "sample string 9",
  "deviceAddress": "sample string 10",
  "clientId": "sample string 11",
  "lastDataTime": "sample string 12",
  "status": "sample string 13"
}

application/xml, text/xml

Sample:
check

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

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.