Closed emepetres closed 3 years ago
Hi,
It is true that the productOffering field do not include the productSpecification reference. The point is that we are following the standard specification provided by the TMForum (it defines the structure for this JSON document). In general, reference fields such as productOffering or billingAccount, etc includes just the ID and the HREF (there are some exceptions such as related party which also includes the role). So the approach in these kind of scenarios typically is retrieving the object using the reference and then retrieve the info needed.
It is true, that in this particular case directly having the productSpecification reference might be useful and has sense, taking into account that this objects represents and acquired product.
Let me review the API specification and check what is the best approach to deal with this.
I thought it was a bug, as productOffering field appears on the apiary docs under the Inventory Management API example
You are right, this is included in the documentation...
In version 5.4.1, when calling http API /DSProductInventory/api/productInventory/v2/product, response doesn't show the field 'productSpecification' inside each offering. Example response at the bottom.
I think this is a bug, how I could fix it?
I know there is a new version, but I can't update at this moment and I'd like to fix it on 5.4.1.
Example: