02/28/2023 10:21 PM
Hi,
We are running the Import User Json and have used multicall in the user import but it executes call 1 repeatedly (4 times) and does not execute call 2.
In postman we can hit both the urls separately though
Given below is the Import user json.
{
"type": "multiCall",
"call": [
{
"name": "call1",
"connection": "userAuth",
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"url": "*******",
"httpMethod": "POST",
"httpHeaders": {
"contentType": "application/json",
"Authorization": "${access_token}"},
"colsToPropsMap": {
"username": "username~#~char",
"statuskey": "statuskey~#~char",
"country": "country~#~char",
"customproperty31": "companyall~#~char",
"customproperty6": "address~#~char",
"customproperty1": "DNValue~#~char",
"customproperty10": "OrgUnit~#~char",
"displayname": "displayname~#~char",
"customproperty21": "PIN~#~char",
"customproperty17": "EmailPrefix~#~char"},
"errorCode":"400,401,403,404,405,412",
"errorCodePath":"errorCode",
"userResponsePath": "results"
},
{
"name": "call2",
"connection": "userAuth",
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"url": "********",
"httpMethod": "POST",
"httpHeaders": {
"contentType": "application/json",
"Authorization": "${access_token}"},
"colsToPropsMap": {
"username": "username~#~char",
"customproperty2": "LocationType~#~char",
"customproperty18": "description~#~char",
"customproperty19": "PlantName~#~char",
"customproperty20": "SBUCODE~#~char",
"customproperty25": "SBU~#~char",
"customproperty10": "OrgUnit~#~char",
"customproperty13": "division~#~char",
"customproperty29": "domain~#~char"},
"errorCode":"400,401,403,404,405,412",
"errorCodePath":"errorCode",
"userResponsePath": "results"
}
]
}