Use this method to obtain all work timetables and holidays for the agents in a specific queue of a Assist instance.
client.getWorkTimeTable(data).then(function(result){
});
This method has no mandatory parameters.
Name | Type | Description |
---|---|---|
timezone | string | The timezone code (e.g. "Europe/Madrid") in which the result has to be codified |
For each queue that has a timetable and/or holidays configured, the getWorkTimeTable method returns all the information on the configured timetables and holidays. For the full response model, please see the Responses section for the GET /settings/work-timetable
endpoint on the Assist API Routes page.
client.getWorkTimeTable(timezone).then(function(result){
console.log(timezone);
});