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

What is the {{path}} variable in Saviynt REST API?

alc
Regular Contributor
Regular Contributor

Hello Saviynt Experts,

I am trying to use Saviynt REST API. Is there any Postman Collection default environment file to use?

I am not sure all values for those variables defined in the collection.

For example, if I want to access an account detail with endpoint URL:

{{url}}/ECM/{{path}}/getAccounts

The url is easy to define. but what is the path variable? how can I define it? 

Thank you very much!

9 REPLIES 9

sahajranajee
Saviynt Employee
Saviynt Employee

Hello @alc ,

 

The path is 'api/v5' . Its mentioned on the introduction page of the API documentation : 

sahajranajee_0-1674757750096.png

Example The API URL becomes : https://< tenant URL>/ECM/api/v5/uploadSchemaFile

 

Regards,

Sahaj


Regards,
Sahaj Ranajee
Sr. Product Specialist

alc
Regular Contributor
Regular Contributor

Thank you very much Sahajranajee for your quick reply!

By the way, for Version 5.5 SP3 and V2020, looks there is NO REST API Common Utility SAV file and CSV file upload for SchemaAccountImportJob to import accounts. Do you know how to upload such files besides REST API?

I tried to upload via SAV and Datafiles directory on Saviynt GUI, but it does not accept data file size bigger than 10M. my account file size is about 2G with 50K accounts and each account has over 50 attributes, each account has over 1000 entitlements. that's why the file size is huge. If I separate the file into many files with same file name prefix, the SchemaAccountImportJob will wipe all entitlements assignment but only keep the assignment in the last uploaded file. It looks the job did not consider all files with same prefix as same batch of import execution because it use last file to overwrite other files.

How can I handle this situation? Looks there is no way to get these huge data in? How can I remove the 10M size limitation?

Thanks!

https://forums.saviynt.com/t5/saviynt-community-knowledge-base/getting-file-import-error-uploading-d...


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

alc
Regular Contributor
Regular Contributor

Hello Rushikeshvartak,

I have follow your instruction to change fileDirectory.maxSizeInMB=100000 which is 100G

And then restart all services, Waiting about 20 minutes after restart.

Then I try to upload a .CSV file into Datafiles location, it still report the file size must be less than 10M. 

Why the configuration change did not take effect even after restart all services?

Thanks a lot!

alc
Regular Contributor
Regular Contributor

Hello Rushikesh,

The configuration setting is not working according to the log file:

2023-01-26 18:26:33,110 [https-jsse-nio-443-exec-38] ERROR domain.EcmConfigController  - fileDirectory.maxSizeInMB > 10. Setting maxSizeInMB to 10.

looks we cannot change the size lager than 10M. Who can help us in this case?

Thanks a lot!

Ask ops to restart server instead of UI restart


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

alc
Regular Contributor
Regular Contributor

I have restarted all services, not just UI restart. You mean the Ops team have other way to restart?

from Backend (Server)


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

alc
Regular Contributor
Regular Contributor

Thanks, I'll have support team to see what they can do. Thank you very much!