Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

Help needed with uploadSchemaFile API

AG
Regular Contributor II
Regular Contributor II

Saviynt version 2021

I am trying to use uploadSchemaFile API to upload package but getting 404 error. Any pointer what I am missing here?

Here is the cURL
curl --location -g --request POST '{{url}}/ECM/api/v5/uploadSchemaFile' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiJ9' \
--form 'file=@"c:/Users/{{localUser}}/Downloads/transport_{{localUser}}_2022-07-14_04-41-14(UTC).zip"' \
--form 'pathLocation="Datafiles"'

Response:

AG_0-1657777528960.png

 

10 REPLIES 10

sahajranajee
Saviynt Employee
Saviynt Employee

Hello @AG ,

Since its a 404, looks like your API itself is not found. Can you check if you are able to resolve the saviynt domain from where you are trying to run this from?

Are you able to make a successful Auth API Call?


Regards,
Sahaj Ranajee
Sr. Product Specialist

AG
Regular Contributor II
Regular Contributor II

Auth works fine. But ping timed out.

AG
Regular Contributor II
Regular Contributor II

Thanks @sahajranajee , issue is fixed after pointing it to correct env.

Are you going to call this API from externalJar ?


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

AG
Regular Contributor II
Regular Contributor II

Yes.

@AG  can you share code? 

@sahajranajee  Since there is no access to server to set crons for schema based upload does saviynt provide external jar, as this will be standard all across client. & we can't ask clients to build the code


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

AG
Regular Contributor II
Regular Contributor II

Hi @rushikeshvartak - Currently I am testing API's via postman. Code development will be our next step.

Currently Saviynt API only support select file e.g. csv/.xls/.sv format upload only and we need this feature for .zip /.xml file types as well.

sahajranajee
Saviynt Employee
Saviynt Employee

@rushikeshvartak No, the recommendation is to use our apis and build it at the customer end. We have quite a few new customers already adapt to this . There can be various ways to do it, Windows servers have a scheduler, Linux has cron, some languages have their independent scheduling libraries.

We would need partners to make this recommendation usage of these apis . As far as code development goes, who does it would be a contractual obligation that can be figured out but the code development should not really be tough for this.

 


Regards,
Sahaj Ranajee
Sr. Product Specialist

shibinvpkvr
Regular Contributor II
Regular Contributor II

Sahaj,

Is this API exclusive for 2021 version or available with 5.5 as well?

AG
Regular Contributor II
Regular Contributor II

@shibinvpkvr : This is exclusive for 2021. Please refer to the API here : Saviynt Security Manager API Reference v2021.0/Summer Release (getpostman.com)