Open APIs

 View Only
  • 1.  TMF622: Confusion on API to delete a Product Instance

    Posted Oct 03, 2022 10:55
    Dear Team,

    I need to expose an API to support Delete of a Product Instance.
    But when checked in TMF622, it has -
    1) POST /productOrder
    2) DELETE /productOrder/{id}

    Here, is it correct to use POST /productOrder with ProductOrderItem.action as "delete" or it should be Delete /productOrder ?
    What I understood is Delete /productOrder is specifically to delete the order itself (which may be for administrative purpose), but not the Product instance.
    Kindly clarify.

    Regards,
    Paras Agrawal

    ------------------------------
    Paras Agrawal
    Infosys
    ------------------------------


  • 2.  RE: TMF622: Confusion on API to delete a Product Instance

    TM Forum Member
    Posted Oct 03, 2022 13:54
    Hi Paras

    You cannot just delete a product from the inventory "out of the blue". There can be many side effects, such as:
    • Deactivating the product's underlying services/resources in the network
    • Assessing possible early termination fee
    • Assessing possible break of promotion conditions
    • Calculating final recurring charge, possibly including proration
    • Generating a final bill
    • Return equipment authorization
    • more
    So you need to create and submit (POST) a Product Order that terminates/ceases the product.
    As part of the flow involved in this, your business practice might require that you do actually delete the product from the inventory. This would be a DELETE operation in TMF637, and you'd expect to protect access to this operation for internal use only.

    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.
    ------------------------------