GET api/TrackingObjects/{id}/OffHours?From={From}&To={To}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
|
| From | date |
None. |
|
| To | date |
None. |
Body Parameters
None.
Response Information
Resource Description
Collection of OffHours| Name | Description | Type | Additional information |
|---|---|---|---|
| TrackingObjectId | integer |
None. |
|
| RideTime | time interval |
None. |
|
| Date | date |
None. |
|
| Distance | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"$id": "1",
"TrackingObjectId": 1,
"RideTime": "00:00:00.1234567",
"Date": "2026-02-02T19:47:01.5533397+01:00",
"Distance": 4.1
},
{
"$ref": "1"
}
]
application/xml, text/xml
Sample:
<ArrayOfOffHours xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/UniNet.AVL.Model.Report">
<OffHours>
<Date>2026-02-02T19:47:01.5533397+01:00</Date>
<Distance>4.1</Distance>
<RideTime>PT0.1234567S</RideTime>
<TrackingObjectId>1</TrackingObjectId>
</OffHours>
<OffHours>
<Date>2026-02-02T19:47:01.5533397+01:00</Date>
<Distance>4.1</Distance>
<RideTime>PT0.1234567S</RideTime>
<TrackingObjectId>1</TrackingObjectId>
</OffHours>
</ArrayOfOffHours>