Quantcast
Viewing all articles
Browse latest Browse all 62200

Multiple API Calls for Template Content Pack

Hi,

 

I am trying to make a template content pack that will eventually be submitted to be a service.

 

The data I want to use comes from several different api calls e.g:

mypretendapi/company/user.json

mypretendapi/companyclient.json

mypretendapi/pay.json

etc...

 

I understand one of the restrictions is to only have a single end point so I am wondering what is the best practice way to get around this problem.

 

I would like to stay away from a single api call that returns all of these tables.

 

I have also tried making a custom function which changes the end of the url e.g "/company/user.json" and returns the related tables. Although the table is not listed as it's own data source after the call I fear it would still not fit the requirements for publishing a template content pack.

 

What solution would you recommend.

 

Thanks for your time.


Viewing all articles
Browse latest Browse all 62200

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>