<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">

    <channel>
    
    <title>Norada</title>
    <link>http://norada.com/index.php/index</link>
    <description />
    <dc:language>en</dc:language>
    <dc:creator>support@norada.com</dc:creator>
    <dc:rights>Copyright 2009</dc:rights>
    <dc:date>2009-06-24T14:08:58-07:00</dc:date>
    <admin:generatorAgent rdf:resource="http://expressionengine.com/" />
    

    <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/norada" type="application/rss+xml" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com" /><item>
      <title>API Reference - Examples</title>
      <link>http://norada.com/norada/entry/external_api_reference_examples/</link>
      <guid>http://norada.com/norada/entry/external_api_reference_examples/#When:14:08:58Z</guid>
      <description><![CDATA[<p>&#123;embed=&#8220;/norada/_apinav&#8221;&#125;</p><p class="leading">Example using XML, JSON, Form Encoded</p>

<p>Every kind of item can be created, updated or destroyed with three supported Content-Type formats: XML, JSON and Form-Encoded.&nbsp; The following example of creating web site activity for a contact demonstrates each format.

<p>XML</p><p>
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?xml&nbsp;version</span><span style="color: #007700">=</span><span style="color: #DD0000">"1.0"&nbsp;</span><span style="color: #0000BB">encoding</span><span style="color: #007700">=</span><span style="color: #DD0000">"utf-8"</span><span style="color: #0000BB">?&gt;<br /></span><span style="color: #007700">&lt;</span><span style="color: #0000BB">request</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">parent</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">&#123;parentId&#125;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">parent</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">data</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">caption</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">website&nbsp;created&nbsp;from&nbsp;api</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">caption</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">url</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">http</span><span style="color: #007700">:</span><span style="color: #FF8000">//test.site.com&lt;/url&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">data</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">request</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div><p></p>

<p>JSON:</p><p>
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&#123;</span><span style="color: #DD0000">"parent"</span><span style="color: #007700">:</span><span style="color: #DD0000">"&#123;parentId&#125;"</span><span style="color: #007700">,</span><span style="color: #DD0000">"data"</span><span style="color: #007700">:</span><span style="color: #0000BB">&#123;</span><span style="color: #DD0000">"caption"</span><span style="color: #007700">:</span><span style="color: #DD0000">"website&nbsp;created&nbsp;from&nbsp;api"</span><span style="color: #007700">,</span><span style="color: #DD0000">"url"</span><span style="color: #007700">:</span><span style="color: #DD0000">"http:\/\/test.site.com"</span><span style="color: #0000BB">&#125;&#125;&nbsp;</span>
</span>
</code></div><p></p>

<p>Form-encoded (provided by html form):</p><p>
</p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">parent</span><span style="color: #007700">=</span><span style="color: #0000BB">&#123;parentId&#125;</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">data</span><span style="color: #007700">%</span><span style="color: #0000BB">5Bcaption</span><span style="color: #007700">%</span><span style="color: #0000BB">5D</span><span style="color: #007700">=</span><span style="color: #0000BB">website</span><span style="color: #007700">+</span><span style="color: #0000BB">created</span><span style="color: #007700">+</span><span style="color: #0000BB">from</span><span style="color: #007700">+</span><span style="color: #0000BB">api</span><span style="color: #007700">&amp;</span><span style="color: #0000BB">data</span><span style="color: #007700">%</span><span style="color: #0000BB">5Burl</span><span style="color: #007700">%</span><span style="color: #0000BB">5D</span><span style="color: #007700">=</span><span style="color: #0000BB">http</span><span style="color: #007700">%</span><span style="color: #0000BB">3A</span><span style="color: #007700">%</span><span style="color: #0000BB">2F</span><span style="color: #007700">%</span><span style="color: #0000BB">2Ftest</span><span style="color: #007700">.</span><span style="color: #0000BB">site</span><span style="color: #007700">.</span><span style="color: #0000BB">com&nbsp;</span>
</span>
</code></div><p></p>

<p class="leading">Example of Batch Processing Activities</p>

<p>This example demonstrates filtering Project Blogs by category tags then adding six new Section activities for each one if they don&#8217;t already exist.&nbsp; Most of the example code is for handling communication with the server; the actual API logic is at the end and is fairly small.</p><p> </p>

<p></p><div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br />&nbsp;&nbsp;&nbsp;&nbsp;ini_set</span><span style="color: #007700">(</span><span style="color: #DD0000">'display_errors'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'1'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">error_reporting</span><span style="color: #007700">(</span><span style="color: #0000BB">E_ALL</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'USER'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'TOKEN'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'&#123;userApiToken&#125;'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'HOST'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'https://secure.solve360.com'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'TIMEOUT'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">30</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'SECTION_TYPE_ID'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">57</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Helper&nbsp;functions<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;/**<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Helper&nbsp;function&nbsp;to&nbsp;convert&nbsp;our&nbsp;data&nbsp;array&nbsp;into&nbsp;xml&nbsp;format<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;array&nbsp;$data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;SimpleXmlElement&nbsp;$xml<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;XML<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">arrayToXml</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$xml&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$xml&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$xml&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">simplexml_load_string</span><span style="color: #007700">(</span><span style="color: #DD0000">'&lt;?xml&nbsp;version="1.0"&nbsp;encoding="utf-8"?&gt;&lt;data&nbsp;/&gt;'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">foreach(</span><span style="color: #0000BB">$data&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">$key&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$value</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">is_array</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">))&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$node&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$xml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">addChild</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">arrayToXml</span><span style="color: #007700">(</span><span style="color: #0000BB">$value</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$node</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span><span style="color: #007700">else&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$xml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">addChild</span><span style="color: #007700">(</span><span style="color: #0000BB">$key</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$value</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">$xml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">asXML</span><span style="color: #007700">();<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/**<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Function&nbsp;that&nbsp;makes&nbsp;request&nbsp;to&nbsp;the&nbsp;api&nbsp;and&nbsp;return&nbsp;xml&nbsp;response<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$uri<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;string&nbsp;$restVerb<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@param&nbsp;array&nbsp;$data<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;@return&nbsp;SimpleXmlElement<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">function&nbsp;</span><span style="color: #0000BB">getXmlResponse</span><span style="color: #007700">(</span><span style="color: #0000BB">$uri</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$restVerb</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$data&nbsp;</span><span style="color: #007700">=&nbsp;array())<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Connect&nbsp;to&nbsp;the&nbsp;host<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$errno&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$errstr&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$fp&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_socket_client</span><span style="color: #007700">(</span><span style="color: #DD0000">"tcp://"</span><span style="color: #007700">.</span><span style="color: #0000BB">HOST</span><span style="color: #007700">.</span><span style="color: #DD0000">":80"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$errno</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$errstr</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">TIMEOUT</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$fp</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">die(</span><span style="color: #DD0000">"cannot&nbsp;connect&nbsp;to&nbsp;host&nbsp;"&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">HOST</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span><span style="color: #007700">else&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(empty(</span><span style="color: #0000BB">$data</span><span style="color: #007700">))&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span><span style="color: #007700">else&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">arrayToXml</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Prepare&nbsp;request&nbsp;body<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"$restVerb&nbsp;$uri&nbsp;HTTP/1.1\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Host:&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">HOST</span><span style="color: #007700">.</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Authorization&nbsp;header<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Authorization:&nbsp;Basic&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">base64_encode</span><span style="color: #007700">(</span><span style="color: #0000BB">USER</span><span style="color: #007700">.</span><span style="color: #DD0000">":"</span><span style="color: #007700">.</span><span style="color: #0000BB">TOKEN</span><span style="color: #007700">).</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;We&nbsp;inform&nbsp;the&nbsp;server&nbsp;that&nbsp;we're&nbsp;sending&nbsp;data&nbsp;in&nbsp;xml&nbsp;format<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Content-Type:&nbsp;application/xml\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;We&nbsp;inform&nbsp;the&nbsp;server&nbsp;theat&nbsp;we&nbsp;are&nbsp;waiting&nbsp;for&nbsp;xml&nbsp;in&nbsp;response<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Accept:&nbsp;application/xml\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Content-Length:&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">).</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Connection:&nbsp;close\r\n\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #0000BB">$data</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br /></span><span style="color: #FF8000">//echo&nbsp;$request;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Send&nbsp;request&nbsp;to&nbsp;the&nbsp;host<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fwrite</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$request</span><span style="color: #007700">);&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$result&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">stream_set_timeout</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">TIMEOUT</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$info&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(!</span><span style="color: #0000BB">feof</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;!</span><span style="color: #0000BB">$info&#91;</span><span style="color: #DD0000">'timed_out'</span><span style="color: #0000BB">&#93;</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$newLine&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_get_line</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1024</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$newLine</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"\r\n&nbsp;"</span><span style="color: #007700">)&nbsp;===&nbsp;</span><span style="color: #DD0000">'0'</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">break;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$result&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #0000BB">$newLine</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$info&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$headers&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">0</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"\r\n\r\n"</span><span style="color: #007700">));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$body&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">substr</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">,&nbsp;(</span><span style="color: #0000BB">strpos</span><span style="color: #007700">(</span><span style="color: #0000BB">$result</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"\r\n\r\n"</span><span style="color: #007700">)&nbsp;+&nbsp;</span><span style="color: #0000BB">4</span><span style="color: #007700">));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$headers&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$headers</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Get&nbsp;xml&nbsp;from&nbsp;response<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$matches&nbsp;</span><span style="color: #007700">=&nbsp;array();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">preg_match</span><span style="color: #007700">(</span><span style="color: #DD0000">"/(&lt;.*&gt;)/s"</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$body</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$matches</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$xml&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$matches&#91;1&#93;</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">$xml</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$xml&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">simplexml_load_string</span><span style="color: #007700">(</span><span style="color: #0000BB">$xml</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span><span style="color: #007700">else&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Something&nbsp;went&nbsp;wrong&nbsp;and&nbsp;we&nbsp;haven't&nbsp;got&nbsp;xml&nbsp;in&nbsp;the&nbsp;response<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">die(</span><span style="color: #DD0000">'System&nbsp;error'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">return&nbsp;</span><span style="color: #0000BB">$xml</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">/*<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*&nbsp;Sections&nbsp;example&nbsp;main&nbsp;code<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;We&nbsp;need&nbsp;to&nbsp;know&nbsp;how&nbsp;many&nbsp;blogs&nbsp;we&nbsp;have<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$limit&nbsp;</span><span style="color: #007700">=&nbsp;(int)&nbsp;</span><span style="color: #0000BB">getXmlResponse</span><span style="color: #007700">(</span><span style="color: #DD0000">'/projectblogs/'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'GET'</span><span style="color: #007700">,&nbsp;array(</span><span style="color: #DD0000">'limit'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">1</span><span style="color: #007700">))-&gt;</span><span style="color: #0000BB">count</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Let's&nbsp;define&nbsp;categories&nbsp;ids&nbsp;for&nbsp;search<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$categoriesIds&nbsp;</span><span style="color: #007700">=&nbsp;array(</span><span style="color: #0000BB">&#123;categoryId&#125;</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#123;categoryId&#125;</span><span style="color: #007700">);&nbsp;</span><span style="color: #FF8000">//&nbsp;NOTE:&nbsp;replace&nbsp;categories&nbsp;ids&nbsp;with&nbsp;yours!<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Compose&nbsp;search&nbsp;options<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$searchOptions&nbsp;</span><span style="color: #007700">=&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'limit'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$limit</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;we&nbsp;want&nbsp;to&nbsp;get&nbsp;all&nbsp;blogs&nbsp;that&nbsp;are&nbsp;needed&nbsp;at&nbsp;once<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'filterMode'&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'category'</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;we&nbsp;need&nbsp;data&nbsp;filtered&nbsp;by&nbsp;category<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'filterValue'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">implode</span><span style="color: #007700">(</span><span style="color: #DD0000">','</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$categoriesIds</span><span style="color: #007700">),&nbsp;</span><span style="color: #FF8000">//&nbsp;cagegories&nbsp;ids&nbsp;as&nbsp;value&nbsp;for&nbsp;filter<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'special'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #DD0000">'AND'</span><span style="color: #007700">,&nbsp;</span><span style="color: #FF8000">//&nbsp;we&nbsp;need&nbsp;both&nbsp;categories&nbsp;to&nbsp;be&nbsp;set&nbsp;for&nbsp;a&nbsp;blog<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Get&nbsp;xml&nbsp;with&nbsp;search&nbsp;results<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$resultXml&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">getXmlResponse</span><span style="color: #007700">(</span><span style="color: #DD0000">'/projectblogs/'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'GET'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$searchOptions</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Quite&nbsp;if&nbsp;there&nbsp;was&nbsp;an&nbsp;error<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">$resultXml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">status&nbsp;</span><span style="color: #007700">!=&nbsp;</span><span style="color: #DD0000">'success'</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mail</span><span style="color: #007700">(</span><span style="color: #0000BB">USER</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Error&nbsp;while&nbsp;working&nbsp;with&nbsp;Solve360'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Error:&nbsp;'&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">$resultXml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">errors</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">asXml</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;die(</span><span style="color: #DD0000">'Error&nbsp;while&nbsp;working&nbsp;with&nbsp;Solve360'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(</span><span style="color: #0000BB">count</span><span style="color: #007700">(</span><span style="color: #0000BB">$resultXml</span><span style="color: #007700">)&nbsp;&gt;&nbsp;</span><span style="color: #0000BB">2</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;there&nbsp;are&nbsp;some&nbsp;blogs&nbsp;for&nbsp;our&nbsp;search&nbsp;conditions<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Let's&nbsp;select&nbsp;blog&nbsp;ids&nbsp;for&nbsp;adding&nbsp;activities&nbsp;sections<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$blogsIds&nbsp;</span><span style="color: #007700">=&nbsp;array();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;(</span><span style="color: #0000BB">$resultXml&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">$projectBlog</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(isset(</span><span style="color: #0000BB">$projectBlog</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">id</span><span style="color: #007700">))&nbsp;</span><span style="color: #0000BB">&#123;&nbsp;</span><span style="color: #FF8000">//&nbsp;if&nbsp;it&nbsp;is&nbsp;not&nbsp;count&nbsp;or&nbsp;status&nbsp;field<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$blogsIds&#91;&#93;&nbsp;</span><span style="color: #007700">=&nbsp;(int)&nbsp;</span><span style="color: #0000BB">$projectBlog</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">id</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Prepare&nbsp;sections&nbsp;titles<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$sections&nbsp;</span><span style="color: #007700">=&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'Calendar'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'Upcoming'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'Active'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'For&nbsp;Managment&nbsp;/&nbsp;Client&nbsp;Liason'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'For&nbsp;Booking&nbsp;Agents'</span><span style="color: #007700">,<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'Archive'<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;To&nbsp;save&nbsp;the&nbsp;order,&nbsp;reverse&nbsp;the&nbsp;array<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$sections&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">array_reverse</span><span style="color: #007700">(</span><span style="color: #0000BB">$sections</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;(</span><span style="color: #0000BB">$blogsIds&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">$blogId</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$sectionsToAdd&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$sections</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;We&nbsp;should&nbsp;check&nbsp;if&nbsp;the&nbsp;seaction&nbsp;already&nbsp;exists<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$blog&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">getXmlResponse</span><span style="color: #007700">(</span><span style="color: #DD0000">'/projectblogs/'&nbsp;</span><span style="color: #007700">.&nbsp;(string)&nbsp;</span><span style="color: #0000BB">$blogId</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'GET'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;foreach&nbsp;((array)&nbsp;</span><span style="color: #0000BB">$blog</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">activities&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">$blogActivity</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;((int)&nbsp;</span><span style="color: #0000BB">$blogActivity</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">typeid&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">SECTION_TYPE_ID</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">foreach&nbsp;(</span><span style="color: #0000BB">$sectionsToAdd&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">$sectionKey&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$sectionTitle</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;((string)&nbsp;</span><span style="color: #0000BB">$blogActivity</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">fields</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">title&nbsp;</span><span style="color: #007700">==&nbsp;</span><span style="color: #0000BB">$sectionTitle</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">unset(</span><span style="color: #0000BB">$sectionsToAdd&#91;$sectionKey&#93;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Add&nbsp;activities&nbsp;to&nbsp;the&nbsp;blog<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">foreach&nbsp;(</span><span style="color: #0000BB">$sectionsToAdd&nbsp;</span><span style="color: #007700">as&nbsp;</span><span style="color: #0000BB">$sectionTitle</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">getXmlResponse</span><span style="color: #007700">(</span><span style="color: #DD0000">'/projectblogs/separator/'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'POST'</span><span style="color: #007700">,&nbsp;array(<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'parent'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$blogId</span><span style="color: #007700">,&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #DD0000">'data'&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&gt;&nbsp;array(</span><span style="color: #DD0000">'title'&nbsp;</span><span style="color: #007700">=&gt;&nbsp;</span><span style="color: #0000BB">$sectionTitle</span><span style="color: #007700">)<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;)));<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #DD0000">'success'</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span>
</span>
</code></div><p></p>

<p>
</p>]]></description>
      <dc:subject />
      <dc:date>2009-06-24T14:08:58-07:00</dc:date>
    </item>

    <item>
      <title>API Reference - Project Blogs</title>
      <link>http://norada.com/norada/entry/external_api_reference_projectblogs/</link>
      <guid>http://norada.com/norada/entry/external_api_reference_projectblogs/#When:14:03:50Z</guid>
      <description><![CDATA[<p>&#123;embed=&#8220;/norada/_apinav&#8221;&#125;</p>

<p class="leading">Preamble</p>

<p>The Solve360 External API is implemented over HTTP and is <a href="http://en.wikipedia.org/wiki/Representational_State_Transfer" target="_blank" title="RESTful">RESTful</a>.&nbsp; Every item has its own URI and is manipulated in isolation.</p>

<p>You will normally send your Request data in <a href="http://en.wikipedia.org/wiki/XML" target="_blank" title="XML">XML</a> format, but we understand <a href="http://en.wikipedia.org/wiki/JSON" target="_blank" title="JSON">JSON</a> and <a href="http://www.w3.org/MarkUp/html-spec/html-spec_8.html" target="_blank" title="form encoded">form encoded</a> data just as well.&nbsp; If you want to use a non-XML request format simply set the HTTP Content-type header to either application/json or application/x-www-form-urlencoded. conversely, we will normally send response data in XML form unless you set the HTTP Accepts header to application/json.</p>

<p>Remember, access to features and data is limited to the actual user account being used to access the API.</p><p class="leading">Reference</p>

<p>The API methods and parameters are the same for Project Blogs as they are for Contacts.&nbsp; While this API documentation is in a preliminary state please refer to the Contacts page and simply replace the segment name /contacts/... with /projectblogs/...</p>]]></description>
      <dc:subject />
      <dc:date>2009-06-24T14:03:50-07:00</dc:date>
    </item>

    <item>
      <title>API Reference - Companies</title>
      <link>http://norada.com/norada/entry/external_api_reference_companies/</link>
      <guid>http://norada.com/norada/entry/external_api_reference_companies/#When:14:02:17Z</guid>
      <description><![CDATA[<p>&#123;embed=&#8220;/norada/_apinav&#8221;&#125;</p>

<p class="leading">Preamble</p>

<p>The Solve360 External API is implemented over HTTP and is <a href="http://en.wikipedia.org/wiki/Representational_State_Transfer" target="_blank" title="RESTful">RESTful</a>.&nbsp; Every item has its own URI and is manipulated in isolation.</p>

<p>You will normally send your Request data in <a href="http://en.wikipedia.org/wiki/XML" target="_blank" title="XML">XML</a> format, but we understand <a href="http://en.wikipedia.org/wiki/JSON" target="_blank" title="JSON">JSON</a> and <a href="http://www.w3.org/MarkUp/html-spec/html-spec_8.html" target="_blank" title="form encoded">form encoded</a> data just as well.&nbsp; If you want to use a non-XML request format simply set the HTTP Content-type header to either application/json or application/x-www-form-urlencoded. conversely, we will normally send response data in XML form unless you set the HTTP Accepts header to application/json.</p>

<p>Remember, access to features and data is limited to the actual user account being used to access the API.</p><p class="leading">Reference</p>

<p>The API methods and parameters are the same for Companies as they are for Contacts.&nbsp; While this API documentation is in a preliminary state please refer to the Contacts page and simply replace the segment name /contacts/... with /companies/...</p>]]></description>
      <dc:subject />
      <dc:date>2009-06-24T14:02:17-07:00</dc:date>
    </item>

    <item>
      <title>API Reference - Contacts</title>
      <link>http://norada.com/norada/entry/external_api_reference_contacts/</link>
      <guid>http://norada.com/norada/entry/external_api_reference_contacts/#When:13:59:12Z</guid>
      <description><![CDATA[&#123;embed="/norada/_apinav"&#125;

&#123;embed="/norada/_apisummary"&#125;<p class="leading">Interface Summary at https://secure.solve360.com</p>
<table class="apichart" cellspacing="0">
  <tr><th>URI</th><th>HTTP Methods</th>
  <tr><td>/contacts/</td><td>[GET, POST]</td>
  <tr><td>/contacts/{contactId}/</td><td>[GET, PUT, DELETE]</td>
  <tr><td>/contacts/categories/</td><td>[GET]</td>
  <tr><td>/contacts/{activitySegmentName}/</td><td>[POST]</td>
  <tr><td>/contacts/{activitySegmentName}/{activityId}/</td><td>[PUT, DELETE]</td>
</table>

<p class="leading">Methods</p>


<div class="apimethod">Create</div>
<div class="apimethodaction">POST https://secure.solve360.com/contacts</div>
<div class="apimethoddesc">Creates a new contact.</div>

<div class="apimethodsample">Request</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">curl&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">u&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;:&#123;userApiToken&#125;'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">X&nbsp;POST&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">H&nbsp;</span><span style="color: #DD0000">'Content-Type:&nbsp;application/xml'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">d&nbsp;</span><span style="color: #DD0000">'&lt;request&gt;&lt;firstname&gt;Aaron&lt;/firstname&gt;&lt;lastname&gt;Baileys&lt;/lastname&gt;&lt;categories&gt;&lt;add&gt;&lt;category&gt;315890&lt;/category&gt;&lt;/add&gt;&lt;/categories&gt;&lt;ownership&gt;83421&lt;/ownership&gt;&lt;/request&gt;'&nbsp;</span><span style="color: #0000BB">https</span><span style="color: #007700">:</span><span style="color: #FF8000">//secure.solve360.com/contacts&nbsp;</span>
</span>
</code></div>
<div class="apiparams">
  <p>Parameters</p>
  <div>
    <ul>
      <li>there are no required fields</li>
      <li>ownership will be the id of the current user if not otherwise provided, to share the item set &lt;ownership&gt;{groupId}&lt;/ownership&gt;</li>
      <li>to add the item to one or more category tags use &lt;categories&gt;&lt;add&gt;&lt;category&gt;{categoryTagId}&lt;/category&gt;...&lt;/add&gt;&lt;/categories&gt;</li>
      <li>to link the item to one or more contacts, companies or project blogs use &lt;relateditems&gt;&lt;add&gt;&lt;relatedto&gt;&lt;id&gt;{relatedtoid}&lt;/id&gt;&lt;/relatedto&gt;...&lt;/add&gt;&lt;/relateditems&gt;</li>
    </ul>
  </div>
</div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...<br />&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;...<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>


<div class="apimethod">Update</div>
<div class="apimethodaction">PUT https://secure.solve360.com/contacts/{contactId}/</div>
<div class="apimethoddesc">Updates an existing contact.</div>

<div class="apimethodsample">Request</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">curl&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">u&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;:&#123;userApiToken&#125;'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">X&nbsp;PUT&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">H&nbsp;</span><span style="color: #DD0000">'Content-Type:&nbsp;application/xml'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">d&nbsp;</span><span style="color: #DD0000">'&lt;request&gt;&lt;businessemail&gt;support@workplate.com&lt;/businessemail&gt;&lt;categories&gt;&lt;category&gt;53966&lt;/category&gt;&lt;/categories&gt;&lt;/request&gt;'&nbsp;</span><span style="color: #0000BB">https</span><span style="color: #007700">:</span><span style="color: #FF8000">//secure.solve360.com/contacts/31507&nbsp;</span>
</span>
</code></div>
<div class="apiparams">
  <p>Parameters</p>
  <div>
    <ul>
      <li>there are no required fields</li>
      <li>ownership will be the id of the current user if not otherwise provided, to share the item set &lt;ownership&gt;{groupId}&lt;/ownership&gt;</li>
      <li>to add or remove the item to one or more category tags use &lt;categories&gt;&lt;add&gt;&lt;category&gt;{categoryTagId}&lt;/category&gt; ...&lt;/add&gt;&lt;remove&gt;&lt;category&gt;{categoryTagId}&lt;/category&gt;...&lt;/remove&gt;&lt;/categories&gt;</li>
      <li>to link or unlink the item to one or more contacts, companies or project blogs use &lt;relateditems&gt;&lt;add&gt;&lt;relatedto&gt; &lt;id&gt;{relatedtoid}&lt;/id&gt;&lt;/relatedto&gt;...&lt;/add&gt;&lt;remove&gt;&lt;relatedto&gt;&lt;id&gt;{relatedtoid}&lt;/id&gt;&lt;/relatedto&gt;...&lt;/remove&gt;&lt;/relateditems&gt;</li>
    </ul>
  </div>
</div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...<br />&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>


<div class="apimethod">Show</div>
<div class="apimethodaction">GET https://secure.solve360.com/contacts/{contactId}/</div>
<div class="apimethoddesc">Shows all data related to an existing contact including companies, related-to, category tags and all activities (excluding email messages).</div>

<div class="apimethodsample">Request</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">curl&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">u&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;:&#123;userApiToken&#125;'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">X&nbsp;GET&nbsp;https</span><span style="color: #007700">:</span><span style="color: #FF8000">//secure.solve360.com/contacts/31507&nbsp;</span>
</span>
</code></div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...<br />&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">item</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">31507</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Aaron&nbsp;Baileys</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">06</span><span style="color: #007700">-</span><span style="color: #0000BB">20T14</span><span style="color: #007700">:</span><span style="color: #0000BB">49</span><span style="color: #007700">:</span><span style="color: #0000BB">39</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">viewed</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">06</span><span style="color: #007700">-</span><span style="color: #0000BB">20T15</span><span style="color: #007700">:</span><span style="color: #0000BB">13</span><span style="color: #007700">:</span><span style="color: #0000BB">07</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">viewed</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">updated</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">06</span><span style="color: #007700">-</span><span style="color: #0000BB">20T15</span><span style="color: #007700">:</span><span style="color: #0000BB">12</span><span style="color: #007700">:</span><span style="color: #0000BB">09</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">updated</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">flagged</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">flagged</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">fields</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessphonedirect</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">382</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">853</span><span style="color: #007700">-</span><span style="color: #0000BB">8544</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessphonedirect</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">homephone</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">333</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">934</span><span style="color: #007700">-</span><span style="color: #0000BB">9392</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">homephone</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">cellularphone</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">333</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">828</span><span style="color: #007700">-</span><span style="color: #0000BB">4633</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">cellularphone</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessfax</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">111</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">222</span><span style="color: #007700">-</span><span style="color: #0000BB">3333</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessfax</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">firstname</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Aaron</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">firstname</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">custom329972</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">7363273</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">custom329972</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">assignedto</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">53936</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">assignedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessaddress</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1710</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">840&nbsp;7th&nbsp;Ave</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">SW<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Calgary</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Alberta</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessaddress</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessphonemain</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">580</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">648</span><span style="color: #007700">-</span><span style="color: #0000BB">9094</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessphonemain</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">lastname</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Baileys</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">lastname</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">custom18432</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Farm</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">custom18432</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">jobtitle</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Maintenance&nbsp;Mechanic</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">jobtitle</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">background</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Referred&nbsp;by&nbsp;David</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">hes&nbsp;built&nbsp;three&nbsp;other&nbsp;homes&nbsp;in&nbsp;the&nbsp;valley</span><span style="color: #007700">.&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">background</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessemail</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">support</span><span style="color: #007700">@</span><span style="color: #0000BB">workplate</span><span style="color: #007700">.</span><span style="color: #0000BB">com</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessemail</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">website</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">www</span><span style="color: #007700">.</span><span style="color: #0000BB">clientsite</span><span style="color: #007700">.</span><span style="color: #0000BB">com</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">website</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">fields</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">item</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">activities</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id603944</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">level</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">level</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">cn</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Task&nbsp;</span><span style="color: #007700">List&nbsp;</span><span style="color: #0000BB">Title</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">cn</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">06</span><span style="color: #007700">-</span><span style="color: #0000BB">20T14</span><span style="color: #007700">:</span><span style="color: #0000BB">59</span><span style="color: #007700">:</span><span style="color: #0000BB">18</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">viewed</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">06</span><span style="color: #007700">-</span><span style="color: #0000BB">20T15</span><span style="color: #007700">:</span><span style="color: #0000BB">32</span><span style="color: #007700">:</span><span style="color: #0000BB">37</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">viewed</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">updated</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">06</span><span style="color: #007700">-</span><span style="color: #0000BB">20T15</span><span style="color: #007700">:</span><span style="color: #0000BB">12</span><span style="color: #007700">:</span><span style="color: #0000BB">09</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">updated</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">flagged</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">22</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">parent</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">603938</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">parent</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">creatorid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">28230</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">creatorid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">creatorname</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Steve&nbsp;Ireland</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">creatorname</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">position</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">position</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">fields</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">completed</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">0</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">completed</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">description</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">task&nbsp;</span><span style="color: #007700">list&nbsp;</span><span style="color: #0000BB">description</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">description</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">title</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Task&nbsp;</span><span style="color: #007700">List&nbsp;</span><span style="color: #0000BB">Title</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">title</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">fields</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">modificatorid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">28230</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">modificatorid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">modificatorname</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Gerald&nbsp;Black</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">modificatorname</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">603944</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">id603944</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">activities</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">categories</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">568907</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;New&nbsp;</span><span style="color: #0000BB">Prospect</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">315890</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Qualified&nbsp;Prospect</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">categories</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">relateditems</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">45531</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Brenda&nbsp;Arnett</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Spouse</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">31358</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">40</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Systectro</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Employee</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">31477</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">40</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Inconactron&nbsp;Technology</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2001</span><span style="color: #007700">-</span><span style="color: #0000BB">2006</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">31404</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">40</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Exactratems&nbsp;Consulting</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Board&nbsp;member</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">46335</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">typeid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Steve&nbsp;Austin</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">brother</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">note</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">relatedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">relateditems</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>

<div class="apimethod">Destroy</div>
<div class="apimethodaction">DELETE https://secure.solve360.com/contacts/{contactId}/</div>
<div class="apimethoddesc">Deletes a contact.</div>

<div class="apimethodsample">Request</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">curl&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">u&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;:&#123;userApiToken&#125;'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">X&nbsp;DELETE&nbsp;https</span><span style="color: #007700">:</span><span style="color: #FF8000">//secure.solve360.com/contacts/31507&nbsp;</span>
</span>
</code></div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...<br />&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>


<div class="apimethod">List</div>
<div class="apimethodaction">GET https://secure.solve360.com/contacts</div>
<div class="apimethoddesc">Returns a collection of contacts that match the requested criteria.</div>

<div class="apimethodsample">Request</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">curl&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">u&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;:&#123;userApiToken&#125;'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">v&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">X&nbsp;GET&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">H&nbsp;</span><span style="color: #DD0000">'Content-Type:&nbsp;application/xml'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">o&nbsp;</span><span style="color: #DD0000">'result.xml'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">d&nbsp;</span><span style="color: #DD0000">'&lt;request&gt;&lt;layout&gt;1&lt;/layout&gt;&lt;searchmode&gt;Cany&lt;/searchmode&gt;&lt;searchvalue&gt;aaron&lt;/searchvalue&gt;&lt;filtermode&gt;&lt;/filtermode&gt;&lt;filtervalue&gt;&lt;/filtervalue&gt;&lt;special&gt;&lt;/special&gt;&lt;limit&gt;100&lt;/limit&gt;&lt;start&gt;&lt;/start&gt;&lt;sortfield&gt;&lt;/sortfield&gt;&lt;sortdir&gt;&lt;/sortdir&gt;&lt;/request&gt;'&nbsp;</span><span style="color: #0000BB">https</span><span style="color: #007700">:</span><span style="color: #FF8000">//secure.solve360.com/contacts&nbsp;</span>
</span>
</code></div>
<div class="apiparams">
  <p>Parameters</p>
  <div>
    <table class="apichart" cellspacing="0">
      <tr><th>Attribute</th><th>Description</th><th>Accepted values</th></tr>
      <tr><td>layout</td><td>Output summary fields or all fields</td><td>[0,1]</td></tr>
      <tr><td>searchmode</td><td>Sub filter search context</td><td>[Sany, Cany, Canyitem, Sanyitem, Canyjournal, Sanyjournal]<br/>S = field starts with, C = field contains</td></tr>
      <tr><td>searchvalue</td><td></td><td>{string}</td></tr>
      <tr><td>filtermode</td><td>Primary search context</td><td>[flagged, assigned, nocategory, viewed, created, updated, notviewed, notupdated, duetoday, duesoon, tasksoverdue, owner, category]</td></tr>
      <tr><td>filtervalue</td><td></td><td>{string}</td></tr>
      <tr><td>special</td><td>Result must match any specified categories or all specified categories</td><td>[AND, OR]</td></tr>
      <tr><td>limit</td><td>How many contacts to display per page</td><td>{integer}</td></tr>
      <tr><td>start</td><td>Page to start from</td><td>{integer}</td></tr>
      <tr><td>sortfield</td><td>Which field is used for sorting</td><td>[name, created, flagged, update_time]</td></tr>
      <tr><td>sortdir</td><td>Sort direction</td><td>[ASC, DESC]</td></tr>
    </table>
  </div>
</div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...<br />&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id31507</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">31507</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Aaron&nbsp;Baileys</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">parentid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">84265</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">parentid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">flagged</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">flagged</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessphonedirect</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">382</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">853</span><span style="color: #007700">-</span><span style="color: #0000BB">8544</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessphonedirect</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessfax</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">111</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">222</span><span style="color: #007700">-</span><span style="color: #0000BB">3333</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessfax</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">cellularphone</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">333</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">828</span><span style="color: #007700">-</span><span style="color: #0000BB">4633</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">cellularphone</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">homephone</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">333</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">934</span><span style="color: #007700">-</span><span style="color: #0000BB">9392</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">homephone</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessphonemain</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">580</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">648</span><span style="color: #007700">-</span><span style="color: #0000BB">9094</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessphonemain</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessaddress</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1710</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">840&nbsp;7th&nbsp;Ave</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">SW<br />&nbsp;&nbsp;&nbsp;&nbsp;Calgary</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Alberta</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessaddress</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">assignedto</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">53936</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">assignedto</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">custom329972</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">7363273</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">custom329972</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">firstname</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Aaron</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">firstname</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">lastname</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Baileys</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">lastname</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">custom18432</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Farm</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">custom18432</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">jobtitle</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Maintenance&nbsp;Mechanic</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">jobtitle</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">background</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Referred&nbsp;by&nbsp;David</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">hes&nbsp;built&nbsp;three&nbsp;other&nbsp;homes&nbsp;in&nbsp;the&nbsp;valley</span><span style="color: #007700">.&lt;</span><span style="color: #0000BB">br</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">background</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessemail</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">support</span><span style="color: #007700">@</span><span style="color: #0000BB">workcompedge</span><span style="color: #007700">.</span><span style="color: #0000BB">com</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessemail</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">website</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">www</span><span style="color: #007700">.</span><span style="color: #0000BB">clientsite</span><span style="color: #007700">.</span><span style="color: #0000BB">com</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">website</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">company</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Exactratems&nbsp;Consulting</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Inconactron&nbsp;Technology</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Systectro<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">company</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2008</span><span style="color: #007700">-</span><span style="color: #0000BB">08</span><span style="color: #007700">-</span><span style="color: #0000BB">04T00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">10</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">viewed</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">06</span><span style="color: #007700">-</span><span style="color: #0000BB">23T00</span><span style="color: #007700">:</span><span style="color: #0000BB">50</span><span style="color: #007700">:</span><span style="color: #0000BB">35</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">viewed</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">updated</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">06</span><span style="color: #007700">-</span><span style="color: #0000BB">18T21</span><span style="color: #007700">:</span><span style="color: #0000BB">53</span><span style="color: #007700">:</span><span style="color: #0000BB">24</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">updated</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">id31507</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id34943</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">34943</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Aaron&nbsp;Grant</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">parentid</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">28227</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">parentid</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">flagged</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">firstname</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Aaron</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">firstname</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessemail</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Aaron</span><span style="color: #007700">.</span><span style="color: #0000BB">E</span><span style="color: #007700">.</span><span style="color: #0000BB">Grant</span><span style="color: #007700">@</span><span style="color: #0000BB">spambob</span><span style="color: #007700">.</span><span style="color: #0000BB">com</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessemail</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">jobtitle</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Design&nbsp;Drafter&nbsp;Cad</span><span style="color: #007700">/</span><span style="color: #0000BB">Cam</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">jobtitle</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">lastname</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Grant</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">lastname</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessaddress</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">4437</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">Grand&nbsp;Avenue<br />&nbsp;&nbsp;&nbsp;&nbsp;Winter&nbsp;Park&nbsp;FL&nbsp;32789<br />&nbsp;&nbsp;&nbsp;&nbsp;US</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessaddress</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">businessphonemain</span><span style="color: #007700">&gt;(</span><span style="color: #0000BB">407</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">713</span><span style="color: #007700">-</span><span style="color: #0000BB">0145</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">businessphonemain</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">company</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Acle</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">company</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2008</span><span style="color: #007700">-</span><span style="color: #0000BB">08</span><span style="color: #007700">-</span><span style="color: #0000BB">04T00</span><span style="color: #007700">:</span><span style="color: #0000BB">03</span><span style="color: #007700">:</span><span style="color: #0000BB">05</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">viewed</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">01</span><span style="color: #007700">-</span><span style="color: #0000BB">19T15</span><span style="color: #007700">:</span><span style="color: #0000BB">49</span><span style="color: #007700">:</span><span style="color: #0000BB">29</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">viewed</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">updated</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2008</span><span style="color: #007700">-</span><span style="color: #0000BB">08</span><span style="color: #007700">-</span><span style="color: #0000BB">31T18</span><span style="color: #007700">:</span><span style="color: #0000BB">41</span><span style="color: #007700">:</span><span style="color: #0000BB">42</span><span style="color: #007700">+</span><span style="color: #0000BB">00</span><span style="color: #007700">:</span><span style="color: #0000BB">00</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">updated</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">id34943</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;...<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">count</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">21</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">count</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>


<div class="apimethod">List Tags</div>
<div class="apimethodaction">GET https://secure.solve360.com/contacts/categories/</div>
<div class="apimethoddesc">Returns a collection of available contact tags</div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...<br />&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">categories</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">315890</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">1.&nbsp;Lead</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">568907</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2.&nbsp;Prospect</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">355922</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">3.&nbsp;High&nbsp;Value&nbsp;Prospect</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">471194</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">4.&nbsp;Client</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">name</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">category</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">categories</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>


<div class="apimethod">Create Activity</div>
<div class="apimethodaction">POST https://secure.solve360.com/contacts/{activitySegmentName}/</div>
<div class="apimethoddesc">Creates a new activity linked to a parent item.  Refer to the &ldquo;Supported Activity Hierarchies&rdquo; chart below to see what each activity type can be linked to.</div>

<div class="apimethodsample">Request (e.g. create a task within tasklist having id 353687)</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">curl&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">u&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;:&#123;userApiToken&#125;'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">X&nbsp;POST&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">H&nbsp;</span><span style="color: #DD0000">'Content-Type:&nbsp;application/xml'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">d&nbsp;</span><span style="color: #DD0000">'&lt;request&gt;&lt;parent&gt;353687&lt;/parent&gt;&lt;data&gt;&lt;title&gt;Inspect&nbsp;Property&lt;/title&gt;&lt;duedate&gt;2009-10-11&lt;/duedate&gt;&lt;priority&gt;3&lt;/priority&gt;&lt;/data&gt;&lt;/request&gt;'&nbsp;</span><span style="color: #0000BB">https</span><span style="color: #007700">:</span><span style="color: #FF8000">//secure.solve360.com/contacts/task&nbsp;</span>
</span>
</code></div>
<div class="apiparams">
  <p>Parameters</p>
  <div>
    <ul>
      <li>&lt;parent&gt;{parentId}&lt;/parent&gt; is the parent to which we attaching the activity to and is required</li>
    </ul>
  </div>
  <div style="margin: 10px 20px 10px 50px;">
    <p style="margin-left: 0;">Activity Definitions</p>
    <table class="apichart" cellspacing="0">
      <tr><th style="width: 90px;">Activity</th><th style="width: 90px;">Segment Name</th><th>Fields</th></tr>
      <tr><td>Call</td><td>call</td><td>details (text)<br/><span class="requiredfield">dateoccured</span> (datetime)<br/>duration (integer, minutes)</td></tr>
      <tr><td>Comment</td><td>comment</td><td><span class="requiredfield">posttext</span> (text)</td></tr>
      <tr><td>Event</td><td>event</td><td>title (text)<br/>details (text)<br/>completed (integer, [0, 1])<br/><span class="requiredfield">timestart</span> (date or datetime)<br/><span class="requiredfield">timeend</span> (date or datetime)<br/>location (text)<br/><span class="requiredfield">eventtype</span> (text, [keep, remove])<br/><span class="requiredfield">priority</span> (ingeter, [0-6])<br/>noticenow (integer, [0, 1])<br/><span class="requiredfield">remindtime</span> (integer, [0, 1])<br/>userlist (integers delimited by comma, [group id, user id])<br/>repeats (text, [never, daily, weekly, monthly, yearly])<br/>repeatevery (integer)<br/>repeatuntil (date)<br/>repeatinterval (integers separated by comma, days of week 1-7)</td></tr>
      <tr><td>File</td><td>file</td><td>caption (text)<br/><span class="requiredfield">file</span></td></tr>
      <tr><td>Google Doc</td><td>googledoc</td><td>title (text)<br/>url (text)</td></tr>
      <tr><td>Linked Emails</td><td>linkedemails</td><td>(no fields are provided)</td></tr>
      <tr><td>Note</td><td>note</td><td><span class="requiredfield">details</span> (text)</td></tr>
      <tr><td>Opportunity</td><td>opportunity</td><td>description (text)<br/>valueunit (integer)<br/><span class="requiredfield">valuecurrency</span> (text, [USD, EUR, GBP, CAD, AUD, BRL, CHF, CNY, DKK, HKD, HUF, INR, JPY, MXN, MYR, NOK, NZD, RUB, SEK, SGD, THB, ZAR])<br/><span class="requiredfield">valueinterval</span> (text, [fixed price, per hour, per day, per week, per month, per quarter, per month, per quarter, per year])<br/>valueduration (integer)<br/><span class="requiredfield">stage</span> (integer, 0-100)<br/><span class="requiredfield">probability</span> (integer, 0-100)<br/><span class="requiredfield">closingdate</span> (date)<br/><span class="requiredfield">responsible</span> (integer, group or user id)<br/><span class="requiredfield">status</span> (text, [Discussion, Pending, Won, Lost, On-hold])</td></tr>
      <tr><td>Photo</td><td>photo</td><td>caption (text)<br/><span class="requiredfield">file</span></td></tr>
      <tr><td>Photo list</td><td>photolist</td><td>title (text)</td></tr>
      <tr><td>Separator</td><td>separator</td><td><span class="requiredfield">title</span> (text)<br/>hidesiblings (integer, [0, 1])</td></tr>
      <tr><td>Task</td><td>task</td><td>title (text)<br/>details (text)<br/>assignedto (integer, [group id, user id])<br/>duedate (date)<br/>completed (integer, [0, 1])<br/>sendnotification (integer, [0, 1])<br/>sendreminder (integer, [0, 1])<br/>priority (integer, [0-6])<br/>billed (integer, [0, 1])<br/>ignoreweekends (integer, [0, 1])<br/>timespent (integer)<br/>timespentmeasure (text, [days, hours, weeks])<br/>timeremains (integer)<br/>timeremainsmeasure (text, [days, hours, weeks])<br/>invoiced (text)</td></tr>
      <tr><td>Task list</td><td>tasklist</td><td>title (text)<br/>description (text)<br/>nodate (integer, [0, 1])<br/>milestonedate (date, if nodate = 1)<br/>completed (integer, [0, 1]</td></tr>
      <tr><td>Time record</td><td>timerecord</td><td><span class="requiredfield">date (date)</span><br/>person (integer, [group id, user id])<br/>hours (number)<br/>billable (integer, [0, 1])<br/>details (text)<br/>invoiced (text)</td></tr>
      <tr><td>Website</td><td>website</td><td>caption (text)<br/>url (text)</td></tr>
    </table>
  </div>
  <div style="margin: 10px 20px 10px 50px;">
    <div class="requiredfieldlabel"></div> <span class="requiredfield">Required field</span>
  </div>
  <div style="margin: 10px 20px 10px 50px;">
    <p style="margin-left: 0;">Supported Activity Hierarchies</p>
    <table class="apichart" cellspacing="0">
      <tr><th>Parent {itemId} [&gt; Child] [&gt; Child]</th></tr>
      <tr><td>Contact &gt; Call &gt; Comment</td></tr>
      <tr><td>Contact &gt; Event &gt; Comment</td></tr>
      <tr><td>Contact &gt; File &gt; Comment</td></tr>
      <tr><td>Contact &gt; Google Doc &gt; Comment</td></tr>
      <tr><td>Contact &gt; Linked emails (one per parent) &gt; Comment</td></tr>
      <tr><td>Contact &gt; Note &gt; Comment</td></tr>
      <tr><td>Contact &gt; Opportunitiy &gt; Comment</td></tr>
      <tr><td>Contact &gt; Photolist &gt; Photo</td></tr>
      <tr><td>Contact &gt; Photolist &gt; Comment</td></tr>
      <tr><td>Contact &gt; Section &gt; Comment</td></tr>
      <tr><td>Contact &gt; Tasklist &gt; Task</td></tr>
      <tr><td>Contact &gt; Tasklist &gt; Task &gt; Time record</td></tr>
      <tr><td>Contact &gt; Tasklist &gt; Comment</td></tr>
      <tr><td>Contact &gt; Website &gt; Comment</td></tr>
    </table>
  </div>
</div>
<div style="clear: both;"></div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...<br />&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">589696</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">id</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">data</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">title</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Inspect&nbsp;Property</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">title</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">duedate</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">2009</span><span style="color: #007700">-</span><span style="color: #0000BB">10</span><span style="color: #007700">-</span><span style="color: #0000BB">11</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">duedate</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">priority</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">3</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">priority</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">data</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Jun&nbsp;15</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">2009&nbsp;22</span><span style="color: #007700">:</span><span style="color: #0000BB">19</span><span style="color: #007700">:</span><span style="color: #0000BB">29</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">created</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>


<div class="apimethod">Update Activity</div>
<div class="apimethodaction">PUT https://secure.solve360.com/contacts/{activitySegmentName}/{activityId}</div>
<div class="apimethoddesc">Updates an activity related to a contact.</div>

<div class="apimethodsample">Request (e.g. change due date and priority for task with id {activityId})</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">curl&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">u&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;:&#123;userApiToken&#125;'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">X&nbsp;PUT&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">H&nbsp;</span><span style="color: #DD0000">'Content-Type:&nbsp;application/xml'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">d&nbsp;</span><span style="color: #DD0000">'&lt;request&gt;&lt;data&gt;&lt;duedate&gt;2009-12-11&lt;/duedate&gt;&lt;priority&gt;5&lt;/priority&gt;&lt;/data&gt;&lt;/request&gt;'&nbsp;</span><span style="color: #0000BB">https</span><span style="color: #007700">:</span><span style="color: #FF8000">//secure.solve360.com/contacts/task/589696&nbsp;</span>
</span>
</code></div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">...<br />&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>


<div class="apimethod">Destroy Activity</div>
<div class="apimethodaction">DELETE https://secure.solve360.com/contacts/{activitySegmentName}/{activityId}/</div>
<div class="apimethoddesc">Deletes an activity related to a contact.</div>

<div class="apimethodsample">Request</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">curl&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">u&nbsp;</span><span style="color: #DD0000">'&#123;userEmail&#125;:&#123;userApiToken&#125;'&nbsp;</span><span style="color: #007700">-</span><span style="color: #0000BB">X&nbsp;DELETE&nbsp;https</span><span style="color: #007700">:</span><span style="color: #FF8000">//secure.solve360.com/contacts/task/589696&nbsp;</span>
</span>
</code></div>

<div class="apimethodsample">Response</div>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;...<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">success</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">status</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">response</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>]]></description>
      <dc:subject />
      <dc:date>2009-06-24T13:59:12-07:00</dc:date>
    </item>

    <item>
      <title>API Introduction</title>
      <link>http://norada.com/norada/entry/external_api_introduction/</link>
      <guid>http://norada.com/norada/entry/external_api_introduction/#When:13:58:25Z</guid>
      <description><![CDATA[&#123;embed="/norada/_apinav"&#125;

<p class="leading">Introduction</p>

<!-- <p>This is preliminary information and subject to minor revisions.</p>  -->

<p>The Solve360 External <a href="http://en.wikipedia.org/wiki/API" target="_blank" title="Application Programming Interface">Application Programming Interface</a> or &ldquo;API&rdquo; provides clients who have access to some basic programming experience the ability to add, edit, delete and report on data in their Solve360 accounts without having to go through the Solve360 web interface.  With the API, you can integrate Solve360 with your web site and other applications you use and create some pretty spiffy custom reports.  This level of customization is provided so you can meet your team’s specific needs and automate as much of your work flow as possible.  The API is probably easier to use and way cooler than you might originally think.  It's also quite powerful; you’ll be working with some of the same tools that we use here everyday.  The possibilities are only limited by your imagination.</p><p class="leading">Authentication<p>
<p>Your code will authenticate to the API as a real Solve360 user account and will have access to everything that particular account has.  However, instead of logging in using the user's password your code will use the user's “API Token”.  The API Token is enabled on the Workspace, My Account, API Token page and is different for each user account.</p>
<img src="http://d1p8vlqvx8b65l.cloudfront.net/siteapitoken.png" alt="API Token"/>
<p>Often when authenticating using <a href="http://www.ietf.org/rfc/rfc2617.txt" target="_blank" title="HTTP Basic Authentication">HTTP Basic Authentication</a> (the method we use) you will be prompted for a username and password.  In these cases you would enter the user account’s email address as the username and the API Token as the password.</p>
<p>Just like your user account's password your API Token provides unlimited access to your account so be very diligent in keeping it secret and remember that the API Token can be removed or value reset at any time from the same page you first activated it.</p>

<p class="leading">Giving it a Spin</p>
Point your web browser at <a href="https://secure.solve360.com/contacts" target="_blank">https://secure.solve360.com/contacts</a> and when prompted to authenticate enter a valid Solve360 user account's email address and corresponding API Token.  After authenticating the server should return a list of all contacts that user account has access to in a machine readable format called <a href="http://en.wikipedia.org/wiki/XML" target="_blank">XML</a>.  Not so hard eh?!  Maybe to easy to be convincing so lets move on to a real-world example...</p>

<p class="leading">Creating a new contact in Solve360 directly from your website’s &ldquo;Contact Us&rdquo; form</p>
<p>Lets start by setting up the script that will receive the completed form from the website visitor and update Solve360.  The good news is we've already done the hard work for you.  You only need to edit two lines with your own account information and save the file on your server.  Everything else stays the same.  This file contain your API Token so it needs to be secure i.e. not readable by visitors.  Note to the inclined: We've chosen the to use only native PHP functions for this example so clients don't need to worry about installing special libraries on their server.  You may prefer to use <a href="http://en.wikipedia.org/wiki/CURL" target="_blank">CURL</a> and send data in XML format.</p>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">&lt;?php<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;version&nbsp;1.0<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'USER'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'xxx@xxxxxxx'</span><span style="color: #007700">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Edit&nbsp;your&nbsp;email&nbsp;address<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'TOKEN'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'</span><span style="color: #007700">);&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Edit&nbsp;with&nbsp;your&nbsp;API&nbsp;Token<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'HOST'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'secure.solve360.com'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">define</span><span style="color: #007700">(</span><span style="color: #DD0000">'TIMEOUT'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">30</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Connection&nbsp;to&nbsp;the&nbsp;host<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$fp&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">fsockopen</span><span style="color: #007700">(</span><span style="color: #DD0000">"ssl://"&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">HOST</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">443</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$errno</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$errstr</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">TIMEOUT</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!</span><span style="color: #0000BB">$fp</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">die(</span><span style="color: #DD0000">'cannot&nbsp;connect&nbsp;to&nbsp;this&nbsp;host'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span><span style="color: #007700">else&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Collect&nbsp;data&nbsp;submited&nbsp;from&nbsp;the&nbsp;form<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$data&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">$_SERVER&#91;</span><span style="color: #DD0000">'QUERY_STRING'</span><span style="color: #0000BB">&#93;</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;If&nbsp;you&nbsp;want&nbsp;to&nbsp;add&nbsp;some&nbsp;special&nbsp;tags&nbsp;or&nbsp;set&nbsp;the&nbsp;owner&nbsp;for&nbsp;the&nbsp;contact&nbsp;to&nbsp;a&nbsp;group&nbsp;you&nbsp;can<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;modify&nbsp;the&nbsp;user's&nbsp;input.&nbsp;You&nbsp;can&nbsp;find&nbsp;ids&nbsp;of&nbsp;groups&nbsp;and&nbsp;users&nbsp;in&nbsp;Workspace&nbsp;/&nbsp;My&nbsp;Account&nbsp;/&nbsp;API&nbsp;Reference<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;To&nbsp;enable&nbsp;this&nbsp;option,&nbsp;uncomment&nbsp;the&nbsp;following:<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;/*<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Grab&nbsp;data&nbsp;from&nbsp;query&nbsp;string<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$dataArray&nbsp;=&nbsp;array();<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parse_str($data,&nbsp;$dataArray);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Specify&nbsp;a&nbsp;different&nbsp;ownership&nbsp;i.e.&nbsp;share&nbsp;the&nbsp;item<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$dataArray&#91;'ownership'&#93;&nbsp;=&nbsp;&#123;ownership&#125;;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Add&nbsp;categories<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$dataArray&#91;'categories'&#93;&nbsp;=&nbsp;array('add'&nbsp;=&gt;&nbsp;array(&#123;categoryId&#125;,&#123;categoryId&#125;,&#123;categoryId&#125;));<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Convert&nbsp;our&nbsp;data&nbsp;array&nbsp;back&nbsp;to&nbsp;query&nbsp;string<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$data&nbsp;=&nbsp;http_build_query($dataArray);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*/<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;//&nbsp;Prepare&nbsp;request&nbsp;body<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">"POST&nbsp;/contacts/&nbsp;HTTP/1.1\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Host:&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">HOST</span><span style="color: #007700">.</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Authorization&nbsp;header<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Authorization:&nbsp;Basic&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">base64_encode</span><span style="color: #007700">(</span><span style="color: #0000BB">USER</span><span style="color: #007700">.</span><span style="color: #DD0000">":"</span><span style="color: #007700">.</span><span style="color: #0000BB">TOKEN</span><span style="color: #007700">).</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;We&nbsp;inform&nbsp;the&nbsp;server&nbsp;that&nbsp;we're&nbsp;sending&nbsp;data&nbsp;in&nbsp;form&nbsp;encoded&nbsp;format<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Content-Type:&nbsp;application/x-www-form-urlencoded\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;We&nbsp;inform&nbsp;the&nbsp;server&nbsp;theat&nbsp;we&nbsp;are&nbsp;waiting&nbsp;for&nbsp;xml&nbsp;formatted&nbsp;data&nbsp;in&nbsp;response<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Accept:&nbsp;application/xml\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Content-Length:&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">strlen</span><span style="color: #007700">(</span><span style="color: #0000BB">$data</span><span style="color: #007700">).</span><span style="color: #DD0000">"\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #DD0000">"Connection:&nbsp;close\r\n\r\n"</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$request&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #0000BB">$data</span><span style="color: #007700">;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Send&nbsp;request&nbsp;to&nbsp;the&nbsp;host<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">fwrite</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$request</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">stream_set_timeout</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">TIMEOUT</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$info&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Read&nbsp;the&nbsp;response<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$response&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #DD0000">''</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;while&nbsp;(!</span><span style="color: #0000BB">feof</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">)&nbsp;&amp;&amp;&nbsp;!</span><span style="color: #0000BB">$info&#91;</span><span style="color: #DD0000">'timed_out'</span><span style="color: #0000BB">&#93;</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$newLine&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_get_line</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">1024</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">"\n"</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$response&nbsp;</span><span style="color: #007700">.=&nbsp;</span><span style="color: #0000BB">$newLine</span><span style="color: #007700">;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(</span><span style="color: #0000BB">trim</span><span style="color: #007700">(</span><span style="color: #0000BB">$newLine</span><span style="color: #007700">)&nbsp;===&nbsp;</span><span style="color: #DD0000">'0'</span><span style="color: #007700">)&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">break;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$info&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">stream_get_meta_data</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fclose</span><span style="color: #007700">(</span><span style="color: #0000BB">$fp</span><span style="color: #007700">);<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Get&nbsp;xml&nbsp;from&nbsp;response<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">$results&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">explode</span><span style="color: #007700">(</span><span style="color: #DD0000">'&lt;?xml'</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">$response</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if&nbsp;(!empty(</span><span style="color: #0000BB">$results&#91;1&#93;</span><span style="color: #007700">))&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;$xml&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">simplexml_load_string</span><span style="color: #007700">(</span><span style="color: #DD0000">"&lt;?xml&nbsp;"</span><span style="color: #007700">.</span><span style="color: #0000BB">$results&#91;</span><span style="color: #DD0000">'1'</span><span style="color: #0000BB">&#93;</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;&nbsp;</span><span style="color: #007700">else&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #FF8000">//&nbsp;Something&nbsp;went&nbsp;wrong&nbsp;and&nbsp;we&nbsp;haven't&nbsp;got&nbsp;xml&nbsp;in&nbsp;the&nbsp;response<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">die(</span><span style="color: #DD0000">'System&nbsp;error'</span><span style="color: #007700">);<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">if&nbsp;(isset(</span><span style="color: #0000BB">$xml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">errors</span><span style="color: #007700">))&nbsp;</span><span style="color: #0000BB">&#123;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mail</span><span style="color: #007700">(</span><span style="color: #0000BB">USER</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Error&nbsp;while&nbsp;saving&nbsp;information&nbsp;to&nbsp;Solve360'</span><span style="color: #007700">,&nbsp;</span><span style="color: #DD0000">'Error:&nbsp;'&nbsp;</span><span style="color: #007700">.&nbsp;</span><span style="color: #0000BB">$xml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">errors</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">asXml</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;die&nbsp;(</span><span style="color: #0000BB">$xml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">errors</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">asXml</span><span style="color: #007700">());<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&#125;<br />?&gt;</span><span style="color: #007700">&lt;</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">head</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">meta&nbsp;http</span><span style="color: #007700">-</span><span style="color: #0000BB">equiv</span><span style="color: #007700">=</span><span style="color: #DD0000">"Content-Type"&nbsp;</span><span style="color: #0000BB">content</span><span style="color: #007700">=</span><span style="color: #DD0000">"text/html;&nbsp;charset=utf-8"&nbsp;</span><span style="color: #007700">/&gt;<br />&lt;/</span><span style="color: #0000BB">head</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">h2</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Result</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">h2</span><span style="color: #007700">&gt;<br />&lt;</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">Thank&nbsp;you</span><span style="color: #007700">,&nbsp;&lt;</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">&lt;?php&nbsp;</span><span style="color: #007700">echo&nbsp;</span><span style="color: #0000BB">$xml</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">item</span><span style="color: #007700">-&gt;</span><span style="color: #0000BB">name&nbsp;?&gt;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">b</span><span style="color: #007700">&gt;!&nbsp;</span><span style="color: #0000BB">Your&nbsp;data&nbsp;was&nbsp;successfully&nbsp;saved</span><span style="color: #007700">.<br />&lt;/</span><span style="color: #0000BB">p</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>
<p><span class="filename">http://yourServer/contactSave.php</span></p>

<p>Next, lets create a simple web form to capture the data from the website visitor.  The only change here is to set the form action="contactSave.php" attribute to the URI where you saved the file in the previous step.</p>
<div class="codeblock"><code><span style="color: #000000">
<span style="color: #007700">&lt;</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">head</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">meta&nbsp;http</span><span style="color: #007700">-</span><span style="color: #0000BB">equiv</span><span style="color: #007700">=</span><span style="color: #DD0000">"Content-Type"&nbsp;</span><span style="color: #0000BB">content</span><span style="color: #007700">=</span><span style="color: #DD0000">"text/html;&nbsp;charset=utf-8"&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">style&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text/css"</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #0000BB">label</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">input&nbsp;&#123;&nbsp;display</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">block</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">float</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">left</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">width</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">150px</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">margin</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">5px</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;label&nbsp;&#123;&nbsp;clear</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">left</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">text</span><span style="color: #007700">-</span><span style="color: #0000BB">align</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">right</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;input&#91;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"submit"</span><span style="color: #0000BB">&#93;&nbsp;&#123;&nbsp;width</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">60px</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">margin</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">10px&nbsp;0&nbsp;0&nbsp;165px</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">clear</span><span style="color: #007700">:&nbsp;</span><span style="color: #0000BB">left</span><span style="color: #007700">;&nbsp;</span><span style="color: #0000BB">&#125;<br />&nbsp;&nbsp;&nbsp;&nbsp;</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">style</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">head</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">h2</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Contact&nbsp;Us</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">h2</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">form&nbsp;action</span><span style="color: #007700">=</span><span style="color: #DD0000">"http://yourServer/contactSave.php"&nbsp;</span><span style="color: #0000BB">method</span><span style="color: #007700">=</span><span style="color: #DD0000">"GET"</span><span style="color: #007700">&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;!--&nbsp;</span><span style="color: #0000BB">Edit&nbsp;with&nbsp;the&nbsp;filename&nbsp;of&nbsp;the&nbsp;script&nbsp;</span><span style="color: #007700">if&nbsp;</span><span style="color: #0000BB">different&nbsp;than&nbsp;ours&nbsp;&nbsp;</span><span style="color: #007700">--&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">First&nbsp;name&nbsp;</span><span style="color: #007700">(</span><span style="color: #0000BB">required</span><span style="color: #007700">)&lt;/</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text"&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">=</span><span style="color: #DD0000">"firstname"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">""&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Last&nbsp;Name</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text"&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">=</span><span style="color: #DD0000">"lastname"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">""&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Job&nbsp;title</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text"&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">=</span><span style="color: #DD0000">"jobtitle"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">""&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;</span><span style="color: #0000BB">Business&nbsp;email</span><span style="color: #007700">&lt;/</span><span style="color: #0000BB">label</span><span style="color: #007700">&gt;&nbsp;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"text"&nbsp;</span><span style="color: #0000BB">name</span><span style="color: #007700">=</span><span style="color: #DD0000">"businessemail"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">""&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;</span><span style="color: #0000BB">input&nbsp;type</span><span style="color: #007700">=</span><span style="color: #DD0000">"submit"&nbsp;</span><span style="color: #0000BB">value</span><span style="color: #007700">=</span><span style="color: #DD0000">"Save"&nbsp;</span><span style="color: #007700">/&gt;<br />&nbsp;&nbsp;&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">form</span><span style="color: #007700">&gt;<br />&nbsp;&nbsp;&lt;/</span><span style="color: #0000BB">body</span><span style="color: #007700">&gt;<br />&lt;/</span><span style="color: #0000BB">html</span><span style="color: #007700">&gt;&nbsp;</span>
</span>
</code></div>
<p><span class="filename">http://yourServer/contactForm.html</span></p>

<p>Now lets test it out, open the form created in you created in the previous step in your web browser, fill in the values and click Save.  If the test worked as expected you will see a response page which would be look like:</p>

<div class="codeblock"><code><span style="color: #000000">
<span style="color: #0000BB">Thank&nbsp;you</span><span style="color: #007700">,&nbsp;</span><span style="color: #0000BB">&#123;firstName&#125;&nbsp;&#123;lastName&#125;</span><span style="color: #007700">!&nbsp;</span><span style="color: #0000BB">Your&nbsp;data&nbsp;was&nbsp;successfully&nbsp;saved</span><span style="color: #007700">.&nbsp;</span>
</span>
</code></div>

<p>If the response was "success" you just created a contact so login to Solve360 and enjoy the result of your work.  If there were any errors with the transaction, for example posting nonexistent fields to the system, you would receive information about them between <status> </status> tags in the response.</p>

<p>What's next? Try expanding on this example by adding additional fields to your form and enabling the category tags option in the ContactSave.php script above.  To help you get get going quickly lists of all Field Names, Category Tag IDs and Ownership IDs specific to your organization are provided within your account under: Workspace, My Account, API Reference.</p>

<p class="leading">Conventions used in the External API Documentation</p>
<p>Content that has been elided for brevity: ...</p>
<p>Any text that should be replaced by your own data: {text}</p>

<p class="leading">Reading Data Using the API</p>

<p>The API has two types of actions for reading data: List and Show. List returns a collection (e.g. a list of contacts) and Show returns a single record (e.g. all information related to a specific contact).  These actions are done through the GET verb, which also means that they're easily explorable through a browser.  We recommend using Firefox for this as it's renders the XML response in easy-to-read format.  The response to a successful read is "HTTP/1.1 200 OK".</p>

<p class="leading">Writing Data Using the API</p>

<p>Creating, updating, and deleting items through the API is almost as simple as reading, but you can't explore it easily through the browser.  We recommend using <a href="http://en.wikipedia.org/wiki/CURL" target="_blank">CURL</a> to evaluate the methods first.  It's a very easy way to explore the API and it's perfect for scripts too.</p>

<p>When you're creating and updating items, you'll be sending XML into the API and including the XML content in the body of your request.  If you prefer to send regular form-encoded data just let the system know that by adding the header "Content-type: application/x-www-form-urlencoded". 

<p>The response to a succesful creation is status code "HTTP/1.1 201 Created". You can read the URI of the new resource in the Location header which is handy if you need to refer to your newly created item.  Since you can create a new item with less than all its regular attributes the API also returns the complete XML for the newly created item in the response e.g. new Id and created date.</p>

<p>Updating an item is done through the PUT verb and against the URI of the resource you want to update. The response to a successful update is "HTTP/1.1 200 OK".</p>

<p>Finally, you can delete items using the DELETE verb.  Here you don't need to pass the content-type header because you're not sending any data. The response to a successful delete is "HTTP/1.1 200 OK".</p>

<p class="leading">Dealing With Errors</p>

<p>If a request fails, the error information is returned with the HTTP status code:</p>
<ul style="list-style: none;">
  <li>400 Bad Request: The request was invalid.  An accompanying error message will explain why. This is the status code will be returned during rate limiting.</li>
  <li>401 Not Authorized: Authentication credentials were missing or incorrect.</li>
  <li>403 Forbidden: The request is understood, but it has been refused.  An accompanying error message will explain why.</li>
  <li>404 Not Found: The URI requested is invalid or the resource requested, such as a contact, does not exists.</li>
  <li>406 Not Acceptable: Returned by the Search API when an invalid format is specified in the request.</li>
  <li>500 Internal Server Error: Something is broken on our end.  Please contact our support team to investigate.</li>
</ul>

<p class="leading">API Limit</p>

<p>Clients may request up to 12,000 API calls every 24 hours. Requests for more than the limit will result in a reply with a error status code of 400 and an empty result in the format requested.</p> 

]]></description>
      <dc:subject />
      <dc:date>2009-06-24T13:58:25-07:00</dc:date>
    </item>

    <item>
      <title>Recent Twitter Tweets</title>
      <link>http://norada.com/norada/entry/recent_twitter_tweets/</link>
      <guid>http://norada.com/norada/entry/recent_twitter_tweets/#When:22:55:56Z</guid>
      <description><![CDATA[<div class="twittertweets">
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote01.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote02.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
</div><div class="twittertweets">
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote13.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote12.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote11.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote03.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote04.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote05.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote06.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote16.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote14.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote07.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote08.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote09.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote10.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>
<p><img src="http://d1p8vlqvx8b65l.cloudfront.net/siteTwitterQuote15.png" alt="Twitter quote for Solve360 CRM and Project Management" /></p>

<p>&nbsp;</p></div>]]></description>
      <dc:subject />
      <dc:date>2009-05-20T22:55:56-07:00</dc:date>
    </item>

    <item>
      <title>CRM Best Practices</title>
      <link>http://norada.com/norada/entry/crm_best_practices/</link>
      <guid>http://norada.com/norada/entry/crm_best_practices/#When:15:57:45Z</guid>
      <description><![CDATA[<p>Being able to easily share the same client contact information among your employees is a great benefit, but there are many other advantages to using a centralized CRM system:</p>

<p>Pursue every potential sales opportunity</p>
<ul>
<li>Maintain daily call lists for your Sales Reps and follow their progress</li>
<li>Send email newsletters or direct mail to customers and prospects and improve targeting of marketing campaign activities by pre-qualifying prospects</li>
<li>Improve cross-selling and up-selling</li>
<li>Share detailed client history between employees and departments</li>
<li>Differentiate and stay close to your high-value customers</li>
</ul>

<p>Improve and measure staff performance across the company</p>
<ul>
<li>Keep track of all communications between your business and customers, be aware of every targeted marketing activity, question, complaint, and the complete sales history before picking up the phone</li>
<li>Anticipate customer needs based on previous experiences</li>
<li>Improve customer service responsiveness when handling customer questions or concerns</li>
<li>Reduce the cost of handling customer orders</li>
<li>Access client contact information and history on mobile devices</li>
<li>Have a secure system in place for “all corporate memory” in case of loss or theft</li>
</ul>

<p>So what’s it going to take to make CRM work?  We were taught in kindergarten that sharing is good and the same principle applies in business, at least when it comes to managing customers.  Share information between staff and departments so your team can provide feedback to each other and respond to your customers in a consistent and efficient way – your customers will notice.  Have reasonable expectations – not everyone is going to use the system in exactly the same way or to its maximum potential.  That’s still okay.  In hindsight you'll notice you are much better off with it than without it.</p><p class="leading">Getting Started with Solve360's CRM Features</p>

<p>Setup user accounts for all team members that need access.  If you need to, separate your contact database between groups of users and setup  work groups.</p>

<ol>
<li>Import contacts from your existing systems.  Our team is <a href="http://norada.com/norada/_feedback" onclick="updatepage('blogpage',this.href); return false;">standing by</a> if you need help with this.  When you import, you are given the option for the contacts to be shared by default (recommended) or private.<br><br></li>
<li>Quickly take care of any customization you need in the system, including:<br><br>
  <ul>
  <li>Add <a href="http://norada.com/norada/crm/tags_arent_just_for_prices_anymore/" onclick="updatepage('blogpage',this.href); return false;">tags to describe your contacts</a> as you work with them so contacts can be grouped into lists.  For example you could use categories such as: Lead, High Value, Qualified Prospect, Customer, Vendor, Contractor, Conference Attendee, etc.</li>
  <li>Add new fields to the forms to track unique information</li>
  <li>Remove standard fields from the forms that you don’t need<br><br><i>Don’t worry you can come back and tweak this at any time!</i></li>
  </ul>
</li>
</ol>

<p class="leading">Plan the Day-to-day CRM Routine</p>

<p>Although Solve360 allows you to work the way you see best by not imposing its own predefined processes, quite often sales revolve around the following tasks:</p>

<ul>
<li>Entering and qualifying new leads</li>
<li>Making new calls and scheduling follow-up calls</li>
<li>Creating and following-up on sales opportunities</li>
<li>Delivering on promises (tasks to be completed)</li>
</ul>

<p>Essentially the entire day-to-day process revolves around two simple concepts:</p>

<ol>
<li>Create contact records for all new leads then call on the prospect to gather information and qualify them.  For each lead select the tags that describe the status of the prospect e.g. Qualified, Hot, etc.  Record what has happened in the contact’s activity section by adding a call log, documenting requirements in notes, attaching files, adding tasks to complete, scheduling follow-up calls and <a href="http://norada.com/norada/crm/linking_email_messages_to_contacts_dropbox/" onclick="updatepage('blogpage',this.href); return false;">attaching all email correspondence to the page</a> for future reference.<br><br></li>
<li>Each day open the Activity Dashboard and review what tasks needs to be completed, meetings you need to attend and opportunities that should be followed-up on or updated.  Then return to the Contacts window, filter your active prospects by their tags and work through your list again.  Review prior conversations, call on prospects, send them helpful information and continue to qualify them.  Remember it takes <a href="http://norada.com//norada/crm/does_your_business_need_a_heart/" onclick="updatepage('blogpage',this.href); return false;">on average twelve interactions with a client to make a sale</a> so establish a simple system to ensure the work gets done and get busy.</li>
</ol>

<p class="leading">Responding to Prospects</p>

<p>When the phone rings anyone can quickly and simply open the caller’s contact page and BAM!, there they have a complete 360-degree view of the caller in front of them with the detail about all prior discussions.  They instantly continue the process with the prospect exactly where it was left off.  Just outline what needs to be done next and record the outcome of the call.  That’s personal and attentive service!</p>

<p class="leading">Tell Your Team How They Should Be Using the System to Support Your CRM Routine</p>

<ul>
<li>Explain the tags/categories you are using and why</li>
<li>Outline your lead qualification process e.g. the sequence of “helpful information” you have to send your prospects</li>
<li>Describe what should be documented (call logs, notes, tasks, future events/meetings, email correspondence, etc.</li>
</ul>
<p class="permalink">Permanent link to this page <a href="http://is.gd/pfEr" target="blank">http://is.gd/pfEr</a></p>]]></description>
      <dc:subject>For New Visitors, For Current Customers</dc:subject>
      <dc:date>2009-03-26T15:57:45-07:00</dc:date>
    </item>

    <item>
      <title>Linking to External Calendars</title>
      <link>http://norada.com/norada/entry/linking_to_external_calendars/</link>
      <guid>http://norada.com/norada/entry/linking_to_external_calendars/#When:17:43:42Z</guid>
      <description><![CDATA[<p>You can sync your Solve360 events and tasks directly to Mac’s iCal, Google Calendar, Outlook 2007 and the iPhone / iTouch.  Here are some short videos to walk you through the simple steps.</p><p style="padding-top: 20px;"><span class="leading">Activate Your Calendar Feed</span> The first step is to create your own private web address to your Solve360 calendar that the other program will use to load the items from.</p>
<div id="sitescreencastcalendarfeed">
  <p>The Adobe Flash element did not load as expected.</p>
</div>

<p style="padding-top: 20px;"><span class="leading">Mac OS X iCal</span></p>
<div id="sitescreencastcalendarmac">
  <p>The Adobe Flash element did not load as expected.</p>
</div>


<p style="padding-top: 20px;"><span class="leading">Google Calendar</span></p>
<div id="sitescreencastcalendargoogle">
  <p>The Adobe Flash element did not load as expected.</p>
</div>

<p style="padding-top: 20px;"><span class="leading">Microsoft Outlook 2007</span></p>
<div id="sitescreencastcalendaroutlook2007">
  <p>The Adobe Flash element did not load as expected.</p>
</div>

<p style="padding-top: 20px;"><span class="leading">iPhone and iPod Touch</span></p>
<div>
  <div class="externalcalendariphone">
    <ol>
      <li>Email your calendar feed address to your iPhone / iPod Touch</li>
      <li>Open the email message on the device and double-tap on the address and choose Copy (that sure is easier than typing it in!)</li>
      <li>Open the Settings Application, click Mail, Contacts, Calendars, Add Account…, Other, Add Subscribed Calendar, double-tap in the Server field and Paste in the feed address, tap Next</li>
      <li>Double-tap in the Description field, choose Select All, Cut, enter “Solve360”, scroll down to the Use SSL option and choose On.</li>
      <li>Open the calendar application and on the Calendars page, in the section called Subscribed, you will see your Solve360 Calendar</li>
    </ol>
  </div>
<div style="float: left;"><img src="http://norada.com/site/uploads/siteScreencastCalendarIphone.png" style="border: 0;" alt="image" width="380" height="520" /></div>
</div>

<p style="padding-top: 20px; clear: both;">&nbsp;</p>

<script type="text/javascript">
  swfobject.embedSWF("http://d14px97mqkhehm.cloudfront.net/flvplayer.swf?file=http://d14px97mqkhehm.cloudfront.net/siteScreencastCalendarFeed.flv&autoStart=false", "sitescreencastcalendarfeed", "564", "444", "9.0.0");
  swfobject.embedSWF("http://d14px97mqkhehm.cloudfront.net/flvplayer.swf?file=http://d14px97mqkhehm.cloudfront.net/siteScreencastCalendarMac.flv&autoStart=false", "sitescreencastcalendarmac", "564", "444", "9.0.0");
  swfobject.embedSWF("http://d14px97mqkhehm.cloudfront.net/flvplayer.swf?file=http://d14px97mqkhehm.cloudfront.net/siteScreencastCalendarGoogle.flv&autoStart=false", "sitescreencastcalendargoogle", "564", "444", "9.0.0");
  swfobject.embedSWF("http://d14px97mqkhehm.cloudfront.net/flvplayer.swf?file=http://d14px97mqkhehm.cloudfront.net/siteScreencastCalendarOutlook2007.flv&autoStart=false", "sitescreencastcalendaroutlook2007", "564", "444", "9.0.0");
</script><p class="permalink">Permanent link to this page <a href="http://is.gd/rOoO" target="blank">http://is.gd/rOoO</a></p>]]></description>
      <dc:subject>For New Visitors, For Current Customers</dc:subject>
      <dc:date>2009-03-25T17:43:42-07:00</dc:date>
    </item>

    <item>
      <title>Project Management Best Practices</title>
      <link>http://norada.com/norada/entry/project_management_best_practices/</link>
      <guid>http://norada.com/norada/entry/project_management_best_practices/#When:22:40:41Z</guid>
      <description><![CDATA[<p>Solve360 is an internet based application that helps teams plan, organize information and manage day-to-day projects according to your own company's processes and workflow.</p>

<p>Good up-front planning is essential to running a successful project, but let's be real, just because you want it to happen &ldquo;this way&rdquo; isn’t going to make it so.  Requirements change, issues pop-up and people respond in unexpected ways.  The secret to a successful project is managing the daily project activities.  This is where most traditional tools like Microsoft Project let you down and where Solve360 becomes essential.  Projects don’t fail all of a sudden; they succeed or fail one day at a time and hinge on your team’s ability to continually synchronize information, communicate and manage changes like a smooth running machine.</p>
<p>Projects that require new designs or outcomes often follow a general overarching plan but approach the actual work in small phases or &ldquo;sprints&rdquo;.  The details of the next phase are uncertain until the current one is finished and outcome reviewed by the client.  This gives the team the flexibility to respond to what was learned and refine the approach for the next phase.  The benefit of this type of agile approach is that it ensures the final result will meet the client’s real needs; not just what was anticipated when the project was first contemplated.</p>

<p>As a determined organizer lets say your project manager has mapped out every detail from start to finish and has a complex system fully configured the way they want.  They’ve started to rally the troops around their plan but the team is feeling a bit overwhelmed and confused.  A intricately detailed software system or project plan might look impressive, but it’s unlikely to help your team keep their promises with clients or reach their potential.  Multi-tasking, multi-tracks and matrices are just going to confuse people and waste time.  Project Managers may need to map things out like that for their own purposes they shouldn't overwhelm and confuse the team with too many details at once.  <b>All team and client facing activity is more effective if presented in a simple, flat, sequential list with the prior phases removed, current phase detailed and future phases generalized.</b></p> 

<p style="text-align: center; font-weight: 700; font-size: 15px;">Enter Solve360</p>

<p>Although Solve360 allows you to work the way you see best by not imposing its own predefined processes, we’d like to share a typical example of how the system is used to organize a project.</p>

<p>Start by creating a new &ldquo;Project Blog&rdquo; for each client project then link the page back to the Contact or Company page using the Related-to field.  Use tags to group project blogs for future reference in ways that make sense to your business e.g. Active, Manufacture, Maintenance, Sponsored, Design, etc.</p>

<p style="text-align: center; font-weight: 700; font-size: 15px;">Outline the story</p>

<p>In the activities area of the project blog create a task-list for each phase of the project.  A task-list will represent a deliverable or &ldquo;outcome&rdquo; the team and client can identify with and rally around; a convenient break point to re-evaluate and refine future phases and tasks.  A date can be enabled on the task-list which sets a milestone date for phase completion.  The milestone date should be seen as a road-sign and not necessarily something each person manages to.  Team members should be primarily focused on their individually assigned task’s due date.</p>

<p style="text-align: center; font-weight: 700; font-size: 15px;">Break each phase down to manageable tasks</p>

<p>Break down each phase of the project into manageable tasks within its corresponding task-list.  For the current phase assign each task to a person and set a due date only if it is required i.e. don’t add noise unless it provides value.  Tasks for future phases are not normally assigned until you’re about to start that phase.  This keeps the next actions list uncluttered and presents achievable goals.  It also keeps team members focused and motivated on the work in hand and defers decisions to a time when you have more information in-hand.</p>

<p style="text-align: center; font-weight: 700; font-size: 15px;">From the top, then move to the next</p>

<p>Drag-and-drop tasks to order them in a logical way within each task-list; most often by priority or sequence of dependency.  Add hints to the task title to queue or coordinate the relationship between tasks.  Complex tasks can have multiple parts or steps by adding points in the task detail (a great way to compress multiple highly related tasks to simplify the overall plan). Color labels can be added to individual tasks to imply different tracks, themes or priorities.</p>

<p>Supporting notes, files etc are added below each task-list to provide detailed specifications in context with the work to be completed.</p>

<p>Essentially you are writing a story on the project blog that communicates and coordinates the sequence of the project and the related resources needed to complete the work.  Making the story clear, interesting and achievable will translate into getting more work done with less meetings, less phone calls and fewer email messages.  Less overhead lets more work get done.  Reorder items; add notes and section breaks to organize everything on the page in a logical way that makes sense to your team.</p>

<p style="text-align: center; font-weight: 700; font-size: 15px;">Everyone gets their own slice</p>

<p>Team members manage their work queues primarily from the Activity Dashboard window’s Next Actions screen.  From here everything that is required of them across all projects is listed.  To improve coordination of tasks, team member can create an RSS feed for each project and subscribe to it with a desktop RSS reader so changes are pushed to them as they happen instead of needing to check the individual project blog pages for updates.</p>

<p>Enable the &ldquo;Hide from Publish and RSS views&rdquo; option for any activities that are for your team’s eyes only then publish the project blog page to your client so they can follow the process, co-work with you providing comments, filling in gaps, completing their own tasks, and generally see for themselves that you have a solid ongoing process to manage their business.  Simple and continuous progress updates are a great way to keep your clients happy.</p>

<p style="text-align: center; font-weight: 700; font-size: 15px;">Keep it moving</p>

<p>It's important for the Project Manager to track the transition from phase to phase, keeping everybody’s queue full.  As the team progresses through their tasks, older information will become less important and new information and tasks will take focus.  Keep moving items around the page to maintain a simple view about what is currently expected and planned.  For example, after a phase is complete, delete the task-list or move it to the bottom of the page.  What has happened is not nearly as important as to what needs to happen next.  Reduce the prior clutter and noise; keep timely information front-of-mind.</p>

<p>Keep the team focused on the current phase of achievable tasks and avoid overwhelming them with 100 different tasks at once (some which may end up changing anyway!).</p>

<p>Solve360 prevents low-value micromanaging by allowing team members to mark updates of their part of the project work in a shared collaborative environment.  This gives the Project Manager an up-to-date picture of where the team and the project stand.  The top-down value comes in when the Project Manager aligns and guides those activities from phase-to-phase.  Solve360 lets you gain harmony between top-down and bottom-up management styles by replacing communication with coordination.</p><p class="permalink">Permanent link to this page <a href="http://is.gd/pfEV" target="blank">http://is.gd/pfEV</a></p>]]></description>
      <dc:subject>For New Visitors, For Current Customers</dc:subject>
      <dc:date>2009-03-24T22:40:41-07:00</dc:date>
    </item>

    <item>
      <title>The CRM &amp;ldquo;Money Bar&amp;rdquo;</title>
      <link>http://norada.com/norada/entry/the_crm_money_bar/</link>
      <guid>http://norada.com/norada/entry/the_crm_money_bar/#When:01:15:36Z</guid>
      <description><![CDATA[<p><i>I recently had a call with Adrian Sanders, co-founder of a <a href="http://www.halfslant.com" target="_blank">Halfslant</a>, a contemporary art consultancy for alternative spaces and events.  He put up some great questions, the type that only someone with street smarts and experience working with a lot of software products would know to ask.  After the call he circled back and asked &ldquo;where can I send feedback to warn the others&rdquo;.  I suggested a post on our blog; here is the latest email as it arrived.</i></p>

<p><span class="leading">March 11, 2009</span> It's safe to say that my business starts and ends in Solve360. From the moment in the morning I check my daily activity list to the last review before I call it a day, Solve is where I go to make sure I'm on track.</p> 

<p>And basically, once I know what I've got lined up for the day, <b>my world revolves around the contextual search bar, or as I like to call it, The Money Bar</b>. It has proven to be one of the most important parts of my workflow in Solve. And though I've long since lost <a href="http://xkcd.com/149/" target="_blank">my ability to read human syntax</a> on computer systems, the layout is a simple, efficient solution that any tech novice will understand.</p><p>Under contacts, you can of course search by tags, or filter by stars etc. but the ability to look at &ldquo;having open tasks due in the next 7 days&rdquo;, &ldquo; having open overdue tasks&rdquo; and &ldquo;having open unassigned tasks&rdquo; is quite possibly the most brilliant set of filters ever. I don't want to flip through calendars, todo lists, and projects because I've already done that - I've set everything up already. Isn't that the point of CRMs and PMs: that I don't have to keep rifling through information to get stuff done? I just want to see what I need to deal with now. In Solve, you can use the &ldquo;show next actions assigned to&rdquo; filter in Activities to get similar results, but sometimes it's best to start with a contact oriented task list.</p>

<p>This sort of filter is crucial for an expanding small business. <b>The last thing a manager (or owner) wants to confront is the overstuffed inbox, or even worse, the 5,000 contacts that can't be prioritized correctly (I'm looking at you Outlook 2007).</b> Solve's result box gives you the list of contacts that match your criteria, as well when they were last updated, their job title and who they work for. Using a filter like "having open tasks due today" is going to show your only these contacts. Seems obvious - but the perk here is that you now have overview at who you're going to be dealing with today.</p>

<p>The quick view in the results bar is like a mental prep. You can adjust your day accordingly, knowing that the meeting with Gary is going to spill over, and that you absolutely need to get the proposal to Robert by the end of the day.  We all know there isn't enough time in the day to do everything but you can prioritize and do what needs to be done. If you business is client and contact focused, this type of contact to-do list helps you keep your relations with people strong. So maybe today Gary's meeting gets bumped back, and you devote more time to deliver for Robert. Solve's search filter and result bar are going to get you thinking about these things right away.</p>

<p>Additional filter results like &ldquo;untouched in the last 30 days&rdquo; or &ldquo;not viewed in the last 30 days&rdquo; are valuable ways to remind yourself of cold leads, low priority projects, or even important things that have slipped through the cracks. The contextual search bar can quickly give you a comprehensive look at your data and where you are at with each project and contact. Using "untouched in the last 30 days," you can easily review what projects and contacts need to be re-prioritized, and which ones can be put on hold, shelved or deleted (hopefully this will become dquo;archived&rdquo;).</p>

<p>This is important because no contact or project is ever truly a lost cause. Maybe they don't need your service, or maybe the project won't pan out for you - but here you'll have an archive of why, or possibly a foundation to create a new project with those clients, or use the old project for new clients.</p>

<p>As your database grows, so too does the complexity of digging through it. Solve's contextual search bar allows you to have the types of tools you need, be it shovel, jackhammer or pick axe to get you what you need.</p>
]]></description>
      <dc:subject>For New Visitors, For Current Customers</dc:subject>
      <dc:date>2009-03-12T01:15:36-07:00</dc:date>
    </item>

    
    </channel>
</rss>
