Description
...
- Step 3 - Data Export
- At each Export Interval as per defined in the configuration, a new POST call should be fired as below:
POSTÂ https://mypiwebapiendpoint/piwebapi/streamsets/recorded with the following JSON payload containing a section for each WebId corresponding to the tags
[
{"WebId":"P0dOJNBHKNtkyDm55BXnk92AAwAAAAU1JWR0RZUExNT1NJRDAzXENEVDE1OA",
"Items":[
{"Timestamp":"2018-01-16T20:31:50.267Z","Value":15308.23},
{"Timestamp":"2018-01-16T20:31:51.234Z","Value":15308.88},
{"Timestamp":"2018-01-16T20:31:51.357Z","Value":15308.04},
{"Timestamp":"2018-01-16T20:31:51.678Z","Value":15309.15},
{"Timestamp":"2018-01-16T20:31:51.907Z","Value":15309.65}
]
},
{"WebId":"P0dOJNBHKNtkyDm55BXnk92A3OM1AAU1JWR0RZUExNT1NJRDAzXEZPR0hPUk4uQ1JJTw",
"Items":[
{"Timestamp":"2018-01-16T20:31:50.653Z","Value":15308.67},
{"Timestamp":"2018-01-16T20:31:51.124Z","Value":15308.86},
]
},
]
- A successful request will provide a "202 Accepted" response
- The activities (request/reply) should be logged through EdgeX log service
- At each Export Interval as per defined in the configuration, a new POST call should be fired as below:
...
Waiting for Go Export Client & Distribution to support HTTPS REST
[
{"WebId":"P0dOJNBHKNtkyDm55BXnk92A3OM1AAU1JWR0RZUExNT1NJRDAzXEZPR0hPUk4uQ1JJTw",
"Items":[
{"Timestamp":"2018-01-16T20:31:50Z","Value":15308},
{"Timestamp":"2018-01-16T20:31:51Z","Value":15308},
{"Timestamp":"2018-01-16T20:31:51Z","Value":15308},
{"Timestamp":"2018-01-16T20:31:51Z","Value":15309},
{"Timestamp":"2018-01-16T20:31:51Z","Value":15309}
]
}
...