GET api/SensorData/Units?Since={Since}
Returns all serialnumbers in your usergroup and all groups under your group, that has sensordata dated after a specific date Limit: Once per minute
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
Since |
Date to check for sensor data |
date |
Required |
Body Parameters
None.
Response Information
Resource Description
Returns all serialnumbers in your usergroup and all groups under your group, that has sensordata dated after a specific date Limit: Once per minute
Collection of UnitSerialNumberModelName | Description | Type | Additional information |
---|---|---|---|
SerialNumber |
Read Only |
string |
Required |
UserGroupId | integer32 |
None. |
|
ReferenceId | string |
None. |
|
Name | string |
None. |
|
ItemDescription | string |
None. |
|
LastModified |
UTC time of last modification |
date |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SerialNumber": "sample string 1", "UserGroupId": 2, "ReferenceId": "sample string 3", "Name": "sample string 4", "ItemDescription": "sample string 5", "LastModified": "2024-11-21T09:48:42.0416542+00:00" }, { "SerialNumber": "sample string 1", "UserGroupId": 2, "ReferenceId": "sample string 3", "Name": "sample string 4", "ItemDescription": "sample string 5", "LastModified": "2024-11-21T09:48:42.0416542+00:00" } ]
application/xml, text/xml
Sample:
<ArrayOfUnitSerialNumberModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/WebAPI.Models"> <UnitSerialNumberModel> <ItemDescription>sample string 5</ItemDescription> <LastModified>2024-11-21T09:48:42.0416542+00:00</LastModified> <Name>sample string 4</Name> <ReferenceId>sample string 3</ReferenceId> <SerialNumber>sample string 1</SerialNumber> <UserGroupId>2</UserGroupId> </UnitSerialNumberModel> <UnitSerialNumberModel> <ItemDescription>sample string 5</ItemDescription> <LastModified>2024-11-21T09:48:42.0416542+00:00</LastModified> <Name>sample string 4</Name> <ReferenceId>sample string 3</ReferenceId> <SerialNumber>sample string 1</SerialNumber> <UserGroupId>2</UserGroupId> </UnitSerialNumberModel> </ArrayOfUnitSerialNumberModel>