Open APIs

 View Only
  • 1.  TMF 622 : Finding Parent PO

    Posted Oct 28, 2019 08:41
    In the sample json given as  example for tmf 622 api , all productorderitems are present at the same level.
    This model heavily uses productRelationship value "reliesOn" keyword to mark relationship between parent PO and child PO .Is there any other way to find the parent productorderitem and child productorderitem without iterating the entire productorderitem collection and applying custom logic over it based on the productRelationship

    ------------------------------
    jyothish joy
    ------------------------------


  • 2.  RE: TMF 622 : Finding Parent PO

    TM Forum Member
    Posted Oct 28, 2019 11:25
    In the OrderItem schema, child (contained) order items are referenced directly by the array orderItem attribute. The orderItemRelationship between order items is intended to express other types of relationships, such as dependency, scheduling, and so forth.
    Referring to @Ludovic Robert for additional comments.
    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.
    ------------------------------