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

UpdateUserJSON is Failing

GPS
New Contributor II
New Contributor II

Below is the update user JSON: We are using REST API to update the user in INFOR Cloud

 

 

{
    "actions": {
        "Update Login": {
            "call": [
                {
                    "name": "Update Login",
                    "callOrder": 0,
                    "connection": "userAuth",
                    "url": "https://mingle-XXXXXXXXXXXXXX/IONSERVICES/api/ion/messaging/service/v2/message",
                    "httpMethod": "POST",
                    "httpParams": {
                        "documentName": "Process.IAMProvisioning",
                        "messageId": "37036",
                        "fromLogicalId": "lid://infor.ims.saviynt_webhook",
                        "toLogicalId": "lid://default",
                        "document": {
                            "value": "{\"IAMProvisioning\":{\"_user\":[{\"HROrganization\":\"1\",\"Employee\":\"364965\",\"Action\":\"Update\",\"PrmEmail\":\"364965@pfjstores.local\",\"PrmDomain\":\"364965@pfjstores.local\",\"PrmAccountName\":\"364965\",\"PrmTelephone\":\"\",\"IsDomainChange\":\"NO\"}]}}",
                            "encoding": "None",
                            "characterSet": "UTF-8"
                        },
                        "additionalProperties": {
                            "accountingEntity": "1",
                            "location": "nlregtest3",
                            "documentId": "37036",
                            "variationId": "1",
                            "revisionId": "6784",
                            "batchId": "infor.SSJE:1",
                            "batchSequence": "2",
                            "batchSize": "1",
                            "batchRevision": "1",
                            "batchAbortIndicator": "true",
                            "instances": "1",
                            "source": "DB Connector",
                            "custom_property": "value"
                        }
                    },
                    "httpHeaders": {
                        "x-http-method": "MERGE",
                        "Accept": "application/json",
                        "Authorization": "${access_token}"
                    },
                    "httpContentType": "application/json",
                    "successResponses": {
                        "statusCode": [
                            200,
                            201
                        ]
                    }
                }
            ]
        }
    }
}

 

 
Postman Response:

GPS_0-1709320885400.png

 

{
"status": "OK",
"code": 201,
"errors": [],
"message": "Published successfully"
}



We are seeing the below error in Saviynt.
{"Update Login":{"message":"No signature of method: com.saviynt.provisoning.rest.RestUtilService.getDynamicBindString() is applicable for argument types: (java.util.LinkedHashMap, java.util.HashMap) values: [[documentName:Process.IAMProvisioning, messageId:97036, ...], ...]\nPossible solutions: getDynamicBindString(java.lang.String, java.util.Map)","status":"Failed"}}
3 REPLIES 3

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 this response useful, kindly consider selecting 'Accept As Solution' and clicking on the 'Kudos' button.

GPS
New Contributor II
New Contributor II

curl --location --max-time 1000 'https://mingle-XXXXXXXXXXXXXX/IONSERVICES/api/ion/messaging/service/v2/message' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer zBPfS2-2JEd5GpLOhZQmW0WcOJJ86TlNmy0JhW7NKstUTHJLQbA_GfGEYV0x2q-RfAuGVg8IyHsSGeWHTgg' \
--header 'Cookie: INFORTAM=uV-8ocYvfwm5jGfq56k_-JRZeZvh.tam-ws-207-75ec; useractivity_cookie_mingle=1709319914' \
--data-raw '{
"documentName": "Process.IAMProvisioning",
"messageId": "37036",
"fromLogicalId": "lid://infor.ims.saviynt_webhook",
"toLogicalId": "lid://default",
"document": {
"value": "{\"IAMProvisioning\":{\"_user\":[{\"HROrganization\":\"1\",\"Employee\":\"364965\",\"Action\":\"Update\",\"PrmEmail\":\"364965@pfjstores.local\",\"PrmDomain\":\"364965@pfjstores.local\",\"PrmAccountName\":\"364965\",\"PrmTelephone\":\"\",\"IsDomainChange\":\"NO\"}]}}",
"encoding": "None",
"characterSet": "UTF-8"
},
"additionalProperties": {
"accountingEntity": "1",
"location": "nlregtest3",
"documentId": "37036",
"variationId": "1",
"revisionId": "6784",
"batchId": "infor.SSJE:1",
"batchSequence": "2",
"batchSize": "1",
"batchRevision": "1",
"batchAbortIndicator": "true",
"instances": "1",
"source": "DB Connector",
"custom_property": "value"
}
}'


@rushikeshvartak As requested please find the CURL.

stalluri
Regular Contributor II
Regular Contributor II
{
    "actions": {
        "Update Login": {
            "call": [
                {
                    "name": "Update Login",
                    "callOrder": 0,
                    "connection": "userAuth",
                    "url": "https://mingle-XXXXXXXXXXXXXX/IONSERVICES/api/ion/messaging/service/v2/message",
                    "httpMethod": "POST",
                    "httpParams": "{\"documentName\":\"Process.IAMProvisioning\",\"messageId\":\"37036\",\"fromLogicalId\":\"lid://infor.ims.saviynt_webhook\",\"toLogicalId\":\"lid://default\",\"document\":{\"value\":\"{\\\"IAMProvisioning\\\":{\\\"_user\\\":[{\\\"HROrganization\\\":\\\"1\\\",\\\"Employee\\\":\\\"364965\\\",\\\"Action\\\":\\\"Update\\\",\\\"PrmEmail\\\":\\\"364965@pfjstores.local\\\",\\\"PrmDomain\\\":\\\"364965@pfjstores.local\\\",\\\"PrmAccountName\\\":\\\"364965\\\",\\\"PrmTelephone\\\":\\\"\\\",\\\"IsDomainChange\\\":\\\"NO\\\"}]}}\",\"encoding\":\"None\",\"characterSet\":\"UTF-8\"},\"additionalProperties\":{\"accountingEntity\":\"1\",\"location\":\"nlregtest3\",\"documentId\":\"37036\",\"variationId\":\"1\",\"revisionId\":\"6784\",\"batchId\":\"infor.SSJE:1\",\"batchSequence\":\"2\",\"batchSize\":\"1\",\"batchRevision\":\"1\",\"batchAbortIndicator\":\"true\",\"instances\":\"1\",\"source\":\"DB Connector\",\"custom_property\":\"value\"}}",
                    "httpHeaders": {
                        "x-http-method": "MERGE",
                        "Accept": "application/json",
                        "Authorization": "${access_token}"
                    },
                    "httpContentType": "application/json",
                    "successResponses": {
                        "statusCode": [
                            200,
                            201
                        ]
                    }
                }
            ]
        }
    }
}


We need to escape the single (\) with (\\\) slash.
We need to escape (") with (\) slash.


Best Regards,
Sam Talluri
If you find this a helpful response, kindly consider selecting Accept As Solution and clicking on the kudos button.