I am trying to update a source via the Update Source (Full) V3 API. I need to add the rules to the source for Connector and Cloud Rules. I am running into an issue and getting the following error.
Note: Replace [] with the index location of the operation the way it is configured on the source. For example, 0, 1, 2, etc. You can use a GET call on the source first to verify the index location prior to executing the PATCH call to attach the rule*
i don’t understand the structure of the “Get” call? I hadn’t made an API call 9 months ago. Thanks for the guidance.
First you need to make a GET to https://{{tenant}}.api.identitynow.com/v3/sources/{source-id}
where, {{tenant}} is your org and {source-id} is the id of your Web Service Source.
In the GET response, search for your Web Service Operation (like Account Aggregation, Create Account, etc.) on which you want to apply the rule. Once found, check the index number (like 0, 1, 2, etc.).
Once you know the index, make a PATCH to https://{{tenant}}.api.identitynow.com/v3/sources/{source-id} Content-Type: application/json-patch+json