First use the Get All Response Rules API to get an object ID for one of the Smart Response rules.
You can also use the Get All Smart Response Rules API.
Then use the smart response rule's object ID in the responseRuleDetails API to try to get the details for that response rule.
The API "responseRuleDetails" fails to list any data about the response rule and returns a "401 Unauthorized" error.
Status: 401
Message" User does not have process_incidents privileges on the objects <object ID>
i18nKey: enforce.objects.ids.not.authorized
parameters:
0: process_incidents
1:<object ID>
By default, the responseRuleDetails API does not have access to the smart response rules.
Also, the responseRuleDetails API does not have access to the built-in response rules.
To grant the responseRuleDetails API access to the smart response rules, do the following:
In the following example, the two smart response rules have been moved to the "Smart Response Rules for execution" window.
The responseRuleDetails API cannot be given access to the built-in response rules.