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

REST API Connector: Sending Raw Data in Body from Saviynt

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on December 2 2019 at 15:20 UTC

Can Saviynt send Raw data in the body of a call? If so what is the proper syntax?

ie:

{

"FirstName": User.firstname

"LastName": User.lastname

}


This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
1 REPLY 1

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on December 3 2019 at 10:37 UTC

Have you checked the REST connector documentation and sample there. You should be able to send whatever is needed.


https://saviynt.freshdesk.com/support/solutions/articles/43000521736-rest-connector


{
"accountIdPath": "call1.message.id",
"dateFormat" : "yyyy-MM-dd'T'HH:mm:ssXXX",
"responseColsToPropsMap": { "name": "call1.message.name~#~char",
"displayName": "call1.message.name~#~char",
"updatedate": "call1.message.modified_at~#~date",
"comments": "call1.message.login~#~char"
}, "call": [

{
"name": "call1", "connection": "userAuth", "showResponse": false,
"url": "https://{org}/2.0/users", "httpMethod": "POST",
"httpParams": "{\"login\": \"${user.email}\", \"name\": \"${user.firstname}\", \"lastname\":
"${userAccount.get('endpoint').accountsproperties}\"}",

"httpHeaders": { "Authorization": "${access_token}" },
"httpContentType": "application/json", "successResponses": [
{ "message": "ProfileID Created Successfully" },
{ "message": "ProfileID Updated Successfully" }
] } ]
}

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.