Used pagnation function from api helpers

Change-Id: I1bdd3608d3b46924b5da3ae282c99f85ee4e0dab