Open APIs

Expand all | Collapse all

TMF 637 Product Inventory Management API,Require more information on productRelationship attribute for child subscribed product

  • 1.  TMF 637 Product Inventory Management API,Require more information on productRelationship attribute for child subscribed product

    TM Forum Member
    Posted 12 days ago
    Edited by Smrutirekha Lenka 11 days ago

    Hi Experts

    We are using TMF 637 ​Product Inventory Management API for below example in which we want to get the complete details of subscribed product . For ex: considering below structure if ii hit the api to get the details of abhg-985, i want to get the ProductofferingRef of child subscribed product.



    Now here in the response for details of abhg-985 where can i get the productOferring corresponding to the subscribedProduct which are bundled by abhg-985(g265-tf85 and 8956-jk56)?
    Is it advisable if we can have ProductOfferingRef under ProductRef in ProductRelationShip?
    "productRelationship": [
    {
    "product": {
    "href": "https://b2ctelco.local:9002/b2ctelcotmfwebservices/v3/product/tv_news_addon_123413",
    "id": "g265-tf85",
    "productOfferingRef":{
    "id": "PO-101-1",
    }
    },
    "relationshipType": "bundles"
    }
    ]


    ------------------------------
    Smrutirekha Lenka
    IBM Corporation
    ------------------------------



  • 2.  RE: TMF 637 Product Inventory Management API,Require more information on productRelationship attribute for child subscribed product

    TM Forum Member
    Posted 11 days ago
    Hi Smrutirekha
    In the published TMF637 spec, you will see that ProductRelationship points to ProductRefOrValue. This gives you the ability to include any or all the fields of Product, including the productOffering attribute. So yes you can do that.
    Just in case, wise to check with @Ludovic Robert for confirmation.
    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.
    ------------------------------