Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Run AnalyticsESJob by API

ejeong
Valued Contributor
Valued Contributor

Hello, 

 

We would like to run analyticsESjob executing deafult action 

I found one api from api doc

1) what's value should I add for each attribute in payload?

2)Is this running job executing deafult action?

ejeong_0-1666676923820.png

 

{{url}}/ECM/{{path}}/runAnalyticsControls

{
"jobgroup":"Analytics",
"jobname":"AnalyticsESJob",
"analyticsid":"6"
}

 

8 REPLIES 8

ejeong
Valued Contributor
Valued Contributor

Here is one job I want to run by API. 

ejeong_0-1666677446199.png

 

And I am getting following error 

ejeong_1-1666677466392.png

you can see analyticsid is correct 

ejeong_2-1666677502507.png

 

 

ejeong
Valued Contributor
Valued Contributor

I found I can run report successfully by passing payload like below. But it didn't execute deafult action. what's the way to run this report executing default action? 

ejeong_0-1666680984849.png

 

Use defaultActionForAnalytics = true 

refer https://saviynt.freshdesk.com/support/solutions/articles/43000662203-parameters-for-job-trigger-apis


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

Hello,

I made API call as you suggested 

it ran report but didn't create tasks... can you plase correct me what I did wrong?

ejeong_0-1666748206576.png

Here is payload I tried..

{
"jobgroup":"Analytics",
"jobname":"AnalyticsESJob",
"analyticsid":"237",
"defaultActionForAnalytics" : true
}
 
I also tried "defaultActionForAnalytics" : "true"

Does it creating tasks if you run manually without API


Regards,
Rushikesh Vartak
If you find the response useful, kindly consider selecting Accept As Solution and clicking on the kudos button.

yes.. when I run with Job from job control panel.. it does..

ejeong_0-1666750669978.png

 

@rushikeshvartak The mentioned URL for "parameters for job trigger apis" is no longer available. It redirects to new documentation portal, but I could not find the article. Can you please post the updated URL? I am trying to create "Application Data Import (Single Threaded)" job using Saviynt APIs and need to know the parameter names.

ejeong
Valued Contributor
Valued Contributor

wow! thanks a lot.