Plantronics Developer Connection - partner creation public API https://developer.plantronics.com/blog/partner-creation-public-api en Getting started with Plantronics Partner REST APIs https://developer.plantronics.com/article/getting-started-plantronics-partner-rest-apis <div class="field field-name-field-keywords field-type-taxonomy-term-reference field-label-above"> <div class="field-label">Keywords:&nbsp;</div> <div class="field-items"> <span class="field-item even label label-default keyword-label"><a href="/blog/partner-creation-public-api" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">partner creation public API</a></span> </div> </div><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><div class="j-content-helpful" style="margin: 0px; padding: 30px 0px 60px; border: 0px; font-size: 14px; font-family: &quot;Myriad Pro&quot;, Myriad, &quot;DejaVu Sans Condensed&quot;, &quot;Liberation Sans&quot;, &quot;Nimbus Sans L&quot;, Tahoma, Geneva, &quot;Helvetica Neue&quot;, Helvetica, Arial, sans-serif; vertical-align: baseline; text-align: center; color: rgb(55, 66, 74); background-color: rgb(255, 255, 255);"> <div style="color: rgb(61, 61, 61); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, sans-serif; font-size: 15px;" title="Page 1"> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">As a developer, you need to register yourself as a partner and get a partner id before using any of the API’s.<br /> 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.<br /> If you already have a partner id, you can skip this step. If not, please follow below.</span><br />  </p> <ol style="margin: 0px; padding: 0px 0px 0px 30px;"> <li class="rteleft" data-mce-style="font-size: 12.000000pt;" style="margin: 0.2em 0px; padding: 0px; word-wrap: break-word; font-size: 12pt;"> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">Log into <a href="http://developer.plantronics.com">developer.plantronics.com</a> with your developer credentials. Click on My Apps and then click on Add a new App.</span><br />  </p> <img __jive_id="109054" alt="" class="image-1 jive-image j-img-original" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109054/Screen+Shot+2017-04-18+at+11.19.05+AM.png" data-mce-style="width: 620px; height: 202px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109054/Screen+Shot+2017-04-18+at+11.19.05+AM.png" style="border: 0px; margin: 2px 0px 0px; max-width: 100%; height: 202px; width: 620px;" /></li> <li class="rteleft" data-mce-style="font-size: 12.000000pt;" style="margin: 0.2em 0px; padding: 0px; word-wrap: break-word; font-size: 12pt;"> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">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 </span><span data-mce-style="font-size: 12pt;" style="font-size: 12pt;">to approve. Until then, your app is going to be Pending.</span></p> <span data-mce-style="font-size: 12pt;" style="font-size: 12pt;"><img __jive_id="109062" alt="" class="image-2 jive-image j-img-original" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109062/Screen+Shot+2017-04-18+at+11.20.59+AM.png" data-mce-style="width: 620px; height: 358px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109062/Screen+Shot+2017-04-18+at+11.20.59+AM.png" style="border: 0px; margin: 2px 0px 0px; max-width: 100%; height: 358px; width: 620px;" /></span></li> <li class="rteleft" data-mce-style="font-size: 12.000000pt;" style="margin: 0.2em 0px; padding: 0px; word-wrap: break-word; font-size: 12pt;"><span data-mce-style="font-size: 12pt;" style="font-size: 12pt;"><img __jive_id="109063" alt="" class="image-3 jive-image" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109063/Screen+Shot+2017-04-18+at+11.21.48+AM.png" data-mce-style="width: 766px; height: 325px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109063/Screen+Shot+2017-04-18+at+11.21.48+AM.png" style="font-size: 12pt; border: 0px; margin: 2px 20px 0px; max-width: calc(100% - 40px); height: 325px; width: 766px;" /></span></li> </ol> </div> </div> </div> <div style="color: rgb(61, 61, 61); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, sans-serif; font-size: 15px;" title="Page 2"> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;"> Once the admin approves, you will see a page similar to this.</span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><img __jive_id="109064" alt="" class="image-4 jive-image j-img-original" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109064/Screen+Shot+2017-04-18+at+11.23.47+AM.png" data-mce-style="width: 620px; height: 384px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109064/Screen+Shot+2017-04-18+at+11.23.47+AM.png" style="border: 0px; margin: 2px 0px 0px; max-width: 100%; height: 384px; width: 620px;" /></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"> </p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="color: rgb(59.607850%, 28.235300%, 2.352941%); font-weight: bold; font-size: 12.000000pt;" style="color: rgb(152, 72, 6); font-weight: bold; font-size: 12pt;">At this point, you will need to create a partner. </span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">The body of the API call <a href="http://developer.plantronics.com/plantronics-partner-api/apis/post/partner">/createPartner</a> should be a valid json.<br /> Refer to the developer API docs for details on each of the fields here.</span></p> </div> </div> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="color: rgb(100.000000%, 100.000000%, 100.000000%); font-size: 9.000000pt;" style="color: rgb(255, 255, 255); font-size: 9pt;">Consumer Key is the API Key</span></p> </div> </div> </div> <div style="color: rgb(61, 61, 61); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, sans-serif; font-size: 15px;" title="Page 3"> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">Sample Json for API request body:</span></p> </div> </div> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 10.000000pt;" style="font-size: 10pt;">{</span></p> </div> </div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span style="font-size: 10pt;">"partnerAdminConfig": {</span></p> </div> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 10.000000pt;" style="font-size: 10pt;">"email": "<a class="jive-link-email-small" data-mce-href="mailto:foodeveloper@abc.com" href="mailto:foodeveloper@abc.com" style="background-repeat: no-repeat; background-position: 0px 50%; padding: 1px 0px 1px calc(12px + 0.35ex); background-image: url(&quot;../images/jive-icon-email-12x12.png&quot;); color: rgb(41, 137, 197); text-decoration-line: none;">foodeveloper@abc.com</a>", "firstName": "Foo",<br /> "lastName": "Developer"</span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 10.000000pt;" style="font-size: 10pt;">}, "partnerConfiguration": {</span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 10.000000pt;" style="font-size: 10pt;">"adminUsername": "foodeveloper",<br /> "dateCreated": "2017-04-18T05:12:51.755Z", "displayName": "ABC Inc.",<br /> "name": "ABC Partner",<br /> "notes": "Create partner PLT",<br /> <span style="font-size: 10pt;">"appName": "abcQ"</span></span></p> </div> </div> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 10.000000pt;" style="font-size: 10pt;">}</span><br /> }<br />  </p> </div> </div> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">4. On hitting send, the response will have the new partner ID.</span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><img __jive_id="109470" class="jive-image image-8" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109470/pastedImage_1.png" data-mce-style="width: 620px; height: 338px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109470/pastedImage_1.png" style="border: 0px; margin: 2px 20px 0px; max-width: calc(100% - 40px); height: 338px; width: 620px;" /></p> </div> </div> </div> <div style="color: rgb(61, 61, 61); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, sans-serif; font-size: 15px;" title="Page 4"> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="color: rgb(0.000000%, 50.196080%, 0.000000%); font-weight: bold; font-size: 12.000000pt;" style="color: rgb(0, 128, 0); font-weight: bold; font-size: 12pt;"><img __jive_id="109471" class="image-9 jive-image" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109471/pastedImage_2.png" data-mce-style="width: 620px; height: 315px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109471/pastedImage_2.png" style="border: 0px; margin: 2px 20px 0px; max-width: calc(100% - 40px); height: 415px; width: 720px;" /></span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="color: rgb(0.000000%, 50.196080%, 0.000000%); font-weight: bold; font-size: 12.000000pt;" style="color: rgb(0, 128, 0); font-weight: bold; font-size: 12pt;"><img __jive_id="109499" class="jive-image image-10" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109499/pastedImage_1.png" data-mce-style="width: 620px; height: 398px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109499/pastedImage_1.png" style="border: 0px; margin: 2px 20px 0px; max-width: calc(100% - 40px); height: 498px; width: 720px;" /></span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="color: rgb(0.000000%, 50.196080%, 0.000000%); font-weight: bold; font-size: 12.000000pt;" style="color: rgb(0, 128, 0); font-weight: bold; font-size: 12pt;"><img __jive_id="109500" class="image-11 jive-image" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109500/pastedImage_2.png" data-mce-style="width: 620px; height: 478px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109500/pastedImage_2.png" style="border: 0px; margin: 2px 20px 0px; max-width: calc(100% - 40px); height: 478px; width: 620px;" /></span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"> </p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="color: rgb(0.000000%, 50.196080%, 0.000000%); font-weight: bold; font-size: 12.000000pt;" style="color: rgb(0, 128, 0); font-weight: bold; font-size: 12pt;"><img __jive_id="109501" class="image-12 jive-image" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109501/pastedImage_3.png" data-mce-style="width: 620px; height: 385px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109501/pastedImage_3.png" style="border: 0px; margin: 2px 20px 0px; max-width: calc(100% - 40px); height: 485px; width: 675px;" /></span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="color: rgb(0.000000%, 50.196080%, 0.000000%); font-weight: bold; font-size: 12.000000pt;" style="color: rgb(0, 128, 0); font-weight: bold; font-size: 12pt;"><img __jive_id="109502" class="image-13 jive-image" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109502/pastedImage_4.png" data-mce-style="width: 620px; height: 462px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109502/pastedImage_4.png" style="border: 0px; margin: 2px 20px 0px; max-width: calc(100% - 40px); height: 537px; width: 720px;" /></span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="color: rgb(0.000000%, 50.196080%, 0.000000%); font-weight: bold; font-size: 12.000000pt;" style="color: rgb(0, 128, 0); font-weight: bold; font-size: 12pt;">Congratulations!! You have created a new partner! ! Use this partner ID to call PLT developer API’s.</span></p> </div> </div> </div> <div style="color: rgb(61, 61, 61); font-family: &quot;Helvetica Neue&quot;, Helvetica, Arial, &quot;Lucida Grande&quot;, sans-serif; font-size: 15px;" title="Page 5"> <div> <div> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">Using this partner ID and the API key( from step 3), you can make calls to PLT API’s.</span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">As, an example, in order to <a href="http://developer.plantronics.com/plantronics-partner-api/apis/get/device/callsummary/mute">call gets the mute statistics</a> for a particular device between a</span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 12.000000pt;" style="font-size: 12pt;">date range: </span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 10.000000pt;" style="font-size: 10pt;"><a class="jive-link-external-small" data-mce-href="http://plantronics-" href="http://plantronics-/" rel="nofollow" style="padding-right: calc(12px + 0.35ex); color: rgb(41, 137, 197); text-decoration-line: none;">http://plantronics-</a> test.apigee.net/device/callsummary/mute?apikey=1hKMMPFMmaldnC0rcohvXN0UX7UeWPjb&amp;deviceId= 06TJ43&amp;deviceId=0AGTLK&amp;deviceId=0AGUAM&amp;deviceId=41CEFABC2A022B48805E7D3885670FC1&amp;device Id=N0D2NNE&amp;startDate=2017-02-11T00:00:00.000Z&amp;endDate=2017-03- 13T10:15:16.445Z&amp;aggregateLevel=device&amp;tenantId=a6fbecf4-9950-4fb7-89be-09677211c522</span></p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"> </p> <p class="rteleft" style="margin: 0px; padding: 0px; word-wrap: break-word;"><span data-mce-style="font-size: 10.000000pt;" style="font-size: 10pt;"><img __jive_id="109056" alt="" class="image-7 jive-image j-img-original" data-mce-src="/servlet/JiveServlet/downloadImage/102-35138-4-109056/Screen+Shot+2017-04-18+at+2.49.11+PM.png" data-mce-style="width: 620px; height: 340px;" src="https://wave.plantronics.com/servlet/JiveServlet/downloadImage/102-35138-4-109056/Screen+Shot+2017-04-18+at+2.49.11+PM.png" style="border: 0px; margin: 2px 0px 0px; max-width: 100%; height: 440px; width: 702px;" /></span></p> </div> </div> </div> </div> </div></div></div> Tue, 18 Apr 2017 21:54:06 +0000 mramakrishnan 438 at https://developer.plantronics.com https://developer.plantronics.com/article/getting-started-plantronics-partner-rest-apis#comments