and more in a single search tool across platforms. Read the announcement here. |
07/13/2022 10:06 AM - edited 07/13/2022 10:07 AM
Hi Team,
We have a requirement where we need to fetch the Entitlement through pagination configuration.
Response from the Target:
We have used Next URL Logic but it's failing, below is the syntax.
In JSON, Under EntitlementParams:
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.nextUrlPath==null?null:response.completeResponseMap.nextUrlPath}"
}
},
"disableDeletedEntitlements": false
}
Ask: Could you please suggest to us a syntax through which we can achieve the above ask.
Note: We have observed the pagination nextUrlPath has 'http' instead of 'https'.
Thanks,
Sharukh.
08/01/2022 10:19 PM
Thank you for reaching out to us, could you please share the response you're getting for this call?
Also could you please share with us the error you're seeing?
08/03/2022 08:44 AM
Hello @Sharukh_Shaikh ,
You have a wrong response path in the pagination. It should include all the traversing path as bellow. Try with that.
"nextUrlPath": "${response?.completeResponseMap?.pagination.nexturl.nextUrlPath==null?null:response.completeResponseMap.nextUrlPath}"
Also please share the last pager response path as well.
As you see pagetype in response you can try pagetype pagination as well and sample is variable in REST connector.
Also If the http URL is proving the response back then it should not be an issue. The https and https is not in our control and you need to work with your target application team to do correction if any.
Regards,
Sagar Srikantaiah