cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Using service principals token to get API reports

MA8731174
14-Alexandrite

Using service principals token to get API reports

Hello Community,

     I would like humbly ask that i am calling an API to get all the insights but the title, firstName, lastName and email fields are having stars when it returns the result. I am using an access token which i get using service principal and then use that token to hit an api and in return i get these below results. any idea ? how can i get these fields values also because i want these fields also thank you

 

 

 

{
            "sessionId": "2d66ed8b-6c47-412b-80c7-32c9667787f6",
            "procedure": {
                "id": "48c69db0-bb83-11ee-8f1a-bff74c53c6d0",
                "title": "****",
                "versionId": "e93ea4d66eabbdf2c4974e5c",
                "versionName": "3.0",
                "startTime": "2024-12-04T17:25:44.077Z",
                "latestEventTimestamp": "2024-12-04T17:26:36.305Z",
                "endTime": "2024-12-04T17:26:36.305Z",
                "status": "complete",
                "progress": "completed",
                "feedback": "na",
                "requiresSerialNumber": false
            },
            "user": {
                "id": "729ef656-0e14-42cb-9a0e-33244043cec4",
                "first_name": "****",
                "last_name": "****",
                "email": "****",
                "role": "****"
            }
        },

 

  

ACCEPTED SOLUTION

Accepted Solutions

Hi.

This is not dependant from your API call. There is a setting to enable/disable user information to be hidden in API call. The documentation for this is available here: https://support.ptc.com/help/vuforia/editor/en/#page/vuforia_editor%2Fsettings_prod_updates_disable_user_info_api.html%23

View solution in original post

3 REPLIES 3

Hi.

This is not dependant from your API call. There is a setting to enable/disable user information to be hidden in API call. The documentation for this is available here: https://support.ptc.com/help/vuforia/editor/en/#page/vuforia_editor%2Fsettings_prod_updates_disable_user_info_api.html%23

MA8731174
14-Alexandrite
(To:pjahn)

MA8731174_0-1733833373574.png

Thank you for your reply but do you know how can i enable these settings? any idea?

MA8731174
14-Alexandrite
(To:pjahn)

MA8731174_1-1733833513751.png

i found in setting this to enable or disable such information... thank you for your reply

Announcements

Top Tags