GET api/askopoc/devices/{deviceId}/portopentime?from={from}&to={to}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
deviceId | integer |
Required |
|
from | string |
Required |
|
to | string |
Required |
Body Parameters
None.
Response Information
Resource Description
AskoPortDataName | Description | Type | Additional information |
---|---|---|---|
Name | string |
None. |
|
PeriodStart | date |
None. |
|
PeriodEnd | date |
None. |
|
TotalOpenTime | time interval |
None. |
|
NoOfStatusChangesInPeriod | integer |
None. |
|
OpenPercentage | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "Name": "sample string 1", "PeriodStart": "2025-05-19T23:03:01.1468207+00:00", "PeriodEnd": "2025-05-19T23:03:01.1468207+00:00", "TotalOpenTime": "00:00:00.1234567", "NoOfStatusChangesInPeriod": 5, "OpenPercentage": 6 }
text/html
Sample:
{"Name":"sample string 1","PeriodStart":"2025-05-19T23:03:01.1468207+00:00","PeriodEnd":"2025-05-19T23:03:01.1468207+00:00","TotalOpenTime":"00:00:00.1234567","NoOfStatusChangesInPeriod":5,"OpenPercentage":6}