Endpunkt-Daten mittels ID und Parametern abrufen
Diese API ermöglicht das Abrufen von Endpunkt-Daten mittels ID und Parametern.
Anfrage
GET /api/v2/endpointData/?endpointID={endpointID}&dateFrom={dateFrom}&dateTo={dateTo}&maxCount={maxCount} HTTP/1.1
Host: gear.cloud.studio
Authorization: Bearer {accessToken}Parameter
| Name | Description |
|---|---|
| accessToken | Access token with permissions to read endpoint information. See this page for more information. The access token can also be sent as part of the query string, using the "accessToken" parameter. |
| endpointID | Mandatory identifier indicating the endpoint from which data should be extracted. |
| dateFrom | Date from which endpoint data should be retrieved. |
| dateTo | Date until which endpoint data should be retrieved. |
| maxCount | Optional parameter indicating the maximum number of records to include in the result. Values greater than 500 are limited to 500 regardless of the value sent in the request. |
| The "endpointID" parameter is optional. |
|---|
Antwort
Die Antwort enthält die Liste der übereinstimmenden EndpointData, wie in diesem Beispiel gezeigt:
[
{
"EndpointID": 113653,
"Timestamp_UTC": "2021-10-15T22:51:19",
"Value": 18.91,
"SequenceNumber": 6683839
},
{
"EndpointID": 113653,
"Timestamp_UTC": "2021-10-15T23:01:25",
"Value": 16.93,
"SequenceNumber": 6683852
},
{
"EndpointID": 113653,
"Timestamp_UTC": "2021-10-15T23:11:28",
"Value": 16.97,
"SequenceNumber": 6683864
},
{
"EndpointID": 113653,
"Timestamp_UTC": "2021-10-15T23:41:36",
"Value": 16.93,
"SequenceNumber": 6683874
}
]Datentyp EndpointData
Introduction The EndpointData data type allows obtaining the configuration of an Endpoint. Below are all the properties of the EndpointData data type.
Die neuesten Daten von mehreren Endpoints abrufen
This service allows querying the latest recorded data from up to 5 devices at the same time, using a single call. Its use is primarily recommended...