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

Compare with Current View Page History

Version 1 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.


The contents of the messages received by the Service can be configured through the HistoryMessageTemplate in the Connector AdvancedConfig.