01-26-2023 10:27 AM
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!
Solved! Go to Solution.
01-26-2023 10:31 AM
Hello @alc ,
The path is 'api/v5' . Its mentioned on the introduction page of the API documentation :
Example The API URL becomes : https://< tenant URL>/ECM/api/v5/uploadSchemaFile
Regards,
Sahaj
01-26-2023 11:08 AM - edited 01-26-2023 11:12 AM
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!
01-26-2023 11:16 AM
01-26-2023 12:14 PM
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!
01-26-2023 04:25 PM
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!
01-26-2023 08:02 PM
Ask ops to restart server instead of UI restart
01-27-2023 06:22 AM
I have restarted all services, not just UI restart. You mean the Ops team have other way to restart?
01-27-2023 06:33 AM
from Backend (Server)
01-27-2023 09:01 AM
Thanks, I'll have support team to see what they can do. Thank you very much!