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

Download zip file generated from exportTransportPackage REST API

sreehariv
New Contributor III
New Contributor III

Hi,

 

I am using the "Export Package" SSM REST API to export objects - {{url}}/ECM/api/v5/exportTransportPackage

 

Example:

 

Please refer to the request text file for reference.

 

On executing the request, I receive the response that export zip has been created:

Please refer to the response text file for reference.

 

Is there a way I can download this zip file to my local? I need to use this zip file to import the object in another environment.

 

Please advise

 

Thanks

Sreehari

7 REPLIES 7

DaanishJawed
Saviynt Employee
Saviynt Employee

Hi @sreehariv ,

By looking at your payload, the path that you have given is /Users/Documents/transportPackage.

Are you not seeing the ZIP file at the above location on your local machine ?

 

sk
All-Star
All-Star

Is this valid path on your machine?

/Users/Documents/transportPackage

Please make sure that path you have provided is valid path from your local machine 


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

sreehariv
New Contributor III
New Contributor III

Hi Daanish,

 

Thanks for replying. I had provided a sample of the request. Below is the body of my request:

Please refer to the requestnew file.

I am getting the following response:

Please refer to the responsenew file.

However, I do not see any zip file at the above mentioned location.

 

Also, I saw in one of the forum posts that the zip file is generated on the Saviynt app server: https://forums.saviynt.com/t5/identity-governance/need-help-with-exporttransportpackage-api/m-p/8177...

Hi @sreehariv ,

We are checking this and will get back to you.

Will keep you posted.

Thanks

Hi @sreehariv ,

Are you able to export packages from the UI?

Also, please refer to the response from @dgandhi below.

Thanks.

dgandhi
All-Star
All-Star

Hi

We are using below to export the package and it works as expected.

Here /tmp is the directory path of my linux server where saviynt is deployed.

Saviynt Version: 5.5

 

dgandhi_1-1680747777725.png

Thanks

Devang

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.

Rishi
Saviynt Employee
Saviynt Employee

If you want to transfer the file from Saviynt to remote server - you can try to use the SFTP file transfer utility. Refer following post for details: https://forums.saviynt.com/t5/identity-governance/saviynt-sftp-integration/m-p/29162