Click HERE to see how Saviynt Intelligence is transforming the industry. |
08/07/2024 01:01 PM
Hi,
Am trying to import part of data from API endpoint 1 and part of data from API endpoint2 both have the common unique value. How can i accommodate in userimportjson both calls? i tried using type:multicall. it doesnt seem to working. Any ideas let me know.
Thanks
TV
08/07/2024 05:48 PM
Share json and logs
08/08/2024 10:56 AM
{
"type":"multicall",
"call": [
{
"name": "call1",
"connection": "acctAuth",
"url": "https://api.veritystream.cloud/services/verityconnect/api/core/v1/Demographics/All",
"httpMethod": "POST",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpParams": "{}",
"userResponsePath": "Value.Result",
"colsToPropsMap": {
"username": "Id~#~char",
"customproperty1": "Dr_Id~#~char",
"FirstName": "FirstName~#~char",
"LastName": "LastName~#~char",
"customproperty3": "NPI~#~char"
},
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.next_page==null?'':response.completeResponseMap.next_page}"
}
}
},
{
"name": "call2",
"connection": "acctAuth",
"url": "https://api.veritystream.cloud/services/verityconnect/api/core/v1/Demographic/CredentialsLicenses/al...",
"httpMethod": "POST",
"httpHeaders": {
"Authorization": "${access_token}"
},
"httpContentType": "application/json",
"httpParams": "{}",
"userResponsePath": "Value.Result",
"colsToPropsMap": {
"username": "Id~#~char",
"customproperty1": "Dr_Id~#~char",
"customproperty2": "LicenseNumber~#~char",
"customproperty10":"Active~#~boolean"
},
"successResponses": {
"statusCode": [
200,
201,
202,
203,
204,
205
]
},
"pagination": {
"nextUrl": {
"nextUrlPath": "${response.completeResponseMap.next_page==null?'':response.completeResponseMap.next_page}"
}
}
}
]
}
08/08/2024 01:15 PM
Please share postman screenshot and curl command [Refer https://codingnconcepts.com/postman/how-to-generate-curl-command-from-postman/ ]
⚠️‼️‼️Do not upload any attachments that contain sensitive information, such as IP Addresses, URLs, Company/Employee Names, Email Addresses, etc.‼️‼️⚠️
08/08/2024 12:22 PM
Hi @txvajrag , POST call with no param is it right??
08/09/2024 11:40 AM
Yes , for single call Saviynt is able to bring the data
08/09/2024 11:54 AM
Postman details, please
08/09/2024 12:11 PM
For single call its working in Saviynt as well. I wanted to see if we can call 2 API's
08/09/2024 12:32 PM
Can you share the call2 response from Postman?
08/09/2024 02:15 PM
08/09/2024 03:51 PM
"userResponsePath": "",
"colsToPropsMap": {
"username": "Value.Result.Id~#~char",
08/12/2024 06:52 AM
when its working for call1 API when i have used Value.Result as userresponsepath, why it wont work for call2 api cause its the same.
08/12/2024 07:03 AM
If its not working share latest logs