Create business hours set
POST {{baseUrl}}/api/v1/businessHours
This API creates a business hours set in your help desk portal
OAuth Scope
Desk.settings.CREATE
Attributes
Attribute Name | Data Type | Description |
---|---|---|
name (required) | <String> | Name of the business hours set |
status (required) | <String> | Activation status of the business hours set. Values allowed are ACTIVE and INACTIVE |
type (required) | <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-10T07:18:39.796Z","createdBy":"4000000016079","associatedHolidayList":null,"name":"BusinssHour Pakistan Shift","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"}