Click HERE to see how Saviynt Intelligence is transforming the industry. |
12/19/2023 01:45 AM - edited 12/19/2023 01:56 AM
Hi All,
I am trying to trigger Schema Entitlement Job via API. This job as per configuration requires to select the Schema File Job Type to be selected. We have created the job to "Import Entitlement_values".
Job is running fine when is executed from UI. We are trying to trigger the same job from Saviynt "runjobtrigger" API. Job is failing for some reason.
From the UI, we can see a difference that when the job is executed from UI, it is showing the File Name column as "Entitlement_values import". Whereas when triggered from API, shows "Entitlement import". Leaves me wondering if there is any additional parameter that needs to be passed to process the job.
Please find below details. Any feedback is much appreciated.
job Config.
12/19/2023 07:15 PM
Check which parameters are getting sent in browser developer console
12/22/2023 02:31 AM
@rushikeshvartak : I was able to figure out the param from browser developer console. Thanks for the inputs.
But just want to know if there is any documentation around this as this is required attribute for jobs.
Also, since we are taking it from browser, any chance UI code gets changed and this parameter might change in future? as this could break the code using this APIs.
please share your views.
12/22/2023 10:35 AM
There is no other option please share successful api body
01/17/2024 11:48 AM
Thanks @rushikeshvartak for the update. In addition to jobname, triggername, jobgroup, we should also be passing "schemaEntitlementJobType" to specify if the import is for Entitlement values or owners or hierarchy.
Also, this seems to be listed as part of documentation, in the below notes under "Parameters for Job Trigger APIs". Sharing for reference.
01/17/2024 07:38 PM
Can you share final Working body for API
01/18/2024 12:38 AM - edited 01/18/2024 12:41 AM
01/18/2024 08:14 PM
Thanks close the thread by accepting answer