Click HERE to see how Saviynt Intelligence is transforming the industry. |
04/12/2022 12:53 PM
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
}
Solved! Go to Solution.
04/12/2022 01:47 PM
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" }
] } ]
}