GET api/Clock/{id}/SensorGroup?from={from}&to={to}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

from

string

Default value is

to

string

Default value is

Body Parameters

None.

Response Information

Resource Description

Collection of SensorGroup
NameDescriptionTypeAdditional information
Id

integer

None.

ClockId

integer

None.

TimeStamp

integer

None.

EventType

string

None.

TimingError

decimal number

None.

PrevUndeliverableMsg

integer

None.

Added

date

None.

HourSensor

HourSensor

None.

PowerSensor

PowerSensor

None.

EnvSensor

EnvSensor

None.

QtrSensors

Collection of QtrSensor

None.

AuxSensors

Collection of AuxSensor

None.

ArcSensors

Collection of ArcSensor

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "ClockId": 2,
    "TimeStamp": 3,
    "EventType": "sample string 4",
    "TimingError": 5.1,
    "PrevUndeliverableMsg": 6,
    "Added": "2025-01-09T07:41:43.3362628+00:00",
    "HourSensor": {
      "SensorGroupId": 1,
      "Start": 2,
      "Count": 3,
      "RunningBeatCount": 4,
      "ArcSensorSnapshot": 5,
      "ArcToleranceSnapshot": 6,
      "Duration": 7
    },
    "PowerSensor": {
      "SensorGroupId": 1,
      "Status": true,
      "Battery": 3.1
    },
    "EnvSensor": {
      "SensorGroupId": 1,
      "Temp": 2.1,
      "Pres": 3.1,
      "Hum": 4.1,
      "WindDir": 5.1,
      "WindSpeed": 6.1
    },
    "QtrSensors": [
      {
        "Id": 1,
        "Start": 2,
        "Qtr": 3,
        "Sequence": 4,
        "Duration": 5
      },
      {
        "Id": 1,
        "Start": 2,
        "Qtr": 3,
        "Sequence": 4,
        "Duration": 5
      }
    ],
    "AuxSensors": [
      {
        "Id": 1,
        "SensorType": "sample string 2",
        "MeasurementScale": "sample string 3",
        "MeasurementType": "sample string 4",
        "Value": "sample string 5"
      },
      {
        "Id": 1,
        "SensorType": "sample string 2",
        "MeasurementScale": "sample string 3",
        "MeasurementType": "sample string 4",
        "Value": "sample string 5"
      }
    ],
    "ArcSensors": [
      {
        "Id": 1,
        "Trend": "sample string 2",
        "Magnitude": 3,
        "BeatCountSnapshot": 4,
        "Time": 5
      },
      {
        "Id": 1,
        "Trend": "sample string 2",
        "Magnitude": 3,
        "BeatCountSnapshot": 4,
        "Time": 5
      }
    ]
  },
  {
    "Id": 1,
    "ClockId": 2,
    "TimeStamp": 3,
    "EventType": "sample string 4",
    "TimingError": 5.1,
    "PrevUndeliverableMsg": 6,
    "Added": "2025-01-09T07:41:43.3362628+00:00",
    "HourSensor": {
      "SensorGroupId": 1,
      "Start": 2,
      "Count": 3,
      "RunningBeatCount": 4,
      "ArcSensorSnapshot": 5,
      "ArcToleranceSnapshot": 6,
      "Duration": 7
    },
    "PowerSensor": {
      "SensorGroupId": 1,
      "Status": true,
      "Battery": 3.1
    },
    "EnvSensor": {
      "SensorGroupId": 1,
      "Temp": 2.1,
      "Pres": 3.1,
      "Hum": 4.1,
      "WindDir": 5.1,
      "WindSpeed": 6.1
    },
    "QtrSensors": [
      {
        "Id": 1,
        "Start": 2,
        "Qtr": 3,
        "Sequence": 4,
        "Duration": 5
      },
      {
        "Id": 1,
        "Start": 2,
        "Qtr": 3,
        "Sequence": 4,
        "Duration": 5
      }
    ],
    "AuxSensors": [
      {
        "Id": 1,
        "SensorType": "sample string 2",
        "MeasurementScale": "sample string 3",
        "MeasurementType": "sample string 4",
        "Value": "sample string 5"
      },
      {
        "Id": 1,
        "SensorType": "sample string 2",
        "MeasurementScale": "sample string 3",
        "MeasurementType": "sample string 4",
        "Value": "sample string 5"
      }
    ],
    "ArcSensors": [
      {
        "Id": 1,
        "Trend": "sample string 2",
        "Magnitude": 3,
        "BeatCountSnapshot": 4,
        "Time": 5
      },
      {
        "Id": 1,
        "Trend": "sample string 2",
        "Magnitude": 3,
        "BeatCountSnapshot": 4,
        "Time": 5
      }
    ]
  }
]

multipart/form-data

Sample:
--MultipartDataMediaFormatterBoundary1q2w3e
Content-Disposition: form-data; name=""

System.Collections.Generic.List`1[MBO_API.Models.SensorGroup]
--MultipartDataMediaFormatterBoundary1q2w3e--