Send IoT Data

Post
/data

Send IoT data for a specific asset ID and path.

Security
HTTP
Type basic

The base64-encoded credentials (username:password) defined in the connection configuration of a thing mapped on the HTTP Connector.

Query parameters
assetId
stringRequired

The asset id configured in the thing connection mapping.

ExampleA00123
path
stringRequired

The path configured in the thing connection mapping concatenated with the metric mapping path.

Examplemeasures
Body parameters

The metric payload.

Array of object
object
ts
integer (int64)

The timestamp associated to the metric values.

Example1732866613000
data
object

The metric values (JSON encoded) by metric mapping name.

Example{ "status": "WORKING", "temperature": 25, "active": true }
string
Exampletimestamp,status,temperature,active\n1732866613000,25,true
Responses
204

Metric data publishing succeeded.

400

Request data (parameters or payload) not valid.

object
message
string

The error response.

ExampleBad request
401

Client not authorized.

object
message
string

The error response.

ExampleClient not authorized
404

Asset ID not found.

object
message
string

The error response.

ExampleAssetID not found
413

Request payload too large (max 2MB).

object
message
string

The error response.

ExampleRequest payload too large
429

API call rate limit exeeded.
Checkout the HTTP Connector article for more details.

object
message
string

The error response.

ExampleAPI call rate limit exeeded
500

Internal server error.

object
message
string

The error response.

ExampleInternal Server Error