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

Import Package via API

KNoha
New Contributor III
New Contributor III

I have a local .zip (in my computer) file that I want to import into EIC via the API. I referred to the solution mentioned in Couldn't run the transport API with mention path f... - Saviynt Forums - 26962, which suggests using paths like /tmp or /saviynt_shared/reports/Transport/Import/admin. However, this solution doesn't seem to work for me. Here is my payload:

Post {{url}}/ECM/api/v5/importTransportPackage

{ "packagetoimport": "/tmp/MyPackage-Saviynt.zip" }
response { "msg": "Failed", "msgDescription": "Import Failed. file /tmp/MyPackage-Saviynt.zip not found.", "errorcode": 1 }
avec error 412 

KNoha_0-1724147996954.png

 

3 REPLIES 3

NM
Honored Contributor II
Honored Contributor II

Hi @KNoha , you can directly upload it via saviynt environment as well.

KNoha
New Contributor III
New Contributor III

hello @NM  i know, but i should upload it via API . If you have any idea about how can i do it please tell me 

Use below path 

{
    "updateuser": "admin",
    "packagetoimport": "/saviynt_shared/testexport/transportPackage/transport_admin_2023-01-13_10-19-11(UTC).zip",
    "businessjustification": "test"
}
rushikeshvartak_0-1724157788258.png

 


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