requestAppAuthorizationUsingPUT

PUT

requestAppAuthorizationUsingPUT

Adds a request for authorization for the app within PM pro for the requested tenant. tenantApiCode value of "af0813e6-81c0-4a77-89d2-3338d0277c42", apikey value of "1hKMMPFMmaldnC0rcohvXN0UX7UeWPjb" and appId "a7bbeaaf-4225-4d3e-ac63-19789a13b845" can be used as url parameters to test this api for accessing sample data.
NOTE: The old subscription pre 3.11 USGHISTORICAL/USGREALTIME, CONVERSATIONDYNAMICHISTORICAL/CONVERSATIONDYNAMICREALTIME ,ASSETSHISTORICAL/ASSETSREALTIME, ACOUSTICHISTORICAL/ACOUSTICREALTIME have been merged to CALLHISTORICAL/CALLREALTIME, ASSETHISTORICAL/ASSETREALTIME, HEALTHHISTORICAL/HEALTHREALTIME for 3.11 release suite changes. Authorization requests with older subscription names will still work converting internally within the API to translate to newer subscriptions. For newer apps in development, we recommend using the newer subscription names.  
Old Subscription New Subscription
USGHISTORICAL CALLHISTORICAL
USGREALTIME CALLREALTIME
ASSETSHISTORICAL ASSETHISTORICAL
ASSETSREALTIME ASSETREALTIME
CONVERSATIONDYNAMICHISTORICAL CALLHISTORICAL
CONVERSATIONDYNAMICREALTIME CALLREALTIME
ACOUSTICHISTORICAL HEALTHHISTORICAL
ACOUSTICREALTIME HEALTHREALTIME

Resource URL

https://oda-sandbox.plantronicsmanager.com /partner/app/{appId}/authrequests

Query Parameters


Name Values Description
tenantApiCode
(required)

Tenant id for the tenant to request authorization for application

subscription
(required)

App requested data set subscriptions need for the App to deliver its functionality with PM pro.


Header Parameters


Name Values Description
apikey
(required)

Key to access this api.

appId
(required)

Unique Id for the App

Request Body

HTTP Basic

OAuth 2.0

API Key

Reset

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 Code
    Error Code
    Description
  • 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 resource found for the path

Resource Summary

Security

Content Type

application/json

Name Type Description
Name Type Description

Working...