Open APIs

 View Only
  • 1.  TMF637 Product Inventory Management API: filtering in retrieve product operation

    Posted Nov 15, 2018 12:02
    ​Hi all, 

    What is the purpose of filtering functionality in RETRIEVE PRODUCT operation if the request itself should contain product id in the first place?
    GET /product/{id}?fields=...&{filtering}

    ------------------------------
    Denis Kurbanov
    MTS Group HQ
    ------------------------------


  • 2.  RE: TMF637 Product Inventory Management API: filtering in retrieve product operation

    Posted Nov 16, 2018 05:55
    Edited by Richard May Nov 16, 2018 06:16

    Hi Denis,
    Filtering is enabled on all attributes and field selection and not for the product ID only, this means that you can filter the products_id output needed based on product_id and/or the product spécifications, etc...

    https://www.tmforum.org/resources/specification/tmf637-product-inventory-management-api-rest-specification-r18-0-0/
    BR,
    Waseem Greiss



    ------------------------------
    Waseem GREISS
    Orange
    ------------------------------



  • 3.  RE: TMF637 Product Inventory Management API: filtering in retrieve product operation

    TM Forum Member
    Posted Nov 17, 2018 17:47
    Thanks Waseem for that.
    In general, the Open API GET provides two endpoints, one with an id that corresponds to retrieve by ID, and the other without an id that corresponds to search or filter. You will see this in the published swagger files.
    Hope this helps.

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