Open APIs

 View Only
  • 1.  Installation Address Attribute

    TM Forum Member
    Posted Jul 21, 2020 13:43
    Hi All,

    I need to update Displayable Attribute in Plan [installation address] for BroadBand Plan. I am not sure shall i create new REST API for it ? or shall i take it as input and update the value when creating the order itself on shopping cart[POST} REST. 

    Idea is to associate the valid installation address with Selected Plan.

    ------------------------------
    Deepak Negi
    Amdocs Management Limited
    ------------------------------


  • 2.  RE: Installation Address Attribute

    TM Forum Member
    Posted Jul 22, 2020 09:23
    Hi Deepak

    In general, the motivation for a dedicated end-point (we would call this a Task) is when there is a very specific business operation to be carried out, that does not fall within normal entity creation and update. Or when the update might have side-effects, or that you want to be able to return additional feedback that the generalized update cannot manage.
    For example to cancel an order we have a specific end-point for a CancelOrder task, since simply changing the status of an order to Canceled does not fully reflect the implications of such a cancel. Canceling an order might impose penalty charges, for example, that would need to be levied as part of the cancellation.

    Simply setting an address on the product within an order or cart seems to me not a sufficient change to justify a specialized task, I advise you to simply PATCH the order or cart with the change.

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