Source Aggregation Status API

Via API, I am triggering an “Entitlement Aggregation” for a given source.
I would like to automate additional steps once the aggregation is complete.

Is there a way to query the API to determine if a source is in process of running an aggregation?

Hi @mikeburns365 . Can you please share the API endpoint you are using to trigger the entitlement aggregation, as well as any relevant details. Also, the response body you receive from the API might be helpful. Thanks!

Hi Mike,

I do the same thing, using the IdentityNow private APIs. Note that these APIs are not supported, use at your own risk! I do not believe there is currently a publically supported API to do the same thing.

trigger aggregation:
https://{{orgname}}.api.identitynow.com/cc/api/source/loadEntitlements/{{sourceId}}

retrieve taskId from response:
$.task.id

get task status:
https://{{orgname}}.api.identitynow.com/cc/api/taskResult/get/{{taskId}}

get status from:
$.completionStatus = “Success” or “Warning”

Note from my experience as well, if you’re using search to find these entitlements after they’re loaded, they can take a while to appear in the search index.

Hope this helps!

2 Likes

Thanks Ramiro - this is exactly what I was looking for - excited to give this a try!