Announcing the Saviynt Knowledge Exchange unifying the Saviynt forums, documentation, training,
and more in a single search tool across platforms. Read the announcement here.

Rest : Need to Apply Pagination in Entitlement import

Sharukh_Shaikh
New Contributor III
New Contributor III

Hi Team,

We have a requirement where we need to fetch the Entitlement through pagination configuration.

Response from the Target:

Sharukh_Shaikh_0-1657731276018.png

 

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.

2 REPLIES 2

Belwyn
Saviynt Employee
Saviynt Employee

Hi @Sharukh_Shaikh 

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? 

 
Regards, 
Belwyn.

sagars
Saviynt Employee
Saviynt Employee

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