Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/01/2024 01:56 PM - last edited on 08/01/2024 02:45 PM by Dave
In Saviynt completed tasks response,
[This post has been edited by a Moderator to remove sensitive information.]
Solved! Go to Solution.
08/01/2024 08:50 PM - edited 08/02/2024 04:54 PM
Share logs
08/01/2024 11:00 PM
Hi @midhunj , enable account json
{
"call":[
{
"name":"call1",
"connection":"acctAuth",
"url":"https://************/services/api/x/users/v2/employees/${account.customproperty1}",
"httpMethod":"PATCH",
"httpParams":"{\"workerStatus\"{\"active\":\"true\"}}",
"httpHeaders":{
"Authorization":"${access_token}"
},
"httpContentType":"application/json",
"successResponses":{
"statusCode":[
200,204
]
},
"unsuccessResponses":{
"statusCode":[
400,404
]
}
}
]
}
Disable account json
08/02/2024 08:19 AM
08/02/2024 08:36 AM
Try @midhunj
enable account json
{
"call":[
{
"name":"call1",
"connection":"acctAuth",
"url":"https://************/services/api/x/users/v2/employees/${account.customproperty1}",
"httpMethod":"PATCH",
"httpParams":"{\"workerStatus\":{\"active\":\"true\"}}",
"httpHeaders":{
"Authorization":"${access_token}"
},
"httpContentType":"application/json",
"successResponses":{
"statusCode":[
200,204
]
},
"unsuccessResponses":{
"statusCode":[
400,404
]
}
}
]
}
Disable account json
{
"call":[
{
"name":"call1",
"connection":"acctAuth",
"url":"https://************/services/api/x/users/v2/employees/${account.customproperty1}",
"httpMethod":"PATCH",
"httpParams":"{\"workerStatus\":{\"active\":\"false\"}}",
"httpHeaders":{
"Authorization":"${access_token}"
},
"httpContentType":"application/json",
"successResponses":{
"statusCode":[
200,204
]
},
"unsuccessResponses":{
"statusCode":[
400,404
]
}
}
]
}
08/06/2024 09:47 AM
This works now! Thanks