Forum Discussion

Victormar's avatar
Victormar
Helper V
2 years ago

Looping values for API call

Hello, community

I am currently trying to extract some data from Jama using their API, which is contained in folders/containers inside Jama; The data is also organized in different levels, so the idea is to navigate from top to bottom.

I can extract the data manually from the different levels, but I would like to automate it so that I would input the top level and it would loop over it.

The call I am using is:

https://jama-dev.ess.XXX.net/rest/v1/items/{id}/children?include=data.fields.status&startAt=0&maxResults=50

ID --> is the top level of the folder

Then, among other columns, it returns one that has the IDs of the next-level items, which I would like to input recurrently to a call like the one above:

Hope it makes sense 🙂

Thanks for all your help

2 Replies

  • As you can probably appreciate it is nearly impossible to help with API queries without access to said API  (which you may not be willing to provide for understandable reasons)

  • Thanks for your input.

    I think I am just asking if it's possible to do it and if someone has experience doing it or if it's even feasible, or any suggestions on how to do it, maybe through Python code or similar. To give a suggestion or a standard snipped of code, you don't need access to my API.