Hi Debasish
The word
type has a number of potential meanings when applied to product offering. Do you mean the formal class name as in @type , or perhaps you mean some classification or line-of-business (the SID has these concepts, but the Open API model doesn't).
At any rate you can of course add a type concept (but don't use the name
type since it clashes with @type) to your inventory as well, since this denormalization may make your query more efficient.
P.S. There is currently no concept or named entity of Subscription (or Subscriber) in the SID and the Open API.
------------------------------
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 18, 2022 09:25
From: Debasish Acharya
Subject: Filter on Subscribed Product of specific Offering Type
I want to check if a subscriber has subscribed to a specific type of product offering.
The subscription resource contains the subscribed products , but the "type" is part of in Product Offering Resource. (Product is an instance of Product Offering)
Need is to create an API which should check if the subscriber has subscribe to the specific PO (PO.Type = XYZ).
Any suggestion on this? Do I need to enrich the Subscription resource to include PO.Type at Product level? Is this recommended?
Regards,
------------------------------
Debasish Acharya
Ericsson Inc.
------------------------------