i am attaching the rule in AD application in INOW using this body using /source/ID
Error : “The request was syntactically correct but its content is semantically invalid.”
"[
{
“op”: {
“value”: “replace”
},
“path”: {
“value”: “beforeProvisioningRule”
},
“value”: {
“value”: “Rule BeforeProvisioning AD”
}
}
]
Try the following:
[
{
"op": "replace",
"path": "/beforeProvisioningRule",
"value": {
"type": "RULE",
"id":"<rule id>",
"name": "<rule name>"
}
}
]
2 Likes
Thanks for quick help . Issue resolved
How do we get the ID of beforeProvisuioningRule? Is there any API that can help to get that data?
GET https://{{org}}.identitynow.com/api/rule/list
will list all of the Rules with their ids.
3 Likes
Thanks Edward for the solution , do we have this anywhere documented?
@SBahl use this -
with includedTypes as Rule