ApiEscalations
Updates a set of working hours.
Only the fields sent change. The weekly hours and the dated exceptions are each replaced whole when sent. Agents see the change on their next turn; nothing needs to be deployed.
Authorization
Bearer AuthorizationBearer <token>
JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
workingHoursSchedule*string
The working hours id.
Format
uuidtenant*string
The tenant identifier
The fields to change.
name?string|null
timeZone?string|null
IANA zone id. Changing it moves every time and date to the new zone as written.
weekly?|null
overrides?|null
closingSoonMinutes?integer|null
Minutes before a close that an escalation is treated like an after-hours one; zero turns it off.
Format
int32[key: string]?never
Response Body
curl -X PATCH "https://api.fruxon.com/v1/tenants/string/workingHoursSchedules/497f6eca-6276-4993-bfeb-53cbbbba6f08" \ -H "Content-Type: application/json" \ -d '{}'{
"id": "00000000-0000-0000-0000-000000000000",
"name": "string",
"timeZone": "string",
"weekly": [
{
"day": "MONDAY",
"intervals": []
}
],
"overrides": [
{
"date": "string",
"label": "string",
"intervals": []
}
],
"closingSoonMinutes": 0,
"status": {
"isOpen": false,
"nextChangeAt": 0
},
"createdAt": 0,
"modifiedAt": 0
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Empty
Empty
{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}