TM Forum Community

 View Only
  • 1.  TMF674-GET API

    Posted 3 days ago

    We are using the TMF674 – Geographic Site Management (GET) API, which supports customerId, siteId, and siteName as query parameters.

    If we provide customerId and siteName together, how should the API return results?

    1. Exact Match – Return the site only if the siteName exactly matches the provided value.
    2. Like Match – Return results even if the siteName only partially matches the provided value.

    What is the standard practice according to TM Forum (TMF) guidelines?


    #General

    ------------------------------
    Mahendra Takalkar
    Tech Mahindra Limited
    ------------------------------


  • 2.  RE: TMF674-GET API

    Posted 10 hours ago

    Hi Mahendra,


    Default behaviour with query string is ANDED

    To retrieve trouble tickets where dateTime is greater than 2013-04-20 and less than 2017-04-20:

    GET /api/troubleTicket?dateTime>2013-04-20&dateTime<2017-04-20

     

    OR condition (ORING)

    To retrieve trouble tickets where dateTime is less than 2013-04-20 OR less than 2017-04-20:

    GET /api/troubleTicket?dateTime<2013-04-20;dateTime<2017-04-20







    According to TMF guidelines, when customerId and siteName are provided together, the API must return results only if both attributes exactly match the provided values (AND + exact match). Partial/LIKE matching is not standard unless explicitly requested using regex operators as per above table.

    Refer TMF630 for more details



    ------------------------------
    Subhanshu Shukla
    Asst Vice President
    ------------------------------