Open APIs

 View Only
  • 1.  Reference of newly created resource in TMF 622 POST()

    TM Forum Member
    Posted 27 days ago

    Hello Community,

    Need your input for the below scenario.

    • If a customer orders a new tariff we are creating a new asset in PIM.
    • When order.ID=1234 goes to completed and I do get/pom/1234, does this response contains a reference to the new asset, that was created in this order?

    How can we get the reference to the asset  ?

    regards,

    Rosalin



    ------------------------------
    Rosalin Panda
    Deutsche Telekom AG
    ------------------------------


  • 2.  RE: Reference of newly created resource in TMF 622 POST()

    TM Forum Member
    Posted 27 days ago

    Hi Rosalin

    Once the state of the order has changed to "Completed".  You can query the TMF637 Product Inventory API using the productOrderItem.id as the filter.

    Good luck!



    ------------------------------
    Dan d'Albuquerque
    Entronica Company Limited
    ------------------------------



  • 3.  RE: Reference of newly created resource in TMF 622 POST()

    TM Forum Member
    Posted 27 days ago

    Hello Dan,

    Thanks for the reply. Can i assume that then we can't get a reference id of PIM in the post() of 622 and probably update the order with this value for future use.

    We must use get() on TMF637 Product Inventory API. Can it give us then the asset was created as part of which order ?

    regards,

    Rosalin



    ------------------------------
    Rosalin Panda
    Deutsche Telekom AG
    ------------------------------