PeopleTools and Lifecycle Management - PSFT (MOSC)

MOSC Banner

Any Idea Looping through REST API Pagination in PeopleSoft

Any Idea Looping through REST API Pagination in PeopleSoft.

PS side created Service Operation with following URL Index

https://apistaging.fakaAPI.com/odata/v1.0/7777/Employees/2021/12?$count=true&$skip={Skip}

Here, {Skip} as variable from documents.

Default value from API Providers for GET will 100 then next run have to pass Skip = 100 for next data set.

when i run in Postman the response body will come like (JSON Responses)

 "@odata.context": "https://apistaging.fakeAPI.com/odata/v1.0/7777/$metadata#Employees",

    "@odata.count": 2001,

    "@odata.nextLink": "https://apistaging.faceAPI.com/odata/v1.0/7777/Employees/2021/12?$count=true&$skip=100",

    "value": [

        {

            "ID": 25987195,

            "Com": "202112",

.......

We are Parsing JSON using CreateJsonParser()

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center