You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

The connector can request a point to send records from its HistoryExtension to the Service.

Prerequisite

You must target an existing Device with a DeviceExt through the deviceId and an existing Point with a PointExt through the pointId. Only the first historyExtension of the point will be taken into account.

Example
Example
{
    "type": "SEND_HISTORY",
    "deviceId": "SHGBVYHDVHYyGhSYGVYAPagsYT",
    "pointId": "Shjshy",
    "payload": {
        "startDate": "<start date>",    
        "endDate": "<endDate>",
        "delta": <true/false>,
        "rollup": "5m" // Niagara rollup enum
    }
 }


The way that the different values are extracted from the Json can be changed in the connector advanced config.


See Histories to change the format of the exported messages.