and more in a single search tool across platforms. Read the announcement here. |
02/08/2024 05:45 AM - edited 02/08/2024 06:01 AM
My API Json response contains below details
---------------
{"totalSize":1454808,
"done":false,
"nextRecordsUrl":"/services/data/v59.0/query/xxx-2000",
"records":[
{
"attributes":
------------------
Since my nextRecordsUrl is missing on the base URL how do i adjust my pagination?
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.done==true?null:response.completeResponseMap.nextRecordsUrl}"
}
}
--------
Is below correct?
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.done==true?null:'base URL'+response.completeResponseMap.nextRecordsUrl}"
}
}
Solved! Go to Solution.
02/08/2024 09:53 AM
Hi,
This should work fine.
"pagination": {
"nextUrl": {
"nextUrlPath": "${response?.completeResponseMap?.done==true?null:'base URL'+response.completeResponseMap.nextRecordsUrl}"
}
}
02/08/2024 10:56 PM