• ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
  • ×
    Information
    Need Windows 11 help?
    Check documents on compatibility, FAQs, upgrade information and available fixes.
    Windows 11 Support Center.
  • post a message
Guidelines
Join the HP Community Solve‑a‑thon | Help Others & Share Your Solutions | Live on Zoom | 2:30 PM to 2:30 AM IST | Every Wednesday Click here to know more
HP Recommended
Microsoft Windows 11

Is there a place that lists out all the different API access for the different plans?


I am interested in using the API query getDevice, but I'm not sure if it's available for my plan or if it's only available in a paid plan.

1 ACCEPTED SOLUTION

Accepted Solutions
HP Recommended

Hello @j0e426 ,

 

Welcome to the HP Poly community.

 

I checked this internally and there is no such list.

 

If you query the API in an unlicensed Tenant the API, if a License is required, will reply with (poly-plus-enterprise is required to use this feature )

{   "errors": [     {       "message": "license:poly-plus-enterprise is required to use this feature",       "path": [         "charts"       ],       "extensions": {         "code": "AUTHENTICATION_FAILED",         "stacktrace": [           "GraphQLError: license:poly-plus-enterprise is required to use this feature",           "    at downstreamServiceError (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:523:16)",           "    at /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:343:59",           "    at Array.map (<anonymous>)",           "    at sendOperation (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:343:44)",           "    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)",           "    at async /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:257:49",           "    at async executeNode (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:201:17)",           "    at async executeNode (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:175:40)",           "    at async /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:97:35",           "    at async SilicaGateway._safeExecute (/app/gateway/silica.gateway.js:500:26)"         ]       }     }   ],   "data": {     "charts": null   } }

 

For more details around the API please check https://api.lens.poly.com/docs/graphql/overview

 

If no other volunteers reply, I suggest you contact our Support organization in your region. Details are in my Signature.

 

Best Regards

 

Steffen Baier

------------------------------------------------
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.

Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN

View solution in original post

3 REPLIES 3
HP Recommended

Hello @j0e426 ,

 

Welcome to the HP Poly community.

 

I checked this internally and there is no such list.

 

If you query the API in an unlicensed Tenant the API, if a License is required, will reply with (poly-plus-enterprise is required to use this feature )

{   "errors": [     {       "message": "license:poly-plus-enterprise is required to use this feature",       "path": [         "charts"       ],       "extensions": {         "code": "AUTHENTICATION_FAILED",         "stacktrace": [           "GraphQLError: license:poly-plus-enterprise is required to use this feature",           "    at downstreamServiceError (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:523:16)",           "    at /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:343:59",           "    at Array.map (<anonymous>)",           "    at sendOperation (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:343:44)",           "    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)",           "    at async /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:257:49",           "    at async executeNode (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:201:17)",           "    at async executeNode (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:175:40)",           "    at async /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:97:35",           "    at async SilicaGateway._safeExecute (/app/gateway/silica.gateway.js:500:26)"         ]       }     }   ],   "data": {     "charts": null   } }

 

For more details around the API please check https://api.lens.poly.com/docs/graphql/overview

 

If no other volunteers reply, I suggest you contact our Support organization in your region. Details are in my Signature.

 

Best Regards

 

Steffen Baier

------------------------------------------------
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.

Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
HP Recommended

Thanks for the info.

 

I'm getting a different error message:

 

{
  "errors": [
    {
      "message": "Unexpected error occured",
      "path": [
        "getDevice"
      ],
      "extensions": {
        "code": "UNKNOWN_ERROR",
        "pdmsTraceId": "08281675e35b5931d83fce66692a9aa4",
        "classification": "DataFetchingException",
        "stacktrace": [
          "GraphQLError: Unexpected error occured",
          "    at downstreamServiceError (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:523:16)",
          "    at /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:343:59",
          "    at Array.map (<anonymous>)",
          "    at sendOperation (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:343:44)",
          "    at process.processTicksAndRejections (node:internal/process/task_queues:104:5)",
          "    at async /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:257:49",
          "    at async executeNode (/app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:201:17)",
          "    at async /app/node_modules/@apollo/gateway/dist/executeQueryPlan.js:97:35",
          "    at async SilicaGateway._safeExecute (/app/gateway/silica.gateway.js:500:26)",
          "    at async /app/gateway/silica.gateway.js:205:32"
        ]
      }
    }
  ],
  "data": {
    "getDevice": null
  }
}

 

This is the operation:

query GetDevice($tenantId: String) {
  getDevice(tenantId: $tenantId) {
    deviceId
    deviceName
    lensDeviceId
    serialNum
  }
}

 This is the variable:

{
  "tenantId": "xxx"
}

 I replace xxx with the actual tenantId found in my Poly Lens Portal account.

HP Recommended

Hello @j0e426 ,

 

If no other volunteers reply, I suggest you contact our Support organization in your region. Details are in my Signature. 

 

If you have no access to HP Poly Support please try and open a Lens Mopinion Bug via https://lens.poly.com/appfeedback

 

Best Regards

 

Steffen Baier

------------------------------------------------
Notice: I am an HP Poly employee but all replies within the community are done as a volunteer outside of my day role. This community forum is not an official HP Poly support resource, thus responses from HP Poly employees, partners, and customers alike are best-effort in attempts to share learned knowledge.
If you need immediate and/or official assistance for former Poly\Plantronics\Polycom please open a service ticket through your support channels
For HP products please check HP Support.

Please also ensure you always check the General VoIP , Video Endpoint , UC Platform (Microsoft) , PSTN
† The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the <a href="https://www8.hp.com/us/en/terms-of-use.html" class="udrlinesmall">Terms of Use</a> and <a href="/t5/custom/page/page-id/hp.rulespage" class="udrlinesmall"> Rules of Participation</a>.