Open APIs

 View Only
  • 1.  Bundle - Order Provisioning

    TM Forum Member
    Posted Jan 24, 2023 08:21
    Hi Team,

    As part of a requirement, an order is captured in below structure and I'd like to evaluate TMF 622 for the same.




    I would like to get your advice if below TMF structure fit the standards. Please advice.
    {
    "productOrderItem": [
    {
    "id": 1,
    "product": {
    "id": "Bundle ID 1",
    "description": "Bundle Order",
    "isBundle": true,
    "productRelationship": [
    {
    "relationshipType": "Bundled",
    "product": "M-OfferId",
    "@type": "Product"
    },
    {
    "relationshipType": "Bundled",
    "product": "S-OfferId",
    "@type": "Product"
    },
    {
    "relationshipType": "Bundled",
    "product": "O-OfferId",
    "@type": "Product"
    }
    ]
    }
    },
    {
    "id": 2,
    "product": {
    "id": "Offer ID",
    "href": "string",
    "description": "Single Product Order",
    "isBundle": false,
    }
    }
    ]
    }

    Thanks,
    Ohala J

    ------------------------------
    Ohala Jayampu
    Capgemini
    ------------------------------


  • 2.  RE: Bundle - Order Provisioning

    TM Forum Member
    Posted Jan 26, 2023 04:07

    Hi Ohala,

    I think it does. You are representing the dependencies in the offering hierarchy at product level, which is right in my point of view.

    I doubt regarding the @type filed of the productRelationship object. I think that this field is used to represent the type (the class if you want) of the JSON object. In this case should be the class you use for productRelationship objects, not for products.

    Additionally, you have also the option to use relationships at product order item level, specially if you need the product order management to do some kind of orchestration.

    Hope it helps.

    Best regards,

    ------------------------------
    Abel Ruiz Huerta
    alvatross by SATEC
    ------------------------------



  • 3.  RE: Bundle - Order Provisioning

    TM Forum Member
    Posted Jan 26, 2023 09:17
    Hi Ohala

    Please note that you don't need to use product relationship for a hierarchical tree of product. Product has a sub-entity, array of product. You would use relationship to represent an association between independent products that might be ordered separately, e.g. a dependency relationship between Broadband and TV. And, as @Abel Ruiz Huerta points out, if the products are being ordered at the same time, inter-order relationships could help as well.​

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



  • 4.  RE: Bundle - Order Provisioning

    TM Forum Member
    Posted Jan 27, 2023 06:22
    Thank you @Jonathan Goldberg and @Abel Ruiz Huerta for your inputs. As per your suggestion, we are going to use the sub-entity Product array to refer to the products associated with a Bundle.

    Thanks,
    Ohala J​​

    ------------------------------
    Ohala Jayampu
    Capgemini
    ------------------------------