on 2021 May 11 9:41 AM
Hello,
does anyone know how to format the body of the POST request for inserting measurement data on SAP PAI. Below are the references of the documentation:
https://help.sap.com/doc/c983364e2dae46ac96dfc366c61ebff6/2102/en-US/Time%20Series%20APIs.html#/
It is not clear to me:
- how to send multiple measurements
- how to associate the timestamp with the measurement
The goal is that of the example -> send multiple temperature measurements with relative timestamp
POST /api/v1/measurements/equipment/{equipmentId}/template/{templateId}/indicatorGroup/{indicatorGroupId}
body: [{
"temperature": 38,
"timestamp": "2021-06-05T08:15:27.432Z"
}, {
"temperature": 40,
"timestamp": "2021-06-05T08:15:30.324Z"
}]
Also is necessary to have a custom timestamp indicator or the API can manage automatically the timestamp of measure?
Documentation is unclear about request formatThank you in advance
Request clarification before answering.
| User | Count |
|---|---|
| 8 | |
| 7 | |
| 3 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.