Hi Chintan
Currently we don't have an operation for multiple retrieve (GET by list of IDs) in any of the Open APIs. I would agree that this could be a useful pattern, although it can abused if the list is long, and would need handling for partial failures.
You can certainly create an orchestration API nearer to your backend that would do the flow you described above.
Alternatively, if you are implementing TMF620 in your own product catalog application, you could create an extension to the API with a task resource that contains a list of IDs as input and a list of correlated product offerings as output.
Hope it helps
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------
Original Message:
Sent: Jun 09, 2020 08:25
From: Chintan Acharya
Subject: Integrating TMF679 and TMF620 on an API Client
Hello All,
We are trying to build a client that will consume Production Qualification (tmf679) and Product Offering(tmf620) to show a list of fixed line products to Agents on a CRM client screen.
As a CRM client :
- Call Product Qualification API with filter paramters (address details in case of fixedline products)
- Product Catalogue will return qualified produt Offerings Ids ( 30 for eg.)
- As client I want to get details for all these 30 offerings with tmf 620 API.
Quesiton:
Do I need to make 30 calls API calls with product offering ID received in tmf679?
Is there a way to get details of these 30 product offering ID with one tmf 620 calls.
Thanks
Chintan
------------------------------
Chintan Acharya
------------------------------