We are delighted to share our new EIC Delivery Methodology for efficiently managing Saviynt Implementations and delivering quick time to value. CLICK HERE.

Import accounts, entitlements and act-ent mapping using Upload New File API

Adithya
New Contributor II
New Contributor II

Hi Saviynt Team,

Hope you’re doing well!

We do have a requirement where application team will be using Saviynt APIs to push file into Saviynt DataFiles folder to perform import (accounts, ent and act-ent mapping) a daily basis and for provisioning and deprovisioning we will be using snow ticket. It is a disconnected application.

When I was going through other forum questions. I found something but need some clarity on this.

Q1> As a first step to import the data using Upload New File API, should we set below in externalConfig.properties in Saviynt Server?

  1. job.ecm.imp.file.path=/saviynt_shared/saviynt/Import/Datafiles/
  2. job.ecm.savfile.path=/saviynt_shared//saviynt/Import/SAV/
  3. job.ecm.imp.file.importprocess.path=/saviynt_shared/saviynt/Import/Process/

Q2> After that should we use corresponding paths in place of path in the API URL for Postman testing?

Adithya_0-1701703296569.png

Q3> As we will be using 1. File based Accounts Import (SchemaAccountJob) 2. File based Entitlement Import (SchemaEntitlementJob) to process .csv file. Do we need to create a new connection for import add it security system?

Adithya_1-1701703762543.png

Appreciate your response at the earliest. Thanks.

7 REPLIES 7

sk
All-Star
All-Star

@Adithya : 

Q.1 : Not required

Q.2: Path in url is api/v5 for SSM version 5.2 and above which is mentioned on Introduction page of API documentation

Q.3: If you are using Application Onboarding Feature then it will automatically create the connection based on sav file configuration


Regards,
Saathvik
If this reply answered your question, please Accept As Solution and give Kudos to help others facing similar issue.

rushikeshvartak
All-Star
All-Star
  • Q1> As a first step to import the data using Upload New File API, should we set below in externalConfig.properties in Saviynt Server? - Its not required to set path those are set by default
  • Q2> After that should we use corresponding paths in place of path in the API URL for Postman testing?

    Below will be API Request

  • rushikeshvartak_0-1701741219806.png

     

  •  As we will be using 1. File based Accounts Import (SchemaAccountJob) 2. File based Entitlement Import (SchemaEntitlementJob) to process .csv file. Do we need to create a new connection for import add it security system? ---> You can use existing connection and update naming convention and existing job can be used. from v23.10 you can create separate job & select which sav file to process https://saviynt.litmos.com/course/12006728/module/17882174?LPId=195907 
  •  

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

Hi @rushikeshvartak @sk 

Thank you so much for your response.

It would be great if you can share sample .sav file and .csv file to achieve this. It seems the files attached in the documentation is not clear. Please help us.

SAV File Name CSV File Name  

Accounts.sav

Account.csv

https://docs.saviyntcloud.com/bundle/SSM-Admin-v55x/page/Content/Chapter04-Onboarding-and-Managing-A...


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

Hi Saviynt Team,

Is there a way to specify folder path here instead if adding file directly? I have tried below in Postman butting getting error.

Adithya_0-1701771906527.png

Appreciate your response at the earliest. Thanks.

In front of key select drop down as "File"

rushikeshvartak_0-1701827353278.png

 


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

Manu269
All-Star
All-Star

@Adithya can you check this Uploading Accounts and Associated Entitlements Using Schema Upload (saviyntcloud.com)

Regards
Manish Kumar
If the response answered your query, please Accept As Solution and Kudos
.