GET v1/selDeviceWorkingHours?DeviceID={DeviceID}
Метод для отримання робочих годин авто.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceID |
ID авто |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of DeviceWorkingHours| Name | Description | Type | Additional information |
|---|---|---|---|
| id |
ID |
integer |
None. |
| deviceID |
ID пристрою |
integer |
None. |
| weekDay |
День тижня |
byte |
None. |
| timeFrom |
Час в хвилинах 'з' |
integer |
None. |
| timeTo |
Час в хвилинах 'по' |
integer |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"deviceID": 2,
"weekDay": 64,
"timeFrom": 4,
"timeTo": 5
},
{
"id": 1,
"deviceID": 2,
"weekDay": 64,
"timeFrom": 4,
"timeTo": 5
}
]