Plantronics Developer Connection - API callId https://developer.plantronics.com/blog/api-callid en Combining Call records from Plantronics Manager Pro with a partner solution https://developer.plantronics.com/article/combining-call-records-plantronics-manager-pro-partner-solution <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/api-callid" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">API callId</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"><p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;"><br /> In this article, we will explore a common requirement brought up by our partners in the initial round of technical conversations for our call quality analytics API product. The article summarizes a solution typically taken by our partners we have seen to succesful implementation. <br /> <br /> <strong>Requirement</strong></p> <ol> <li style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;">You as a partner developer want your joint solution to query our call analytics and provide a combined view of Plantronics Manager Pro's call records and your product's call record analytics to provide added value to your customer.</li> </ol> <p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;"><br /> <strong>Axiom</strong></p> <ol style="margin-bottom: 0px; margin-top: 0px;"> <li>Plantronics Manager Pro's call records are internally generated within Hubs. Plantronics Manager Pro's Cloud stores it and all analytics from our APIs response have this callId(unless it is a deskphone/mobile). So callId is internal to Plantronics Manager software.</li> </ol> <p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;"><br /> <div class="media media-element-container media-default"><div id="file-298" class="file file-image file-image-png"> <h2 class="element-invisible"><a href="/files/hubdevice8200png">HubDevice8200.png</a></h2> <div class="content"> <img title="Hub showing Device Serial Number" class="media-element file-default img-responsive" data-delta="3" typeof="foaf:Image" src="https://developer.plantronics.com/sites/default/files/Screen%20Shot%202018-04-25%20at%2012.34.24%20PM.png" width="1898" height="1258" alt="" /> </div> </div> </div></p>   <div class="rtecenter"> </div> <p style="margin-top: 0px; margin-bottom: 0px;"> </p> <span style="font-size: 12pt;">Here is one way to tackle the problem described in the requirement above:</span> <ol style="margin-bottom: 0px; margin-top: 0px;"> <li><span style="font-size: 12pt;">Your customer using a Plantronics headset has a unique deviceID which shows up in his/her Hub software (See attachment). Use the above to query PM Pro's device API to query the user's device username metadata seen by PM Pro -<a class="OWAAutoLink" href="http://developer.plantronics.com/oda/apis/get/reports/assets/tenant/%7BtenantApiCode%7D/device/%7BdeviceId%7D" id="LPlnk144221" previewremoved="true">http://developer.plantronics.com/oda/apis/get/reports/assets/tenant/%7BtenantApiCode%7D/device/%7BdeviceId%7D</a></span></li> <li><span style="font-size: 12pt;">Once your customer's username seen by PM Pro is obtained, now you can query callSummary api to find the calls which happened for that user in the time range that your product has seen a call record - <a class="OWAAutoLink" href="http://developer.plantronics.com/oda/apis/get/reports/usage/tenant/%7BtenantApiCode%7D/callsummary" id="LPlnk963777" previewremoved="true">http://developer.plantronics.com/oda/apis/get/reports/usage/tenant/%7BtenantApiCode%7D/callsummary</a>  This response should have a callId which is unique to the call seen by  Plantronics Manager Pro.</span></li> </ol> The above two steps should help combine Plantronics Manager Pro API's call record and a partner product's call record. <p> </p> <p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;"> </p> <p style="margin-top: 0px; margin-bottom: 0px; font-family: Calibri, Helvetica, sans-serif, Helvetica, EmojiFont, &quot;Apple Color Emoji&quot;, &quot;Segoe UI Emoji&quot;, NotoColorEmoji, &quot;Segoe UI Symbol&quot;, &quot;Android Emoji&quot;, EmojiSymbols; font-size: 16px;"> </p> </div></div></div> Wed, 25 Apr 2018 18:53:47 +0000 mramakrishnan 1434 at https://developer.plantronics.com https://developer.plantronics.com/article/combining-call-records-plantronics-manager-pro-partner-solution#comments