06-03-2024 10:54 AM
I am trying to paginate using a POST HTTP CLIENT Snap. I don't know how to accomplish this with the information provided in the data returned. I am extracting data from HubSpot using the 'search' endpoint (https://api.hubapi.com/crm/v3/objects/contact/search). The data returned looks like this:
How do I use this information to configure the snap to paginate?
Please Help!
Solved! Go to Solution.
06-11-2024 08:38 AM - edited 06-11-2024 05:39 PM
@koryknick, Thank you for your help. I was provided a solution by a coworker.
It's essentially that pipeline solution you provided HTTP Client Pagination with a few tweaks. I modified the HTTP Client as follows: Removed pagination configurations and the parameters configurations for both http snaps and added to the body of the 2nd HTTP snap "after" : $splitValue, "limit" : 100 Then I was getting subsequent data. But the data was duplicating. So I modified the map for pagination as follows:
06-11-2024 08:38 AM - edited 06-11-2024 05:39 PM
@koryknick, Thank you for your help. I was provided a solution by a coworker.
It's essentially that pipeline solution you provided HTTP Client Pagination with a few tweaks. I modified the HTTP Client as follows: Removed pagination configurations and the parameters configurations for both http snaps and added to the body of the 2nd HTTP snap "after" : $splitValue, "limit" : 100 Then I was getting subsequent data. But the data was duplicating. So I modified the map for pagination as follows:
06-11-2024 09:06 AM
@snapation6713 - very glad you worked out the solution! And happy I was able to point you in the right direction.
06-13-2024 12:24 PM - edited 06-14-2024 06:32 AM
Solution worked.