Standard Format
Payload
[{ "gatewayId": null, "gatewaySerialNumber": null, "gatewayTypeId": null, "sourceId": null, "sourceSerialNumber": null, "sourceEan": null, "sourceName": null, "variableTypeId": null, "variableId": null, "meterNumber": null, "mappingConfig": null, "data": [{ "date": "0001-01-01T00:00:00", "value": 0.0 }, …] }, …]
Definition
The idea is to use a combination (or not) of the green fields to identify the variable in which to insert the data.
Example 1
- gatewaySerialNumber: in case you have sources with identical names on different gateways, we need a way to identify the gateway
- sourceName: to identify the source
- mappingConfig: to identify the variable
Example 2
- meterNumber: to identify the source
- mappingConfig: to identify the variable
Example 3
- variableId: to identify the variable
URL: https://push.opinum.com/api/data