and more in a single search tool across platforms. Read the announcement here. |
07/13/2022 10:49 PM
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:
Solved! Go to Solution.
07/14/2022 01:31 AM
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?
07/14/2022 02:01 AM
Auth works fine. But ping timed out.
07/14/2022 05:44 AM
07/14/2022 06:01 AM
Are you going to call this API from externalJar ?
07/15/2022 12:01 AM
Yes.
07/15/2022 04:32 AM
@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
07/15/2022 05:26 AM
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.
07/17/2022 11:48 PM
@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.
09/28/2022 07:19 AM
Sahaj,
Is this API exclusive for 2021 version or available with 5.5 as well?
09/28/2022 07:34 AM
@shibinvpkvr : This is exclusive for 2021. Please refer to the API here : Saviynt Security Manager API Reference v2021.0/Summer Release (getpostman.com)