Hi Team.
I am looking for a way to perform paging in a webservices connector using the paging tab within the HTTP operation.
The paging method used by the endpoint I am invoking is through the request body and brings 20 results on each call.
The body of the request looks similar to this:
{
"spName": "sp_department",
"params": [
{
"name": "@transaction",
"value": "1000"
},
{
"name": "@operation",
"value": "T"
},
{
"name": "@type",
"value": "A"
},
{
"name": "@mode",
"value": "1"
},
{
"name": "@last_department",
"value": "19"
}
]
}
Where in order to iterate you must assign the value of the last element in the object “@last_department”, in this case the value 19 since it is the last one of the first call.
Is there any way to include the body in the default paging method?