and more in a single search tool across platforms. Read the announcement here. |
02/08/2024 08:35 PM - edited 02/08/2024 08:36 PM
To update the user's customproperty1 from analytics1 and customproperty2 from analytics2, I have created a sav4sav connection.
I can update CP1 when I call only 1 analytics, but when I call both analytics1 and analytics2 to update CP1, CP2 at the same time, then I am unable to update it.
Below Json that I am using
Connection Json:
{
"authentications": {
"conAuth": {
"authType": "oauth2",
"httpHeaders": {
"Accept": "application/json"
},
"authError": [
"InvalidAuthenticationToken"
],
"url": "https://****/ECM/api/login",
"httpMethod": "POST",
"httpContentType": "application/json",
"httpParams": "{\"username\":\"*******\",\"password\":\"*****\"}",
"errorPath": "error.code",
"maxRefreshTryCount": 2,
"tokenResponsePath": "access_token",
"tokenType": "Bearer",
"authHeaderName": "Authorization",
"accessToken": "Bearer ABCD",
"retryFailureStatusCode": [
401
]
}
}
}
Import User Json:
{
"type": "multiCall",
"call": [
{
"name": "call1",
"connection": "conAuth",
"url": "https://********/api/v5/fetchControlDetailsES",
"httpParams": "{\"analyticsname\":\"analytics1\"}",
"httpMethod": "GET",
"httpHeaders": {
"Content-Type": "application/json",
"Authorization": "${access_token}"
},
"colsToPropsMap": {
"username": "username~#~char",
"customproperty1": "firstname~#~char"
},
"userResponsePath": "result"
},
{
"name": "call2",
"connection": "conAuth",
"url": "https://*****/ECM/api/v5/fetchControlDetailsES",
"httpParams": "{\"analyticsname\":\"analytics2\"}",
"httpMethod": "GET",
"httpHeaders": {
"Authorization": "${access_token}"
},
"colsToPropsMap": {
"username": "username~#~char",
"customproperty2": "lastname~#~char"
},
"userResponsePath": ""
}
]
}
02/08/2024 08:38 PM
02/12/2024 10:01 PM
02/08/2024 08:53 PM
Try calling analytics 2 only ..see if it makes any changes.
02/12/2024 10:02 PM
Only one call is working
02/12/2024 10:18 PM
It seems multi call is not supported to User Import