https://apidocs.boxis.net/index.php?title=Get_Calls_History&feed=atom&action=history
Get Calls History - Revision history
2024-03-29T15:18:20Z
Revision history for this page on the wiki
MediaWiki 1.23.5
https://apidocs.boxis.net/index.php?title=Get_Calls_History&diff=353&oldid=prev
Admin at 21:04, 23 May 2013
2013-05-23T21:04:48Z
<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 21:04, 23 May 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>=<del class="diffchange diffchange-inline">SMS </del>Function: <del class="diffchange diffchange-inline">getHistory</del>=</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>=<ins class="diffchange diffchange-inline">VoIP </ins>Function: <ins class="diffchange diffchange-inline">getCallsHistory</ins>=</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>With this command, you are able to view history of calls that has been made from a line</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>With this command, you are able to view history of calls that has been made from a line</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 27:</td>
<td colspan="2" class="diff-lineno">Line 27:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div><pre></div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del class="diffchange diffchange-inline">http</del>://api.boxis.net/</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div><ins class="diffchange diffchange-inline">https</ins>://api.boxis.net/</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>POST: version=1.0&returntype=xml&timestamp=1337853467&username=your@mail.com&authcode=1234567890&section=voip&action=getCallsHistory&line=4122XXXXXX1&datefrom=2012-05-09 10:00:00&dateto=2012-05-09 11:00:00</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>POST: version=1.0&returntype=xml&timestamp=1337853467&username=your@mail.com&authcode=1234567890&section=voip&action=getCallsHistory&line=4122XXXXXX1&datefrom=2012-05-09 10:00:00&dateto=2012-05-09 11:00:00</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div></pre></div></td></tr>
</table>
Admin
https://apidocs.boxis.net/index.php?title=Get_Calls_History&diff=349&oldid=prev
Admin: /* SMS Function: getHistory */
2013-05-23T15:02:55Z
<p><span dir="auto"><span class="autocomment">SMS Function: getHistory</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 15:02, 23 May 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=SMS Function: getHistory=</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>=SMS Function: getHistory=</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>With this command, you are able to view history of <del class="diffchange diffchange-inline">sending text messages</del></div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>With this command, you are able to view history of <ins class="diffchange diffchange-inline">calls that has been made from a line</ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
</table>
Admin
https://apidocs.boxis.net/index.php?title=Get_Calls_History&diff=348&oldid=prev
Admin: /* Input params */
2013-05-23T15:02:23Z
<p><span dir="auto"><span class="autocomment">Input params</span></span></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr style='vertical-align: top;'>
<td colspan='2' style="background-color: white; color:black; text-align: center;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black; text-align: center;">Revision as of 15:02, 23 May 2013</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 18:</td>
<td colspan="2" class="diff-lineno">Line 18:</td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*'''action'''::String - ''API module function. Use 'getCallsHistory' value</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*'''action'''::String - ''API module function. Use 'getCallsHistory' value</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div>*'''line'''::String - ''The line number that you wich to get calls history (e.g <del class="diffchange diffchange-inline">'</del>'4122XXXXXX1<del class="diffchange diffchange-inline">'</del>')''</div></td><td class='diff-marker'>+</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;"><div>*'''line'''::String - ''The line number that you wich to get calls history (e.g '4122XXXXXX1')''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*'''datefrom'''::String - ''Start date in 'yyyy-mm-dd hh:mm' format. When datefrom and dateto value is empty function returns information about all sms</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*'''datefrom'''::String - ''Start date in 'yyyy-mm-dd hh:mm' format. When datefrom and dateto value is empty function returns information about all sms</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*'''dateto'''::String - ''End date in 'yyyy-mm-dd hh:mm' format. When datefrom and dateto value is empty function returns information about all sms</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>*'''dateto'''::String - ''End date in 'yyyy-mm-dd hh:mm' format. When datefrom and dateto value is empty function returns information about all sms</div></td></tr>
<tr><td class='diff-marker'>−</td><td style="color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;"><div><del style="font-weight: bold; text-decoration: none;"></del></div></td><td colspan="2"> </td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Example URL with POST values ==</div></td><td class='diff-marker'> </td><td style="background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;"><div>== Example URL with POST values ==</div></td></tr>
</table>
Admin
https://apidocs.boxis.net/index.php?title=Get_Calls_History&diff=347&oldid=prev
Admin: Created page with "=SMS Function: getHistory= With this command, you are able to view history of sending text messages == Input params == *'''version'''::String - ''API version (e.g. '1.0')'..."
2013-05-23T15:01:18Z
<p>Created page with "=SMS Function: getHistory= With this command, you are able to view history of sending text messages == Input params == *'''version'''::String - ''API version (e.g. '1.0')'..."</p>
<p><b>New page</b></p><div>=SMS Function: getHistory=<br />
<br />
With this command, you are able to view history of sending text messages<br />
<br />
<br />
== Input params ==<br />
<br />
*'''version'''::String - ''API version (e.g. '1.0')''<br />
<br />
*'''timestamp'''::String - ''Sequence of characters, denoting the date and time (e.g '1336553826')''<br />
<br />
*'''username'''::String - ''User e-mail address (e.g 'mail1@example.com')''<br />
<br />
*'''authcode'''::String - '' md5 hash consisting of the concatenation of timestamp and user_key (e.g md5(1336553826BX3KwWU2SuqvoEWnjYmOibf'))''<br />
<br />
*'''section'''::String - ''API module name. Use 'voip' value<br />
<br />
*'''action'''::String - ''API module function. Use 'getCallsHistory' value<br />
<br />
*'''line'''::String - ''The line number that you wich to get calls history (e.g ''4122XXXXXX1'')''<br />
<br />
*'''datefrom'''::String - ''Start date in 'yyyy-mm-dd hh:mm' format. When datefrom and dateto value is empty function returns information about all sms<br />
<br />
*'''dateto'''::String - ''End date in 'yyyy-mm-dd hh:mm' format. When datefrom and dateto value is empty function returns information about all sms<br />
<br />
<br />
== Example URL with POST values ==<br />
<br />
<pre><br />
http://api.boxis.net/<br />
POST: version=1.0&returntype=xml&timestamp=1337853467&username=your@mail.com&authcode=1234567890&section=voip&action=getCallsHistory&line=4122XXXXXX1&datefrom=2012-05-09 10:00:00&dateto=2012-05-09 11:00:00<br />
</pre><br />
<br />
== Output params ==<br />
<br />
==== Example in XML (Success) ====<br />
<br />
<pre><br />
<?xml version="1.0" encoding="UTF-8"?><br />
<return><br />
<result>1</result><br />
<resulttxt>success</resulttxt><br />
<history><br />
<sms1><br />
<sender>boxis.net</sender><br />
<reciptient>48514151563</reciptient><br />
<date>2012-05-09 10:28:00</date><br />
<parts>1</parts><br />
<credit>1</credit><br />
<type>scheduled</type><br />
</sms1><br />
<sms2><br />
<sender>boxis.net</sender><br />
<reciptient>48717609573</reciptient><br />
<date>2012-05-09 10:20:00</date><br />
<parts>1</parts><br />
<credit>1</credit><br />
<type>sent</type><br />
</sms2><br />
</history><br />
<timestamp>1336558351</timestamp><br />
</return><br />
</pre><br />
<br />
==== Example in XML (Error) ====<br />
<br />
<pre><br />
<?xml version="1.0" encoding="UTF-8"?><br />
<return><br />
<result>0</result><br />
<resulttxt>error: {error description}</resulttxt><br />
<timestamp>1335767184</timestamp><br />
</return><br />
</pre><br />
<br />
==== Example in JSON (Success) ====<br />
<br />
<pre><br />
{"result":"1",<br />
"resulttxt":"success",<br />
"params":{<br />
"history":{<br />
"sms1":{<br />
"sender":"boxis.net",<br />
"reciptient":"48514151563",<br />
"date":"2012-05-09 10:28:00",<br />
"parts":"1","credit":"1",<br />
"type":"scheduled"},<br />
"sms2":{<br />
"sender":"boxis.net",<br />
"reciptient":"48614606553",<br />
"date":"2012-05-09 10:20:00",<br />
"parts":"1",<br />
"credit":"1",<br />
"type":"sent"}}<br />
"timestamp":1335777400}<br />
</pre><br />
<br />
==== Example in JSON (Error) ====<br />
<br />
<pre><br />
{"result":"0",<br />
"resulttxt":"Error: {error description}",<br />
"timestamp":1335777400}<br />
</pre><br />
<br />
<br />
== Example using our PHP Class ==<br />
<pre><br />
/* API LOGIN DETAILS */<br />
$email = 'your@mail.com'; // your username<br />
$apikey = '1234567890'; // your apikey<br />
<br />
/* API COMMAND DETAILS */<br />
$apitype = 'voip';<br />
$command = 'getCallsHistory';<br />
$params = array(<br />
'returntype' => 'xml',<br />
'line' => '4122XXXXXX1',<br />
'datefrom' => '2012-05-09 10:00:00',<br />
'dateto' => '2012-05-09 11:00:00'<br />
);<br />
<br />
/* PROCESS THE ACTION */<br />
$boxisAPI = new BoxisAPIConnection($email, $apikey);<br />
$return = $boxisAPI->call($apitype, $command, $params, $timestamp);<br />
<br />
/* TIMESTAMP SYNCHRONIZATION (JSON EXAMPLE)<br />
if($return['timestamperror']) {<br />
$timestamp = $return['timestamp'];<br />
$return = $boxisAPI->call($apitype, $command, $params, 'json', $timestamp);<br />
}<br />
*/<br />
<br />
/* TIMESTAMP SYNCHRONIZATION (XML EXAMPLE)*/<br />
/*<br />
if($return->timestamperror) {<br />
$timestamp = $return->timestamp;<br />
$return = $boxisAPI->call($apitype, $command, $params, 'xml', $timestamp);<br />
}<br />
/*<br />
<br />
</pre></div>
Admin