0 Replies Latest reply on May 16, 2018 12:51 PM by Bhavik Vagadia

    PBCS REST API : Get Planning Unit Owner Photo - from where to fetch userID?

    Bhavik Vagadia

      Hello Gurus,

       

      In PBCS REST API for Managing Planning Units, there is an Api call for retrieving Photo of the Planning Unit owner. It goes like this:

       

      GET /HyperionPlanning/rest/{api_version}/applications/{application}/users/{userId}/photo

       

      There is no mention in the documentation of where to get the "userId" parameter to be passed in the url.

       

      Example URL in documentation:

      https://<SERVICE_NAME>-<TENANT_NAME>.<dcX>.oraclecloud.com/HyperionPlanning/rest/v3/applications/PS4app1/users/5000100/photo

       

      As you can see, there is 'numeric' userId (5000100) to be passed, where to get this ID?

       

      I tried passing

      1) regular pbcs username,

      2) identityDomain.username,

      but it throws 404 error.

       

      Has anyone done this?