GET api/Clock/{id}/Sensor?sensor={sensor}&from={from}&to={to}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
sensor | string |
Default value is |
|
from | string |
Default value is |
|
to | string |
Default value is |
Body Parameters
None.
Response Information
Resource Description
SensorOutDTOName | Description | Type | Additional information |
---|---|---|---|
ClockId | integer |
None. |
|
EventType | string |
None. |
|
TimingError | decimal number |
None. |
|
PrevUndeliverableMsg | integer |
None. |
|
Added | date |
None. |
|
DeliverySensor | Collection of DeliverySensorOutDTO |
None. |
|
HourSensor | Collection of HourSensorOutDTO |
None. |
|
QtrSensor | Collection of QtrSensorOutDTO |
None. |
|
PowerSensor | Collection of PowerSensorOutDTO |
None. |
|
ArcSensor | Collection of ArcSensorOutDTO |
None. |
|
AuxSensor | Collection of AuxSensorOutDTO |
None. |
|
EnvSensor | Collection of EnvSensorOutDTO |
None. |
Response Formats
application/json, text/json
Sample:
{ "ClockId": 1, "EventType": "sample string 2", "TimingError": 3.1, "PrevUndeliverableMsg": 4, "Added": "2025-01-09T07:48:53.6280148+00:00", "DeliverySensor": [ { "Net": "sample string 1" }, { "Net": "sample string 1" } ], "HourSensor": [ { "Start": 1, "Count": 2, "Duration": 3 }, { "Start": 1, "Count": 2, "Duration": 3 } ], "QtrSensor": [ { "Start": 1, "Qtr": 2, "Sequence": 3, "Duration": 4 }, { "Start": 1, "Qtr": 2, "Sequence": 3, "Duration": 4 } ], "PowerSensor": [ { "Status": true, "Battery": 2.1 }, { "Status": true, "Battery": 2.1 } ], "ArcSensor": [ { "Trend": "sample string 1", "Magnitude": 2, "BeatCountSnapshot": 3, "Time": 4 }, { "Trend": "sample string 1", "Magnitude": 2, "BeatCountSnapshot": 3, "Time": 4 } ], "AuxSensor": [ { "SensorType": "sample string 1", "MeasurementScale": "sample string 2", "MeasurementType": "sample string 3", "Value": "sample string 4" }, { "SensorType": "sample string 1", "MeasurementScale": "sample string 2", "MeasurementType": "sample string 3", "Value": "sample string 4" } ], "EnvSensor": [ { "Temp": 1.1, "Pres": 2.1, "Hum": 3.1, "WindDir": 4.1, "WindSpeed": 5.1 }, { "Temp": 1.1, "Pres": 2.1, "Hum": 3.1, "WindDir": 4.1, "WindSpeed": 5.1 } ] }
multipart/form-data
Sample:
--MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ClockId" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EventType" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="TimingError" 3.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PrevUndeliverableMsg" 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="Added" 2025-01-09T07:48:53.6280148+00:00 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DeliverySensor[0].Net" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="DeliverySensor[1].Net" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HourSensor[0].Start" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HourSensor[0].Count" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HourSensor[0].Duration" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HourSensor[1].Start" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HourSensor[1].Count" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="HourSensor[1].Duration" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QtrSensor[0].Start" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QtrSensor[0].Qtr" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QtrSensor[0].Sequence" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QtrSensor[0].Duration" 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QtrSensor[1].Start" 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QtrSensor[1].Qtr" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QtrSensor[1].Sequence" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="QtrSensor[1].Duration" 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PowerSensor[0].Status" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PowerSensor[0].Battery" 2.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PowerSensor[1].Status" True --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="PowerSensor[1].Battery" 2.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ArcSensor[0].Trend" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ArcSensor[0].Magnitude" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ArcSensor[0].BeatCountSnapshot" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ArcSensor[0].Time" 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ArcSensor[1].Trend" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ArcSensor[1].Magnitude" 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ArcSensor[1].BeatCountSnapshot" 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="ArcSensor[1].Time" 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AuxSensor[0].SensorType" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AuxSensor[0].MeasurementScale" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AuxSensor[0].MeasurementType" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AuxSensor[0].Value" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AuxSensor[1].SensorType" sample string 1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AuxSensor[1].MeasurementScale" sample string 2 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AuxSensor[1].MeasurementType" sample string 3 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="AuxSensor[1].Value" sample string 4 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[0].Temp" 1.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[0].Pres" 2.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[0].Hum" 3.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[0].WindDir" 4.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[0].WindSpeed" 5.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[1].Temp" 1.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[1].Pres" 2.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[1].Hum" 3.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[1].WindDir" 4.1 --MultipartDataMediaFormatterBoundary1q2w3e Content-Disposition: form-data; name="EnvSensor[1].WindSpeed" 5.1 --MultipartDataMediaFormatterBoundary1q2w3e--