and more in a single search tool across platforms. Read the announcement here. |
10/11/2023 01:30 PM
Hi All,
We are using SAV4SAV REST connector - in ImportUserJSON calling Analytics to get data and mapping, below is json
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
{"connection": "acctAuth",
"url": "https://xxxxxxxx/ECM/api/v5/fetchRuntimeControlsData",
"httpMethod": "POST",
"httpParams": "{\"analyticsname\":\"UC_USERS\"}",
"httpHeaders": {
"Authorization": "${access_token}"
},
"colsToPropsMap": {
"username": "USERNAME~#~char",
"customproperty18": "CUSTOMPROPERTY18~#~char"
},
"userResponsePath": "result"
}
its throwing below error
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Got Webservice API Response: [error:Error No signature of method: java.lang.String.keySet() is applicable for argument types: () values: []
2023-10-11T15:08:52-05:00-ecm-worker----Possible solutions: toSet(), toSet(), next(), next(), center(java.lang.Number), getAt(groovy.lang.Range)]
2023-10-11T15:08:52-05:00-ecm-worker-rest.RestUtilService-quartzScheduler_Worker-10-DEBUG-pullObjectsByRest - responseStatusCode ::null
any idea/inputs on the above issue ?
thanks,
suresh
10/11/2023 02:28 PM
curl --location -g --request POST '{{url}}/ECM/{{path}}/fetchRuntimeControlsData' \
--header 'Authorization: Bearer {{token}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"analyticsid": "11",
"max": "10",
"offset": "0",
"loggedinuser": "admin",
"attributes": {
"manager": "******",
"username": "Sam" }
}'
10/11/2023 08:49 PM
10/12/2023 02:19 PM
10/19/2023 09:14 AM
Hi All, below was missing in JSON caused issue.
"httpContentType": "application/json",
Thanks,