Update business hours set
PATCH {{baseUrl}}/api/v1/businessHours/:businessHourId
TThis API updates the details of a business hours set configured in your help desk portal
OAuth Scope
Desk.settings.UPDATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name | <String> | Name of the business hours set |
status | <String> | Activation status of the business hours set. Values allowed are ACTIVE and INACTIVE |
type | <String> | Type of the business hours set. Values allowed are 24X7 (available anytime throughout the week), SPECIFIC (available during specific hours on the days selected),and CUSTOM (available during different hours on different days |
holidayListId | <long> | ID of the holiday list to associate with the business hours set |
timeZoneId | <string> max chars : 100 | ID of the time zone to associate with the business hours set |
businessTimes | <list> | Business hours for the week |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Authorization | string |
RESPONSES
status: OK
{"modifiedTime":"2018-12-10T09:46:28.750Z","createdBy":"4000000016079","associatedHolidayList":{"holidayListStatus":"INACTIVE","holidayListId":"4000000105030","holidayListName":"General HolidayList"},"name":"BusinssHour Pakistan Shift-with Holidays","businessTimes":[{"startTime":"10:00","endTime":"16:00","day":"MONDAY"},{"startTime":"10:00","endTime":"16:00","day":"TUESDAY"},{"startTime":"10:00","endTime":"16:00","day":"WEDNESDAY"},{"startTime":"10:00","endTime":"16:00","day":"THURSDAY"},{"startTime":"10:00","endTime":"16:00","day":"FRIDAY"},{"startTime":"00:00","endTime":"00:00","day":"SATURDAY"},{"startTime":"00:00","endTime":"00:00","day":"SUNDAY"}],"timeZone":{"name":"( GMT 5:00 ) Pakistan Time( PLT )","id":"PLT"},"createdTime":"2018-12-10T07:18:39.796Z","modifiedBy":"4000000016079","id":"4000000186010","type":"SPECIFIC","status":"ACTIVE"}