Hi,
I'm looking into implementing the Product Catalog Management API R17.5 but some questions arised:
1.Based on the Product Catalog Management resource model, specifically the Product Offering resource model I was unable to understand how can one relate a ProductOffering with another ProductOffering, when we are not dealing with Bundle Product Offerings. Example:
Offer A
Mobile
Data
100MB (Billing Offer)
Voice and messaging
100SMS (Billing Offer)
Based on this example how could I relate ProductOffering "Offer A" with ProductOffering "Mobile" and so on?
I looked into the SID R17.5 and found out that a ProductOffering has an attribute ProductOfferingRelationship. I was also unable to find a document that mapped the SID to the OpenApi Product Catalog Management. So I'm unsure if this relationship behavior is something that is possible but I'm simply not understanding how, or is something that does not make sense to the specification.
2. Still regarding the ProductOffering resource model, it is possible to observe a relationship between ProductOffering and ProductOfferingPrice. According to the specification one can create a ProductOfferingPrice through the ProductOffering resource, although not all attributes will be exposed.
How should I look into this ProductOfferingPrice? Should I consider this as a sort of "ProductOfferingPriceRef" where the relationships with Price and PriceAlteration only exist with this "ProductOfferingPriceRef", since the actual "ProductOfferingPrice" model does not have these relationships. Therefore, a new "ProductOfferingPrice" is only created if the ID does not exist. And if it does exist, it references an actual "ProductOfferingPrice".
Or this "ProductOfferingPrice" is an actual "ProductOfferingPrice" and not a reference? If that is the case, there are clear differences between the model displayed in "ProductOffering resource model" and "ProductOfferingPrice resource model". How should I deal with them? A simple example is the price attribute. In "ProductOffering resource model" the price in ProductOfferingPrice is an object with 4 attributes, but in "ProductOfferingPrice" the price is an object of type money and has 2 attributes.
If my questions are a bit confusing feel free to ask for clarification.
Thank you in advance.
------------------------------
Pedro Sanches
Celfocus
------------------------------