Open APIs

 View Only
  • 1.  Does TMF639 support getting a resource inventory list?

    Posted Sep 08, 2020 07:39
    Hi, looking at the API specification you can only request a specified inventory item.  Does this API, or another, support retrieving all inventory or all within a defined set of parameters?

    Thanks

    Second time posting this, hopefully it appears this time.

    ------------------------------
    Tim Burnell
    ------------------------------


  • 2.  RE: Does TMF639 support getting a resource inventory list?

    TM Forum Member
    Posted Sep 08, 2020 10:00
    Hi Tim
    Almost all the APIs, especially those relating to persistent entities (such as Resource Inventory) should support GET by ID and GET without ID. GET by ID is retrieve, while GET without ID is search. Currently the API definitions do not explicitly state how search is implemented, it is expected at least that you can filter by any top-level attribute in the REST resource. The conformance profile for the API may give additional information.
    In the swagger for 639 it looks like this:
    "paths"
    "/resource": {
         "get": { ...
    "/resource/{id}": {
         "get": { ...

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