Open APIs

Expand all | Collapse all

catalog / category relationship Product Catalogue Management API

  • 1.  catalog / category relationship Product Catalogue Management API

    TM Forum Member
    Posted Jan 14, 2019 20:43
    Dear Forum,

    I would like to understand how it works the relationship between catalog and category in Product Catalogue Management API TMF620 Release 17.5.0 January 2018
    The resource model (page 11) mention this relationship but if you check the sample model through Product Catalogue Management API swagger you cannot see it.

    Can you help me to understand this point?

    Thanks in advance,
    Best Regards,

    António Ribeiro



    ------------------------------
    António Ribeiro
    Celfocus
    ------------------------------


  • 2.  RE: catalog / category relationship Product Catalogue Management API

    TM Forum Member
    Posted Jan 20, 2019 14:07
    Hi Antonio
    There is a defect in the Swagger, the category is missing from catalog. This is documented in JIRA issue https://projects.tmforum.org/jira/browse/AP-1113, members of the Open API team have access to this JIRA.
    We had planned to fix in release 18.5, but other priorities have caused Product Catalog publication to be delayed until release 19.0 (at earliest).
    But the planned fix as documented in the API could be adopted in advance by people wanting to use the catalog, it would be to add to the Catalog entity a snippet similar to the following:
    "category": {
    "description": "A list of categories associated with this catalog"
    "type": "array", 
    "items":
    
    { "$ref": "#/definitions/CategoryRef" }
    },

    This is consistent with the model as presented in the specification document.

    Hope it helps

    ------------------------------
    Jonathan Goldberg
    Amdocs Management Limited
    ------------------------------