Skip to main content
16-Pearl
December 5, 2024
Solved

Using service principals token to get API reports

  • December 5, 2024
  • 1 reply
  • 1093 views

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": "****"
 }
 },

 

  

Best answer by pjahn

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

1 reply

pjahn16-PearlAnswer
16-Pearl
December 10, 2024

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

MA873117416-PearlAuthor
16-Pearl
December 10, 2024

MA8731174_0-1733833373574.png

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