<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.cliquesoft.org/index.php?action=history&amp;feed=atom&amp;title=webBooks-Dashboard_APIs</id>
		<title>webBooks-Dashboard APIs - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.cliquesoft.org/index.php?action=history&amp;feed=atom&amp;title=webBooks-Dashboard_APIs"/>
		<link rel="alternate" type="text/html" href="https://wiki.cliquesoft.org/index.php?title=webBooks-Dashboard_APIs&amp;action=history"/>
		<updated>2026-11-11T11:09:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.4</generator>

	<entry>
		<id>https://wiki.cliquesoft.org/index.php?title=webBooks-Dashboard_APIs&amp;diff=5541&amp;oldid=prev</id>
		<title>Digitalpipe: Created page with &quot;==Dashboard== In order to process any of these API&#039;s, all requests should be directed to the &#039;modules/webbooks/webbooks.php&#039; file.  The type of request will be specified per sect...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.cliquesoft.org/index.php?title=webBooks-Dashboard_APIs&amp;diff=5541&amp;oldid=prev"/>
				<updated>2015-03-26T19:56:03Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Dashboard== In order to process any of these API&amp;#039;s, all requests should be directed to the &amp;#039;modules/webbooks/webbooks.php&amp;#039; file.  The type of request will be specified per sect...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Dashboard==&lt;br /&gt;
In order to process any of these API&amp;#039;s, all requests should be directed to the &amp;#039;modules/webbooks/webbooks.php&amp;#039; file.  The type of request will be specified per section below.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Load the interface===&lt;br /&gt;
Since the default themed dashboard is hard coded within the &amp;#039;themes/default/webbooks.html&amp;#039; file, there isn&amp;#039;t a request to load the interface.  This will also be the case if any other theme is used.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Populate the form===&lt;br /&gt;
To populate all the various values of the interface form objects, the below parameters will need to be passed via a GET request:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
action=init&lt;br /&gt;
target=values&lt;br /&gt;
username=(the username for the account)&lt;br /&gt;
SID=(the security identifier for the account)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will return all the information in the following XML layout:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   &amp;lt;system socialURI=&amp;quot;STRING&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;user id=&amp;quot;INTEGER&amp;quot; name=&amp;quot;STRING&amp;quot; /&amp;gt;&lt;br /&gt;
   &amp;lt;employees&amp;gt;&lt;br /&gt;
      &amp;lt;employee id=&amp;quot;INTEGER&amp;quot; name=&amp;quot;STRING&amp;quot; status=&amp;quot;{in|out|delayed}&amp;quot; avail=&amp;quot;{yes|no|break|meeting}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      ...repeated for each employee in the company...&lt;br /&gt;
   &amp;lt;/employees&amp;gt;&lt;br /&gt;
   &amp;lt;jobs&amp;gt;&lt;br /&gt;
      &amp;lt;job id=&amp;quot;INTEGER&amp;quot; module=&amp;quot;STRING&amp;quot; customerID=&amp;quot;INTEGER&amp;quot; customerName=&amp;quot;STRING&amp;quot; required=&amp;quot;DATE&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      ...repeated for each job associated with the employee...&lt;br /&gt;
   &amp;lt;/jobs&amp;gt;&lt;br /&gt;
   &amp;lt;groups&amp;gt;&lt;br /&gt;
      &amp;lt;group id=&amp;quot;INTEGER&amp;quot; name=&amp;quot;STRING&amp;quot; icon=&amp;quot;STRING&amp;quot;&amp;gt;&lt;br /&gt;
         &amp;lt;module id=&amp;quot;INTEGER&amp;quot; name=&amp;quot;STRING&amp;quot; icon=&amp;quot;STRING&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
         ...repeated for each module within the group...&lt;br /&gt;
      &amp;lt;/group&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      ...repeated for each defined group on the dashboard...&lt;br /&gt;
   &amp;lt;/groups&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Change the interface===&lt;br /&gt;
