Planning Analytics

 View Only
  • 1.  Using Annotations through REST API

    Posted Thu June 27, 2019 08:19 PM
    I am working with the REST API for annotations in Planning Analytics and trying to figure out how to retrieve all annotations on a given cell of a cube by passing the reference of the cell to the ap1/v1/GET/Annotations request. I can pass the annotation ID to the request and retrieve the specific details of the annotation tied to the ID but not sure how to fetch by passing the context of the cell instead. 

    Has anyone tried to do this and has any pointers? There has to be a way to do this since PAW is using REST API and is doing it already.

    Thanks,
    Gaurav

    ------------------------------
    Gaurav Bahal
    ------------------------------

    #PlanningAnalyticswithWatson


  • 2.  RE: Using Annotations through REST API

    Posted Fri June 28, 2019 11:34 AM
    I don't know this particular answer, but I suggest turning on REST logging to find out.

    Enable httprequest loggers and have PAW or PAX retrieve the annotations list. Your answer should be in the server logs. 

    Last I checked annotations were stored in a cube so you coukd just query the cube directly. 

    Cheers

    ------------------------------
    Ryan Clapp
    ------------------------------



  • 3.  RE: Using Annotations through REST API

    Posted Fri August 26, 2022 10:23 AM
    Have you figured out how to get annotations for a particular cell via Rest API? 

    Querying annotations cube is an option but the user need to have access to it.

    You can filter by commentLocation property of annotation, but it's not reliable, because it may contain aliases.


    ------------------------------
    A Z
    ------------------------------