POST ev/machines/working_hours/{id}
Permette il salvataggio dell'orario di lavoro completo della macchina. Utilizzare: ALL nell'id per sovrascrivere l'orario di tutte le macchine
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | string |
Required |
Body Parameters
WorkingHours| Name | Description | Type | Additional information |
|---|---|---|---|
| machineId | string |
None. |
|
| customHours | Collection of CustomWorkingHours |
None. |
|
| defaultHours | Collection of StandardWorkingHours |
None. |
Request Formats
application/json, text/json
Sample:
{
"machineId": "sample string 1",
"customHours": [
{
"date": 1,
"from": "sample string 2",
"to": "sample string 3"
},
{
"date": 1,
"from": "sample string 2",
"to": "sample string 3"
}
],
"defaultHours": [
{
"dayOfWeek": 1,
"from": "sample string 2",
"to": "sample string 3"
},
{
"dayOfWeek": 1,
"from": "sample string 2",
"to": "sample string 3"
}
]
}
Response Information
Resource Description
None.