List associated automation rules

GET {{baseUrl}}/api/v1/businessHours/:businessHourId/relatedRules

This API lists a particular number of automation rules that include a business hours set,based on the limit specified

OAuth Scope

  • Desk.settings.READ

Request Params

KeyDatatypeRequiredDescription
fromstringIndex number, starting from which the rules must be listed
limitstringNumber of rules to list

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

RESPONSES

status: OK

{"data":[{"ruleType":"SUPERVISE","ruleName":"TBA1","ruleId":"6000000019012"},{"ruleType":"SLA","ruleName":"Priority-based SLAs","ruleId":"6000000013508"},{"ruleType":"SLA","ruleName":"Bronze SLAs","ruleId":"6000000013514"},{"ruleType":"BLUEPRINT","ruleName":"Default Blueprint","ruleId":"6000000016083"},{"ruleType":"BLUEPRINT","ruleName":"BH BP","ruleId":"6000000018143"},{"ruleType":"BLUEPRINT","ruleName":"Third Bp","ruleId":"6000000023018"}]}