I’m working on a requirement for pulling in data from multiple end-points.
In my example, the client service is displaying an overview of a bank account. We want it to show current balance, last payment received, and next scheduled payment. The service application supports this with three APIs: bank-account, scheduled-payments (first one, date asc), payments (first one, date desc).
I know the client can make three calls but I was under the impression one of Tyk’s features was the ability to aggregate across multiple end-points. Forgive me if I missed this in the documentation.
Yes it can, there’s two ways to use this feature in Tyk:
A raw batch endpoint - which takes a pre-formated strict inbound request and runs it, it then returns a heavily structured return object (good for internal APIs)
Thank you, Martin. I have to admit I skimmed past “Batch Requests” as I immediately associated the topic with the asynchronous / off-line processing of enterprise systems. This set me down the correct path.