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

Is Saviynt Rest connector supports content type "application/json-patch+json"

avinashR
New Contributor III
New Contributor III

Hi Team,

We are using post call to get the user info from one of the rest based application

by passing header content type="application/json-patch+json"

in the body we are passing unique attribute as shown below (this is not a key value pair).

Below is the SS from postman

avinashR_0-1707317613488.png
avinashR_1-1707317696496.png

From postman we are able to get the data successfully

Please find the ADD access JSON and the error

avinashR_2-1707318043336.png

Error from Saviynt task

avinashR_3-1707318305450.png

[This message has been edited by moderator to mask URL]

2 REPLIES 2

rushikeshvartak
All-Star
All-Star

Please share curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]


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

avinashR
New Contributor III
New Contributor III

curl --location 'https://www.removed.com/MBIWebServicesRest/Services/Access/AdminManager/xxxxxx/Details ' \
--header 'api-version: 8.0' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer eyJhbGci************************************ayZa0k5beg' \
--data-raw '"test@test.com"'

[This message has been edited by moderator to mask sensitive info]