Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

How to create an 'Application Data Import' type trigger using Saviynt APIs?

KT
New Contributor III
New Contributor III

Hi,

I am trying to execute the job type Application Data import and using the following payload.

{
    "jobgroup""data",
    "triggername""Unisource_User_Accounts_Full_Import",
    "jobname""SapImportJob",
    "system""ActiveDirectory - Corp – unisource.corp - User",
    "createJobIfDoesNotExist""true",
    "jobtype""Full Import",
    "importtype""Accounts",
    "externalconnection""AD - Corp - unisource.corp - User",
    "valueMap": {
        "jobnamelabel""Application Data Import (Single Threaded)"
        
    }
}
 
I am getting the below response:
{
    "msg""Internal error occurred",
    "errorCode""1"
}
 
Please let me know if this payload is correct or i need to make any changes to it.
5 REPLIES 5

dgandhi
All-Star
All-Star

what is the api that you are using?

 

Thanks,
Devang Gandhi
If this reply answered your question, please Accept As Solution and give Kudos to help others who may have a similar problem.

rushikeshvartak
All-Star
All-Star

rushikeshvartak_0-1706756723891.png

rushikeshvartak_3-1706758217747.png

 

API : https://documenter.getpostman.com/view/23973797/2s9Ykhh4VH#48ee68c1-6a27-4a0a-acb4-bc3d81d87daf

 

[
  {
    "triggers": [
      {
        "valueMap": {
          "securitysystems": "IBM OpenPages Stage",
          "connectionname": "REST_IBM OpenPages Stage",
          "connectionid": 52,
          "fullorincremental": "full",
          "accountsoraccess": "accounts"
        },
        "name": "rushiapi",
        "group": "GRAILS_JOBS",
        "jobName": "SapImportJob",
        "jobGroup": "DATA",
        "cronExp": "0 33 14 * * ? 2060"
      }
    ]
  }
]

rushikeshvartak_2-1706758180818.png

 

 

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

KT
New Contributor III
New Contributor III

Hi Rushikesh,

Thanks for the response, sorry for the unclear title.

the API that i am trying is for running the trigger,

KT_0-1706767000729.png

 

Can you please share a working example of the runJobTrigger API for ApplicationDataImport job type?

Request Payload that i am using

{
    "jobgroup""data",
    "triggername""Unisource_User_Accounts_Full_Import",
    "jobname""SapImportJob",
    "system""ActiveDirectory - Corp – unisource.corp - User",
    "createJobIfDoesNotExist""true",
    "jobtype""Full Import",
    "importtype""Accounts",
    "externalconnection""AD - Corp - unisource.corp - User",
    "valueMap": {
        "jobnamelabel""Application Data Import (Single Threaded)"
        
    }
}
 
I am getting the below response:
{
    "msg""Internal error occurred",
    "errorCode""1"
}
 

Thanks

 

use  {{url}}/ECM/{{path}}/importData

rushikeshvartak_0-1707281117101.png

 


Regards,
Rushikesh Vartak
If this helped you move forward, click 'Kudos'. If it solved your query, select 'Accept As Solution'.

Where is importData in the API docs? Could you please send link, thanks in advance!

EDIT:

Sorry my bad, in your Postman request it is clear that it is under 10.0 Common Utilities