Hi Experts,
We are using TMA637 Product Inventory Management API in our system. We need to accomodate bundledProductOfferingCode in this API response for GET Implementation. The attribute 'bundledProductOfferingCode' should represent the code of given Product Offering's Parent ProductOffering.
e.g. the request is GET /product/{internet100}
internet100 is part of bundle with id UnlimitedCallPack
so bundledProductOfferingCode in this case should have value of UnlimitedCallPack.
The TMA637 Product Inventory Management API Response has attribute productRelationship(relationshipType, product ) which is used for the similar purpose.
productRelationship has two attributes viz.
relationshipType and
product. There are three values available for relationshipType under ProductRelationship resource. The three values are bundled, reliesOn and targets (isTargeted). Going with our requirement we are considering the we will have relationshipType valued as targets and the attribute product will refer to the parent of the selected product.
e.g.
the request is GET /product/{internet100}
internet100 is part of bundledProduct with id UnlimitedCallPack.
The response will have below structure
{
"id": "internet100",
"href": "https://host:port/productInventoryManagement/v4/product/internet100",
"description": "Internet 100",
"productRelationship": [
{
"type": "targets",
"product": "UnlimitedCallPack"
}
}
Can you please confirm if this is the correct value to represent this information.
------------------------------
Ketki Mujumdar
IBM Corporation
------------------------------