Open APIs

 View Only
  • 1.  Billing Mgmt and Product Inventory APIs query

    TM Forum Member
    Posted Apr 30, 2018 02:04
    Hi,
    We are in the process of implementing few of the APIs to get Customer details. Is there a way to find the list of Products that a customer has subscribed to by traversing the billing account? We understand that the product inventory API is to be used. The Product inventory resource model has a reference to the Billing Account. However the reference from Billing Account to product inventory is not available - for traversing. We were planning to introduce this relation, wondering if there was another way to achieve this.

    Thanks.


    ------------------------------
    Aparna Ramkumar
    Tech Mahindra Limited
    ------------------------------


  • 2.  RE: Billing Mgmt and Product Inventory APIs query

    TM Forum Member
    Posted May 01, 2018 02:49
    Hi Aparna
    In general, the APIs for searching entities will be found in the <entity> API. Thus if you want to search for Product, you would go to the Product Inventory API and do a GET on the Product with the filter that you need. Look at the spec here Product Inventory (awaiting team review)
    The spec includes an example of retrieving by Billing Account, thus:
    GET /productInventoryManagement/product?fields=id,name&billingAcount.id="BA136"
    Your use case for the reverse traverse is not clear to me, but perhaps it is worthwhile discussing with  @Ludovic Robert, the team leader for this API, for additional information.​

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    ------------------------------



  • 3.  RE: Billing Mgmt and Product Inventory APIs query

    TM Forum Member
    Posted May 07, 2018 04:10
    Thanks for your help. I am trying to create a model which has the Customer Account and the Products subscribed to by the customer. I need to probably create some service which will make the calls for each entity as you described and then create a custom entity which wraps around the other SID entities.

    ------------------------------
    Aparna Ramkumar
    Tech Mahindra Limited
    ------------------------------