POST api/SensorData

Add Sensor Data

Request Information

URI Parameters

None.

Body Parameters

Collection of SensorData
NameDescriptionTypeAdditional information
SensorID

integer

None.

DeploymentID

integer

None.

LastTriggerType

string

None.

LastTriggerTime

string

None.

MessageTime

string

None.

ResourceId

integer

None.

LastModifiedDate

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "SensorID": 1,
    "DeploymentID": 2,
    "LastTriggerType": "sample string 3",
    "LastTriggerTime": "sample string 4",
    "MessageTime": "sample string 5",
    "ResourceId": 6,
    "LastModifiedDate": "2026-04-04T07:50:27.4000547-04:00"
  },
  {
    "SensorID": 1,
    "DeploymentID": 2,
    "LastTriggerType": "sample string 3",
    "LastTriggerTime": "sample string 4",
    "MessageTime": "sample string 5",
    "ResourceId": 6,
    "LastModifiedDate": "2026-04-04T07:50:27.4000547-04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfSensorData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/RSMCP.Entities">
  <SensorData>
    <DeploymentID>2</DeploymentID>
    <LastModifiedDate>2026-04-04T07:50:27.4000547-04:00</LastModifiedDate>
    <LastTriggerTime>sample string 4</LastTriggerTime>
    <LastTriggerType>sample string 3</LastTriggerType>
    <MessageTime>sample string 5</MessageTime>
    <ResourceId>6</ResourceId>
    <SensorID>1</SensorID>
  </SensorData>
  <SensorData>
    <DeploymentID>2</DeploymentID>
    <LastModifiedDate>2026-04-04T07:50:27.4000547-04:00</LastModifiedDate>
    <LastTriggerTime>sample string 4</LastTriggerTime>
    <LastTriggerType>sample string 3</LastTriggerType>
    <MessageTime>sample string 5</MessageTime>
    <ResourceId>6</ResourceId>
    <SensorID>1</SensorID>
  </SensorData>
</ArrayOfSensorData>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.