Open APIs

 View Only
  • 1.  TMF 622 - CancelProductOrder

    TM Forum Member
    Posted Sep 30, 2019 14:14
    Hi,

    With the latest release 19.0.0, a new resource (CancelProductOrder) allows cancelling the Product Order. I have some questions on how the API is intended to be used.

    Let's say I sent a POST Product Order. At one point, I got those 2 notifications:
      1) ProductOrderCreateEvent
      2) ProductOrderStateChangeEvent (where the state changed to "inProgress")

    Now, customer wants to cancel the order. We receive a POST CancelProductOrder. I assume, we could receive the following 2 notifications:
      1) CancelProductOrderCreateEvent
      2) CancelProductOrderStateChangeEvent ("acknowledged" -> "inProgress" -> "done")

    Question what happens to the ProductOrder?
    • Can I assume that ProductOrder will also continue publishing ProductOrderStateChangeEvent, changing states from "inProgress" -> "Assessing Cancellation" -> "Pending Cancellation" -> "Cancelled"?
    • Or are those ProductOrder states depricated with the new Resource


    ------------------------------
    Stephane AH-KO
    CGI
    ------------------------------


  • 2.  RE: TMF 622 - CancelProductOrder

    TM Forum Member
    Posted Oct 01, 2019 02:46
    Hello Stephane

    For me ProductOrder will continue publishing ProductOrderStateChangeEvent, changing states from "current state" to "Assessing Cancellation" and then to the assessed product order state (depending on cancellation accepted or not).
    The productOrder and the cancelProductOrder are 2 distinct resources with each it own lifecycle.

    Hope it helps.

    Ludovic


    ------------------------------
    Ludovic Robert
    Orange
    My answer are my own & don't represent necessarily my company or the TMF
    ------------------------------