Forum Discussion

NicolaiW's avatar
NicolaiW
Frequent Visitor
2 years ago
Solved

Looping API calls

Hi guys,
Here's a challenge for you:
I wish to generate a list of registered customer contacts from my economy system. If i enter something similar to below i get all the contacts from customer 1. 

HTTps://webpageAPI.com/customers/1/contacts

 

However, i have hundreds of customers. So, i need to make some kind of API call, that loops through all customers and returns all the contacts from each customer in one table. I am able to generate a list of all customer numbers, but i dont now how to get further from there.. Hope you can help me 🙂

/Nicolai

2 Replies