<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.7kas.com/index.php?action=history&amp;feed=atom&amp;title=API_getpbxloclog</id>
	<title>API getpbxloclog - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.7kas.com/index.php?action=history&amp;feed=atom&amp;title=API_getpbxloclog"/>
	<link rel="alternate" type="text/html" href="https://wiki.7kas.com/index.php?title=API_getpbxloclog&amp;action=history"/>
	<updated>2026-09-06T23:58:27Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.9</generator>
	<entry>
		<id>https://wiki.7kas.com/index.php?title=API_getpbxloclog&amp;diff=387&amp;oldid=prev</id>
		<title>Maintenance script: API docs (generated from func=help)</title>
		<link rel="alternate" type="text/html" href="https://wiki.7kas.com/index.php?title=API_getpbxloclog&amp;diff=387&amp;oldid=prev"/>
		<updated>2026-07-21T22:33:41Z</updated>

		<summary type="html">&lt;p&gt;API docs (generated from func=help)&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;#039;&amp;#039;7Kas VoIP REST API function. Available to: &amp;#039;&amp;#039;&amp;#039;SuperRoot, Operator, Client&amp;#039;&amp;#039;&amp;#039;.&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
== Description ==&lt;br /&gt;
Tucloud PBX IVR/locution DTMF key-press log for a period. Role-resolved (clients see only their own account; operators their scope; SuperRoot all). Single SQL function; unset filters default to NULL server-side.&lt;br /&gt;
&lt;br /&gt;
== Call ==&lt;br /&gt;
 GET  …/7Kas?func=getpbxloclog&amp;amp;ukey=YOUR_KEY&amp;amp;…&lt;br /&gt;
Requires the &amp;lt;code&amp;gt;ukey&amp;lt;/code&amp;gt; parameter.&lt;br /&gt;
&lt;br /&gt;
== Parameters ==&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
! Parameter !! Type !! Required !! Default !! Meaning&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;year&amp;lt;/code&amp;gt; || integer || Yes || — || Year (e.g. 2026).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;month&amp;lt;/code&amp;gt; || integer || Yes || — || Month, 1-12.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;day&amp;lt;/code&amp;gt; || integer || No || — || Filter by day of month (1-31).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;hour&amp;lt;/code&amp;gt; || integer || No || — || Filter by hour (0-23). &amp;lt;small&amp;gt;(only valid together with day)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;accountcodeid&amp;lt;/code&amp;gt; || integer || No || — || Filter by account id (non-clients). Forced to own for clients.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;tucloudpbx_id&amp;lt;/code&amp;gt; || integer || No || — || Filter by virtual PBX id.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;loc_id&amp;lt;/code&amp;gt; || integer || No || — || Filter by locution/IVR id.&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;pbxname&amp;lt;/code&amp;gt; || string || No || — || Filter by PBX name. &amp;lt;small&amp;gt;(max length 32)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;pressed&amp;lt;/code&amp;gt; || string || No || — || Filter by DTMF key(s) pressed. &amp;lt;small&amp;gt;(max length 80)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;src&amp;lt;/code&amp;gt; || string || No || — || Filter by source number. &amp;lt;small&amp;gt;(max length 80)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;dst&amp;lt;/code&amp;gt; || string || No || — || Filter by destination number. &amp;lt;small&amp;gt;(max length 80)&amp;lt;/small&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;limit&amp;lt;/code&amp;gt; || integer || No || &amp;lt;code&amp;gt;100&amp;lt;/code&amp;gt; || Max rows (PostgreSQL up to 1000).&lt;br /&gt;
|-&lt;br /&gt;
| &amp;lt;code&amp;gt;offset&amp;lt;/code&amp;gt; || integer || No || &amp;lt;code&amp;gt;0&amp;lt;/code&amp;gt; || Pagination offset.&lt;br /&gt;
|}&lt;br /&gt;
== Example ==&lt;br /&gt;
 &amp;lt;nowiki&amp;gt;https://api.7kas.com:9080/7Kas?func=getpbxloclog&amp;amp;ukey=KEY&amp;amp;year=2026&amp;amp;month=7&amp;amp;limit=100&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Response ==&lt;br /&gt;
FillRecords2JSON records.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Back to [[API VoIP]] · &amp;#039;&amp;#039;&amp;#039;[[API Console|▶ Try it live]]&amp;#039;&amp;#039;&amp;#039; · Profiles: [[API profile SuperRoot]], [[API profile Operator]], [[API profile Client (of operator)]], [[API profile Client (direct)]]&lt;br /&gt;
[[Category:API SuperRoot]][[Category:API Operator]][[Category:API Client]][[Category:API function]]&lt;/div&gt;</summary>
		<author><name>Maintenance script</name></author>
	</entry>
</feed>