Download OpenAPI specification:
Use the Internet of Things (IoT) Data API to get your digital twin data for an IoT domain. For more information, see Internet of Things documentation.
Data API Endpoints
Retrieve raw data received from IoT devices in the IoT domain.
id required | string^[^/]+$ Record id |
{- "id": 0,
- "digital_twin_instance_id": "string",
- "content_type": "string",
- "time_received": "2019-08-24T14:15:22Z",
- "content": { }
}
Retrieve collection of records from IoT devices in the IoT domain that were rejected during normalization.
{- "items": [
- {
- "id": "string",
- "digital_twin_instance_id": "string",
- "content_type": "string",
- "time_received": "2019-08-24T14:15:22Z",
- "reason_code": 0,
- "reason_message": "string"
}
]
}
Retrieve record from IoT devices in the IoT domain that were rejected during normalization.
id required | string^[^/]+$ Record id |
{- "id": "string",
- "digital_twin_instance_id": "string",
- "content_type": "string",
- "time_received": "2019-08-24T14:15:22Z",
- "reason_code": 0,
- "reason_message": "string",
- "content": { }
}
Retrieve records of the last known value of digital twin instances in the IoT domain.
{- "items": [
- {
- "digital_twin_instance_id": "string",
- "content_path": "string",
- "value": null,
- "time_observed": "2019-08-24T14:15:22Z"
}
]
}
Retrieve time-series data of the digital twin instances in the IoT domain, whose model content is marked as 'Historized'.
{- "items": [
- {
- "id": 0,
- "digital_twin_instance_id": "string",
- "content_path": "string",
- "value": null,
- "time_observed": "2019-08-24T14:15:22Z"
}
]
}
Retrieve a record of time-series data of the digital twin instances in the IoT domain, whose model content is marked as 'Historized'.
id required | string^[^/]+$ Record id |
{- "id": 0,
- "digital_twin_instance_id": "string",
- "content_path": "string",
- "value": null,
- "time_observed": "2019-08-24T14:15:22Z"
}
Retrieve raw data commands sent to digital twin instances in the IoT domain.
{- "items": [
- {
- "id": "string",
- "digital_twin_instance_id": "string",
- "request_duration": "string",
- "request_data_format": "TEXT",
- "request_content_type": "string",
- "response_duration": "string",
- "response_data_format": "TEXT",
- "response_content_type": "string",
- "delivery_status": "ACCEPTED",
- "created_by": "string",
- "time_created": "2019-08-24T14:15:22Z",
- "time_updated": "2019-08-24T14:15:22Z",
- "time_finished": "2019-08-24T14:15:22Z"
}
]
}
Retrieve a data record commands sent to digital twin instances in the IoT domain.
id required | string^[^/]+$ Record id |
{- "id": "string",
- "digital_twin_instance_id": "string",
- "request_duration": "string",
- "request_data_format": "TEXT",
- "request_content_type": "string",
- "response_duration": "string",
- "response_data_format": "TEXT",
- "response_content_type": "string",
- "delivery_status": "ACCEPTED",
- "created_by": "string",
- "time_created": "2019-08-24T14:15:22Z",
- "time_updated": "2019-08-24T14:15:22Z",
- "time_finished": "2019-08-24T14:15:22Z",
- "request_data": { },
- "response_data": { }
}