As a developer, you need to register yourself as a partner and get a partner id before using any of the API’s.
A partner in PLT world means a third party company, which has subscribed for a tenants’ data and is intending to provide added value by integrating the data into another applicaiton.
If you already have a partner id, you can skip this step. If not, please follow below.

 

  1. Log into developer.plantronics.com with your developer credentials. Click on My Apps and then click on Add a new App.
     

  2. Fill out the App name and the call back URL. At this point you will be asked to choose a product. Once you click on Create App, the admin on PLT side will need to approve. Until then, your app is going to be Pending.

 Once the admin approves, you will see a page similar to this.

 

At this point, you will need to create a partner. 

The body of the API call /createPartner should be a valid json.
Refer to the developer API docs for details on each of the fields here.

Consumer Key is the API Key

Sample Json for API request body:

{

"partnerAdminConfig": {

"email": "foodeveloper@abc.com", "firstName": "Foo",
"lastName": "Developer"

}, "partnerConfiguration": {

"adminUsername": "foodeveloper",
"dateCreated": "2017-04-18T05:12:51.755Z", "displayName": "ABC Inc.",
"name": "ABC Partner",
"notes": "Create partner PLT",
"appName": "abcQ"

}
}
 

4. On hitting send, the response will have the new partner ID.

 

Congratulations!! You have created a new partner! ! Use this partner ID to call PLT developer API’s.

Using this partner ID and the API key( from step 3), you can make calls to PLT API’s.

As, an example, in order to call gets the mute statistics for a particular device between a

date range: 

http://plantronics- test.apigee.net/device/callsummary/mute?apikey=1hKMMPFMmaldnC0rcohvXN0UX7UeWPjb&deviceId= 06TJ43&deviceId=0AGTLK&deviceId=0AGUAM&deviceId=41CEFABC2A022B48805E7D3885670FC1&device Id=N0D2NNE&startDate=2017-02-11T00:00:00.000Z&endDate=2017-03- 13T10:15:16.445Z&aggregateLevel=device&tenantId=a6fbecf4-9950-4fb7-89be-09677211c522

 

Comments


Saving new version
 

ds