POST v1/insDeviceWorkingHours
Метод збереження робочих годин авто.
Request Information
URI Parameters
None.
Body Parameters
Collection of DeviceWorkingHoursNew| Name | Description | Type | Additional information |
|---|---|---|---|
| deviceID |
ID пристрою |
integer |
Required |
| weekDay |
День тижня |
byte |
Required |
| timeFrom |
Час "з", хв. |
integer |
Required |
| timeTo |
Час "по", хв. |
integer |
Required |
Request Formats
application/json, text/json
Sample:
[
{
"deviceID": 1,
"weekDay": 64,
"timeFrom": 3,
"timeTo": 4
},
{
"deviceID": 1,
"weekDay": 64,
"timeFrom": 3,
"timeTo": 4
}
]
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string"