Open APIs

 View Only
  • 1.  Service Activation Query API with asynchronous response

    TM Forum Member
    Posted Mar 25, 2021 05:06
    Hi, 

    I trying to explore for expose an API that allow consumer to query about the information of a status. 
    But due to the service information is not store in any persistence storage (database), we need to query on the device real time in order to get the service information which would take more than > 1 minutes (depend on the device). 

    As this is related to service, I am considering to use TMF640 (service activation and configuration), but for TMF640 the query operation (GET) is synchronous API which don't seem suitable for that. 

    May I know is that any other API that I can use? or may be have a callback for the TMF640 GET? 

    Thanks.

    ------------------------------
    Chio Chuan Ooi
    ------------------------------


  • 2.  RE: Service Activation Query API with asynchronous response

    TM Forum Member
    Posted Mar 25, 2021 09:56
    Hi Chio
    One way to do it would be to extend your implementation of TMF640 with a task resource that would allow asynchronous retrieval of the service status from the network. You could POST the task resource and then perhaps use the Monitor pattern to track the availability of the result, same way as when creating the service by POST.
    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.
    ------------------------------