To change between the dashboard and the social interface, the below parameters will need to be passed via a GET request:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
action=check&lt;br /&gt;
target=provider&lt;br /&gt;
username=(the username for the account)&lt;br /&gt;
SID=(the security identifier for the account)&lt;br /&gt;
uri=(the URI of the email provider such as &amp;#039;http://www.gmail.com&amp;#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
When changing to the social interface, the server-side script will perform a quick test to see if the provider allows for an embedded version of their service and returns the following XML:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   &amp;lt;s&amp;gt;&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   OR&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;f&amp;gt;&amp;lt;msg&amp;gt;The service provider for your social interaction does not allow embedding in an iframe.&amp;lt;/msg&amp;gt;&amp;lt;/f&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Update &amp;#039;Employee&amp;#039; tab data===&lt;br /&gt;
To update the data on the &amp;#039;Employees&amp;#039; tab, the below parameters will need to be passed via a GET request:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
action=update&lt;br /&gt;
target=employees&lt;br /&gt;
username=(the username for the account)&lt;br /&gt;
SID=(the security identifier for the account)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will return all the information in the following XML layout:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   &amp;lt;employees&amp;gt;&lt;br /&gt;
      &amp;lt;employee id=&amp;quot;INTEGER&amp;quot; name=&amp;quot;STRING&amp;quot; status=&amp;quot;{in|out|delayed}&amp;quot; avail=&amp;quot;{yes|no|break|meeting}&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      ...repeated for each employee of the company...&lt;br /&gt;
   &amp;lt;/employees&amp;gt;&lt;br /&gt;
   &amp;lt;jobs&amp;gt;&lt;br /&gt;
      &amp;lt;job id=&amp;quot;INTEGER&amp;quot; module=&amp;quot;STRING&amp;quot; customerID=&amp;quot;INTEGER&amp;quot; customerName=&amp;quot;STRING&amp;quot; required=&amp;quot;DATE&amp;quot; /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
      ...repeated for each job assigned to the employee...&lt;br /&gt;
   &amp;lt;/jobs&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Update user status===&lt;br /&gt;
To update the users working status, the below parameters will need to be passed via a GET request:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
action=update&lt;br /&gt;
target=status&lt;br /&gt;
username=(the username for the account)&lt;br /&gt;
SID=(the security identifier for the account)&lt;br /&gt;
status={in|out|pto|sick|delayed}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will return all the information in the following XML:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   &amp;lt;s&amp;gt;&amp;lt;msg&amp;gt;Your status has been updated successfully!&amp;lt;/msg&amp;gt;&amp;lt;data status=&amp;quot;{in|out|pto|sick|delayed}&amp;quot; /&amp;gt;&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   OR&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;f&amp;gt;&amp;lt;msg&amp;gt;There was an error processing your request and our staff has been notified.  Please try again in a few minutes.&amp;lt;/msg&amp;gt;&amp;lt;data prior=&amp;quot;{yes|no|break|meeting}&amp;quot; /&amp;gt;&amp;lt;/f&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Update user availability===&lt;br /&gt;
To update the users working availability, the below parameters will need to be passed via a GET request:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
action=update&lt;br /&gt;
target=status&lt;br /&gt;
username=(the username for the account)&lt;br /&gt;
SID=(the security identifier for the account)&lt;br /&gt;
avail={yes|no|break|meeting}&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This will return all the information in the following XML:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   &amp;lt;s&amp;gt;&amp;lt;msg&amp;gt;Your status has been updated successfully!&amp;lt;/msg&amp;gt;&amp;lt;data status=&amp;quot;{yes|no|break|meeting}&amp;quot; /&amp;gt;&amp;lt;/s&amp;gt;&lt;br /&gt;
&lt;br /&gt;
   OR&lt;br /&gt;
&lt;br /&gt;
   &amp;lt;f&amp;gt;&amp;lt;msg&amp;gt;There was an error processing your request and our staff has been notified.  Please try again in a few minutes.&amp;lt;/msg&amp;gt;&amp;lt;data prior=&amp;quot;{yes|no|break|meeting}&amp;quot; /&amp;gt;&amp;lt;/f&amp;gt;&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Digitalpipe</name></author>	</entry>

	</feed>