GET
tenantDeviceInventoryByUser
This dataset is addressing the details. tenantApiCode value of "af0813e6-81c0-4a77-89d2-3338d0277c42", apikey value of "1hKMMPFMmaldnC0rcohvXN0UX7UeWPjb" and username "dwalker" can be used as url parameters to test this api for accessing sample data.
Note:
- The tenantApiCode and apikey pre populated in the docs here is intended for accessing sandbox data to help understand the API only.
- For production integration use case, please access Plantronics Manager Pro's Admin->Accounts->Company Profile to get access to the tenantApiCode for the tenant.
- Please register here http://developer.plantronics.com/user/register and generate your apikey for apps when you are ready to integrate with a production tenant data and your app.
Resource URL
https://oda-sandbox.plantronicsmanager.com /reports/assets/tenant/{tenantApiCode}/devices/user/{username}
Query Parameters
Name | Values | Description |
---|---|---|
apikey
(required) |
Key to access this api. |
|
manufacturer |
Manufacturer of the device; Could be plantronics or non plantronics |
|
deviceState |
Device state; Please refer documentation on device states |
|
productName |
Product id e.g. BT600 |
|
deviceType |
Device Type e.g. DECT |
|
userGroup |
The enterprise user group the devices belong to |
|
page
(required) |
Page of the request |
|
count
(required) |
count or number of results in a page |
Header Parameters
Name | Values | Description |
---|---|---|
appId
(required) |
Unique Id for the App |
Request Body
tenantApiCode ID of the tenant; Should be a valid hexadecimal af0813e6-81c0-4a77-89d2-3338d0277c42 true
username User name of the device/s dwalker true
Make a request and see the response.
Make a request and see the response.
Make a request and see the response.
Response Error Details
-
HTTP CodeError CodeDescription
-
400
Generic malformed request.
-
422
One or more of the required parameters not found in the request URI.
-
401
Unauthorized
-
500
Internal server error.
-
403
Unauthorized token error.
-
404
No device entity could be found for the requested device path parameters
Resource Summary |
|
Security |
|
Content Type |
application/json |
Category |
Asset Management and Adoption |
Name | Type | Description |
---|
Name | Type | Description |
---|
Working...