GET api/SensorData/S1CInputLoadData?SerialNumber={SerialNumber}&BeforeDate={BeforeDate}&AfterDate={AfterDate}&Count={Count}&SortDescending={SortDescending}
Get S1C Input/Load data
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialNumber |
Unit serial number |
string |
Required |
| BeforeDate |
Only records before this date (Optional) |
date |
None. |
| AfterDate |
Only records after this date (Optional) |
date |
None. |
| Count |
Number of records to return (Optional, default is 10 records) |
integer32 |
Default value is 10 |
| SortDescending |
Sort result by descending timestamp - latest record first (Optional, default is ascending timestamp) |
boolean |
Default value is True |
Body Parameters
None.
Response Information
Resource Description
Get S1C Input/Load data
Collection of InputLoadData| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialNumber |
Unit Serialnumber |
string |
Required |
| Timestamp |
Timestamp in UTC |
date |
None. |
| Input0 | InputLoadDataRecord |
None. |
|
| Input1 | InputLoadDataRecord |
None. |
|
| Input2 | InputLoadDataRecord |
None. |
|
| Input3 | InputLoadDataRecord |
None. |
|
| Load0 | InputLoadDataRecord |
None. |
|
| Load1 | InputLoadDataRecord |
None. |
|
| InputTrigger |
Only for S1C units with Firmware 1.12 and above. A bitmask for the input(s) that triggered a report. |
UnitInputTriggerEnum |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"SerialNumber": "sample string 1",
"Timestamp": "2025-10-27T17:39:09.3572122+00:00",
"Input0": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Input1": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Input2": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Input3": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Load0": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Load1": {
"Now": 1,
"Min": 2,
"Max": 3
},
"InputTrigger": 0
},
{
"SerialNumber": "sample string 1",
"Timestamp": "2025-10-27T17:39:09.3572122+00:00",
"Input0": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Input1": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Input2": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Input3": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Load0": {
"Now": 1,
"Min": 2,
"Max": 3
},
"Load1": {
"Now": 1,
"Min": 2,
"Max": 3
},
"InputTrigger": 0
}
]
application/xml, text/xml
Sample:
<ArrayOfInputLoadData xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models">
<InputLoadData>
<Input0>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Input0>
<Input1>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Input1>
<Input2>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Input2>
<Input3>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Input3>
<InputTrigger>None</InputTrigger>
<Load0>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Load0>
<Load1>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Load1>
<SerialNumber>sample string 1</SerialNumber>
<Timestamp>2025-10-27T17:39:09.3572122+00:00</Timestamp>
</InputLoadData>
<InputLoadData>
<Input0>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Input0>
<Input1>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Input1>
<Input2>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Input2>
<Input3>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Input3>
<InputTrigger>None</InputTrigger>
<Load0>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Load0>
<Load1>
<Max>3</Max>
<Min>2</Min>
<Now>1</Now>
</Load1>
<SerialNumber>sample string 1</SerialNumber>
<Timestamp>2025-10-27T17:39:09.3572122+00:00</Timestamp>
</InputLoadData>
</ArrayOfInputLoadData>