GET api/Positions/AllSince?AfterDate={AfterDate}&GroupId={GroupId}&Count={Count}
Get position and sensordata since specified date. Limit: Once per minute Sensordata obtained with this method, will not contain unit counter values, such as TotalPowerOnTimerGPS, TotalPowerOnTimerGSM, TotalOnTimerMotion, etc.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| AfterDate |
Only data after this date |
date |
Required |
| GroupId |
Id of usergroup, including child groups, to get data from (optional) |
integer32 |
None. |
| Count |
Maximum number of records to return (optional) default = 100. |
integer32 |
Default value is 100 |
Body Parameters
None.
Response Information
Resource Description
Get position and sensordata since specified date. Limit: Once per minute Sensordata obtained with this method, will not contain unit counter values, such as TotalPowerOnTimerGPS, TotalPowerOnTimerGSM, TotalOnTimerMotion, etc.
Collection of UnitReportModel| Name | Description | Type | Additional information |
|---|---|---|---|
| SerialNumber |
Unit serialnumber |
string |
None. |
| ReferenceId |
Unit's referenceId |
string |
None. |
| Suspended |
The unit has been suspended by Trusted A/S because of non-payment. All access to data has been revoked until any outstanding issues have been resolved. |
boolean |
None. |
| Position |
Position (if available) |
PositionModel |
Null values possible. |
| SensorData |
Sensor data (if available) |
SensorDataModel |
Null values possible. |
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.