GET api/askopoc/gateways/{gatewayId}/portseries?from={from}&to={to}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
gatewayId | integer |
Required |
|
from | string |
Required |
|
to | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of AskoTsDataName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
DeviceId | integer |
None. |
|
Resolution | AskoTsResolution |
None. |
|
PeriodStart | date |
None. |
|
PeriodEnd | date |
None. |
|
Unit | AskoTsUnit |
None. |
|
Values | Collection of AskoTsValue |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Name": "sample string 1", "DeviceId": 2, "Resolution": "Minute", "PeriodStart": "2025-05-19T04:29:04.8237665+00:00", "PeriodEnd": "2025-05-19T04:29:04.8237665+00:00", "Unit": "OpenOrClosed", "Values": [ { "Value": 1.1, "StartTime": "2025-05-19T04:29:04.8237665+00:00" }, { "Value": 1.1, "StartTime": "2025-05-19T04:29:04.8237665+00:00" } ] }, { "Name": "sample string 1", "DeviceId": 2, "Resolution": "Minute", "PeriodStart": "2025-05-19T04:29:04.8237665+00:00", "PeriodEnd": "2025-05-19T04:29:04.8237665+00:00", "Unit": "OpenOrClosed", "Values": [ { "Value": 1.1, "StartTime": "2025-05-19T04:29:04.8237665+00:00" }, { "Value": 1.1, "StartTime": "2025-05-19T04:29:04.8237665+00:00" } ] } ]
text/html
Sample:
[{"Name":"sample string 1","DeviceId":2,"Resolution":"Minute","PeriodStart":"2025-05-19T04:29:04.8237665+00:00","PeriodEnd":"2025-05-19T04:29:04.8237665+00:00","Unit":"OpenOrClosed","Values":[{"Value":1.1,"StartTime":"2025-05-19T04:29:04.8237665+00:00"},{"Value":1.1,"StartTime":"2025-05-19T04:29:04.8237665+00:00"}]},{"Name":"sample string 1","DeviceId":2,"Resolution":"Minute","PeriodStart":"2025-05-19T04:29:04.8237665+00:00","PeriodEnd":"2025-05-19T04:29:04.8237665+00:00","Unit":"OpenOrClosed","Values":[{"Value":1.1,"StartTime":"2025-05-19T04:29:04.8237665+00:00"},{"Value":1.1,"StartTime":"2025-05-19T04:29:04.8237665+00:00"}]}]