Open APIs

 View Only
  • 1.  requestedInitialState and state on ProductOrder in TMF 622

    TM Forum Member
    Posted Jan 11, 2024 03:49

    Hi all,

    What is the difference between "requestedInitialState" and "state" fields on ProductOrder in TMF 622 Open API?

    We could see the descriptions of the fields in the user guide, but couldn't see any example mentioning the both. Can this be explained with an example for better understanding?



    ------------------------------
    Varun Pandhi
    Infosys
    ------------------------------


  • 2.  RE: requestedInitialState and state on ProductOrder in TMF 622

    TM Forum Member
    Posted Jan 12, 2024 08:29

    Hi Varun

    My understanding is that the requestedInitialState is an input when the order is created, and is invariant subsequently. Suppose, for instance, that we want to create an order but not validate or submit it yet. We could ask for a state called Draft. On the other hand, the state changes as the order goes through its lifecycle changes. So the requestedInitialState is a permanent record of how the order was created in the first place.

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