Open APIs

Expand all | Collapse all

Expose full catalog API

  • 1.  Expose full catalog API

    TM Forum Member
    Posted Jul 16, 2019 08:39
    We need to expose full catalog with all context (categories, product offering and prices) via API though the one request. I tried to find general public API for this case, but didn't have any one. May be somebody had the same issue and can suggest own best practices

    ------------------------------
    Natalia
    ------------------------------


  • 2.  RE: Expose full catalog API

    TM Forum Member
    Posted Jul 16, 2019 11:13
    Hi Natalia
    In TMF620 (product catalog management), there is not a single API that retrieves all entities in a single request. If you need all the entities, you could do the following:
    • GET <entity> with no query string for each of the managed entities (ProductOffering, ProductSpecification, etc.)
    • OR - start with a Catalog, which gives you the list of all the Categories for that Catalog, then for each Category you can get the list of ProductOfferings for that Category, etc.
    It surely depends on what your business need is.
    But it is important to realize that a Catalog does not contain catalog entities. The exact same ProductOffering could be exposed for sale in multiple Catalogs.
    Hope it helps

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