Skip to content
How to make a custo...
 
Notifications
Clear all

How to make a custom API call for REST?

19 Posts
4 Users
0 Reactions
8 Views
Bjorn.drivn
(@bjorn-drivn)
Posts: 13
Active Member
 

This is not a setting; it's how the Teamtailor API was designed. Each "List jobs" request returns 10 records within an array, along with a "links" object containing the next page. To retrieve multiple or all records, you'll need to iterate through the available next pages.

You can find inspiration in this discussion:

 
Posted : 08/11/2022 6:44 pm
Daniel_Lof
(@daniel_lof)
Posts: 10
Active Member
Topic starter
 

Ah, that's great! Thanks for the inspiration. I haven't created a loop before, so now seems like an ideal opportunity to try and learn.

 
Posted : 08/11/2022 6:53 pm
alex.newpath
(@alex-newpath)
Posts: 53
Trusted Member
 

This is a case study in using an API from scratch. Thanks everyone for participating. Also try Postman to learn about APIs.

 
Posted : 08/11/2022 8:46 pm
Bjorn.drivn
(@bjorn-drivn)
Posts: 13
Active Member
 

No problem! Great topic for anyone else trying to learn REST APIs.

 
Posted : 08/11/2022 9:25 pm
Page 2 / 2
Share: