<?xml version="1.0" encoding="UTF-8"?>
<posts>
  <post>
    <body>http://com.lullar.com is a way to search people profile by email</body>
    <body-html>&lt;p&gt;&lt;a href="http://com.lullar.com"&gt;http://com.lullar.com&lt;/a&gt; is a way to search people profile by email&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-11-21T23:08:52Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">37016</id>
    <topic-id type="integer">6110</topic-id>
    <updated-at type="datetime">2009-11-21T23:08:52Z</updated-at>
    <user-id type="integer">22706</user-id>
  </post>
  <post>
    <body>mine won't show up. Does it take time for that option to propagate after I upgrade to a paid account?</body>
    <body-html>&lt;p&gt;mine won&amp;#8217;t show up. Does it take time for that option to propagate after I upgrade to a paid account?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-09-21T08:24:16Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">35708</id>
    <topic-id type="integer">11396</topic-id>
    <updated-at type="datetime">2009-09-21T08:24:16Z</updated-at>
    <user-id type="integer">16162</user-id>
  </post>
  <post>
    <body>At long last tags has an officially supported API: 

http://developer.37signals.com/highrise/tags.shtml

Thanks 37 Signals, this will really accelerate development and adoption of HR among our client base.</body>
    <body-html>&lt;p&gt;At long last tags has an officially supported &lt;span class="caps"&gt;API&lt;/span&gt;:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://developer.37signals.com/highrise/tags.shtml"&gt;http://developer.37signals.com/highrise/tags.shtml&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks 37 Signals, this will really accelerate development and adoption of HR among our client base.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-08-17T21:16:19Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">35060</id>
    <topic-id type="integer">1312</topic-id>
    <updated-at type="datetime">2009-08-17T21:16:19Z</updated-at>
    <user-id type="integer">6020</user-id>
  </post>
  <post>
    <body>After long efforts, i found below solution.

If you want to delete any email or phone number or any other field, create same XML as in CONTACT UPDATE &amp; put minus sign infront of its respectable Id..

for e.g

&lt;email-address&gt;
&lt;id&gt;-9999&lt;/id&gt;
&lt;location&gt;Home&lt;/location&gt;
&lt;address&gt;d2_parekh@yahoo.co.in&lt;/address&gt;
&lt;/email-address&gt;
&lt;email-address&gt;
&lt;id&gt;1111&lt;/id&gt;
&lt;location&gt;Work&lt;/location&gt;
&lt;address&gt;devang@devang.co.in&lt;/address&gt;
&lt;/email-address&gt;


in above example, i have put negative sign with ID=9999.. So, email Address d2_parekh@yahoo.co.in will be deleted when you try to update that contact.</body>
    <body-html>&lt;p&gt;After long efforts, i found below solution.&lt;/p&gt;
&lt;p&gt;If you want to delete any email or phone number or any other field, create same &lt;span class="caps"&gt;XML&lt;/span&gt; as in &lt;span class="caps"&gt;CONTACT&lt;/span&gt; &lt;span class="caps"&gt;UPDATE&lt;/span&gt; &amp;amp; put minus sign infront of its respectable Id..&lt;/p&gt;
&lt;p&gt;for e.g&lt;/p&gt;
&amp;lt;email-address&gt;
&amp;lt;id&gt;-9999&amp;lt;/id&gt;
&amp;lt;location&gt;Home&amp;lt;/location&gt;
&lt;address&gt;&lt;a href="mailto:d2_parekh@yahoo.co.in"&gt;d2_parekh@yahoo.co.in&lt;/a&gt;&lt;/address&gt;
&amp;lt;/email-address&gt;
&amp;lt;email-address&gt;
&amp;lt;id&gt;1111&amp;lt;/id&gt;
&amp;lt;location&gt;Work&amp;lt;/location&gt;
&lt;address&gt;&lt;a href="mailto:devang@devang.co.in"&gt;devang@devang.co.in&lt;/a&gt;&lt;/address&gt;
&amp;lt;/email-address&gt;
&lt;p&gt;in above example, i have put negative sign with ID=9999.. So, email Address &lt;a href="mailto:d2_parekh@yahoo.co.in"&gt;d2_parekh@yahoo.co.in&lt;/a&gt; will be deleted when you try to update that contact.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-08-03T09:18:10Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34755</id>
    <topic-id type="integer">4693</topic-id>
    <updated-at type="datetime">2009-08-03T09:18:10Z</updated-at>
    <user-id type="integer">16631</user-id>
  </post>
  <post>
    <body>I have solution for that.... 

Contact me at *d2_parekh@yahoo.co.in*</body>
    <body-html>&lt;p&gt;I have solution for that&amp;#8230;.&lt;/p&gt;
&lt;p&gt;Contact me at &lt;strong&gt;&lt;a href="mailto:d2_parekh@yahoo.co.in"&gt;d2_parekh@yahoo.co.in&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-29T07:58:07Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34647</id>
    <topic-id type="integer">4693</topic-id>
    <updated-at type="datetime">2009-07-29T07:58:59Z</updated-at>
    <user-id type="integer">16631</user-id>
  </post>
  <post>
    <body>Figured I'd throw our solution into the mix as well.  We developed an easy-to-install script that runs on your own website and creates a new Highrise contact using the data from the form.  You can have as many questions/fields on your web form as you like, anything that we can't match to a Highrise field using the API we simply consolidate into the first "note" for that contact.

More info and a video demo is here:
"http://www.stringtwo.com/products/downloadable/webform-to-highrise":http://www.stringtwo.com/products/downloadable/webform-to-highrise</body>
    <body-html>&lt;p&gt;Figured I&amp;#8217;d throw our solution into the mix as well.  We developed an easy-to-install script that runs on your own website and creates a new Highrise contact using the data from the form.  You can have as many questions/fields on your web form as you like, anything that we can&amp;#8217;t match to a Highrise field using the &lt;span class="caps"&gt;API&lt;/span&gt; we simply consolidate into the first &amp;#8220;note&amp;#8221; for that contact.&lt;/p&gt;
&lt;p&gt;More info and a video demo is here:&lt;br /&gt;
&lt;a href="http://www.stringtwo.com/products/downloadable/webform-to-highrise"&gt;http://www.stringtwo.com/products/downloadable/webform-to-highrise&lt;/a&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-28T18:39:48Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34630</id>
    <topic-id type="integer">9258</topic-id>
    <updated-at type="datetime">2009-07-28T18:39:48Z</updated-at>
    <user-id type="integer">16561</user-id>
  </post>
  <post>
    <body>This report lets you track deals with recent activity: http://www.youcalc.com/apps/1246284164102

It answers simple questions like:
- "What happened last week" on our deals
- "Which deals are we working on right now?"
- etc.

The app tracks all activities on a deal including new notes, completed tasks and updates to the deal description.
It also lists top 20 deals by activity level, during a selected date range. This means that you can track deals activity during any date range.

Try the app here on your own Highise data: http://www.youcalc.com/apps/1246284164102

Rasmus
www.youcalc.com</body>
    <body-html>&lt;p&gt;This report lets you track deals with recent activity: &lt;a href="http://www.youcalc.com/apps/1246284164102"&gt;http://www.youcalc.com/apps/1246284164102&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It answers simple questions like:&lt;br /&gt;
- &amp;#8220;What happened last week&amp;#8221; on our deals&lt;br /&gt;
- &amp;#8220;Which deals are we working on right now?&amp;#8221;&lt;br /&gt;
- etc.&lt;/p&gt;
&lt;p&gt;The app tracks all activities on a deal including new notes, completed tasks and updates to the deal description.&lt;br /&gt;
It also lists top 20 deals by activity level, during a selected date range. This means that you can track deals activity during any date range.&lt;/p&gt;
&lt;p&gt;Try the app here on your own Highise data: &lt;a href="http://www.youcalc.com/apps/1246284164102"&gt;http://www.youcalc.com/apps/1246284164102&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Rasmus&lt;br /&gt;
&lt;a href="http://www.youcalc.com"&gt;www.youcalc.com&lt;/a&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-27T12:26:26Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34597</id>
    <topic-id type="integer">11126</topic-id>
    <updated-at type="datetime">2009-07-27T12:26:26Z</updated-at>
    <user-id type="integer">13988</user-id>
  </post>
  <post>
    <body>as mentioned in an other topic: http://forum.37signals.com/highrise/forums/15/topics/11686 my setup had a simple mistake...

so in case of updating a person I do 
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_HTTPHEADER, Array($contentType));
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT"); 
curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_USERPWD, $this-&gt;token);    

where $url and $contentType as $this-&gt;token should be clear, $request_body is the xml file for a person as specified in the API documentation.</body>
    <body-html>&lt;p&gt;as mentioned in an other topic: &lt;a href="http://forum.37signals.com/highrise/forums/15/topics/11686"&gt;http://forum.37signals.com/highrise/forums/15/topics/11686&lt;/a&gt; my setup had a simple mistake&amp;#8230;&lt;/p&gt;
&lt;p&gt;so in case of updating a person I do &lt;br /&gt;
$ch = curl_init();&lt;br /&gt;
curl_setopt($ch, CURLOPT_URL, $url);&lt;br /&gt;
curl_setopt($ch, CURLOPT_HTTPHEADER, Array($contentType));&lt;br /&gt;
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, &amp;#8220;&lt;span class="caps"&gt;PUT&lt;/span&gt;&amp;#8221;); &lt;br /&gt;
curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body);&lt;br /&gt;
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);&lt;br /&gt;
curl_setopt($ch, CURLOPT_USERPWD, $this&amp;#8594;token);&lt;/p&gt;
&lt;p&gt;where $url and $contentType as $this&amp;#8594;token should be clear, $request_body is the xml file for a person as specified in the &lt;span class="caps"&gt;API&lt;/span&gt; documentation.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-22T01:50:13Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34481</id>
    <topic-id type="integer">11609</topic-id>
    <updated-at type="datetime">2009-07-22T01:50:13Z</updated-at>
    <user-id type="integer">16447</user-id>
  </post>
  <post>
    <body>Sorry Jamis not Jason ;)

see too: http://forum.37signals.com/highrise/forums/15/topics/11609</body>
    <body-html>&lt;p&gt;Sorry Jamis not Jason ;)&lt;/p&gt;
&lt;p&gt;see too: &lt;a href="http://forum.37signals.com/highrise/forums/15/topics/11609"&gt;http://forum.37signals.com/highrise/forums/15/topics/11609&lt;/a&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-22T01:45:07Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34480</id>
    <topic-id type="integer">11686</topic-id>
    <updated-at type="datetime">2009-07-22T01:45:07Z</updated-at>
    <user-id type="integer">16447</user-id>
  </post>
  <post>
    <body>I emailed a bug report which got answered by jason. up on his reply I looked into my code again and found out it's a very simple mistake on my side:

curl_setopt($ch, CURLOPT_PUT, 1);  
will lead to a 404 error

curl_setopt($ch, CURLOPT_CUSTOMREQUEST, "PUT");
works just fine.</body>
    <body-html>&lt;p&gt;I emailed a bug report which got answered by jason. up on his reply I looked into my code again and found out it&amp;#8217;s a very simple mistake on my side:&lt;/p&gt;
&lt;p&gt;curl_setopt($ch, CURLOPT_PUT, 1);  &lt;br /&gt;
will lead to a 404 error&lt;/p&gt;
&lt;p&gt;curl_setopt($ch, CURLOPT_CUSTOMREQUEST, &amp;#8220;&lt;span class="caps"&gt;PUT&lt;/span&gt;&amp;#8221;);&lt;br /&gt;
works just fine.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-22T01:43:54Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34479</id>
    <topic-id type="integer">11686</topic-id>
    <updated-at type="datetime">2009-07-22T01:43:54Z</updated-at>
    <user-id type="integer">16447</user-id>
  </post>
  <post>
    <body>Thanks. Please do.</body>
    <body-html>&lt;p&gt;Thanks. Please do.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-21T08:05:08Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34450</id>
    <topic-id type="integer">11609</topic-id>
    <updated-at type="datetime">2009-07-21T08:05:08Z</updated-at>
    <user-id type="integer">13656</user-id>
  </post>
  <post>
    <body>found that using &lt;owner-id type="integer"&gt;12345&lt;/owner-id&gt; works</body>
    <body-html>&lt;p&gt;found that using &amp;lt;owner-id type="integer"&gt;12345&amp;lt;/owner-id&gt; works&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-16T19:09:25Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34374</id>
    <topic-id type="integer">11738</topic-id>
    <updated-at type="datetime">2009-07-16T19:09:25Z</updated-at>
    <user-id type="integer">16534</user-id>
  </post>
  <post>
    <body>Anyone know what the XML looks like for creating a new task for a user OTHER THAN myself? seems like the XML on http://developer.37signals.com/highrise/tasks.shtml is not complete</body>
    <body-html>&lt;p&gt;Anyone know what the &lt;span class="caps"&gt;XML&lt;/span&gt; looks like for creating a new task for a user &lt;span class="caps"&gt;OTHER&lt;/span&gt; &lt;span class="caps"&gt;THAN&lt;/span&gt; myself? seems like the &lt;span class="caps"&gt;XML&lt;/span&gt; on &lt;a href="http://developer.37signals.com/highrise/tasks.shtml"&gt;http://developer.37signals.com/highrise/tasks.shtml&lt;/a&gt; is not complete&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-16T19:08:46Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34373</id>
    <topic-id type="integer">11738</topic-id>
    <updated-at type="datetime">2009-07-16T19:08:46Z</updated-at>
    <user-id type="integer">16534</user-id>
  </post>
  <post>
    <body>I believe the authentication is HTTP Basic.  So in your http header you would have something like this:
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==

the QWxhZGRpbjpvcGVuIHNlc2FtZQ== part would come from doing a Base64 encode of &lt;your token&gt; + ":X"</body>
    <body-html>&lt;p&gt;I believe the authentication is &lt;span class="caps"&gt;HTTP&lt;/span&gt; Basic.  So in your http header you would have something like this:&lt;br /&gt;
Authorization: Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==&lt;/p&gt;
&lt;p&gt;the QWxhZGRpbjpvcGVuIHNlc2FtZQ== part would come from doing a Base64 encode of &amp;lt;your token&gt; + &amp;#8220;:X&amp;#8221;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-15T23:14:40Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34347</id>
    <topic-id type="integer">11364</topic-id>
    <updated-at type="datetime">2009-07-15T23:14:40Z</updated-at>
    <user-id type="integer">16500</user-id>
  </post>
  <post>
    <body>Is there a timeframe for which the Deals API will be implemented?  We have a need to determine the next assigned task on a deal as well as the last updated note/email/comment.  From what I can tell there is no way to do this in the API or through the app without someone clicking through each Deal.  Please help as my sales force is wanting to switch products to something that can accomplish some simple reporting.</body>
    <body-html>&lt;p&gt;Is there a timeframe for which the Deals &lt;span class="caps"&gt;API&lt;/span&gt; will be implemented?  We have a need to determine the next assigned task on a deal as well as the last updated note/email/comment.  From what I can tell there is no way to do this in the &lt;span class="caps"&gt;API&lt;/span&gt; or through the app without someone clicking through each Deal.  Please help as my sales force is wanting to switch products to something that can accomplish some simple reporting.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-14T21:08:07Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34308</id>
    <topic-id type="integer">11714</topic-id>
    <updated-at type="datetime">2009-07-14T21:08:07Z</updated-at>
    <user-id type="integer">16500</user-id>
  </post>
  <post>
    <body>Whether I PUT or POST I receive a 404 over https. This with CURL in PHP or simple in a Browser.

When I GET the same URL I get a clean XML as expected...

Creation pf people works fine.</body>
    <body-html>&lt;p&gt;Whether I &lt;span class="caps"&gt;PUT&lt;/span&gt; or &lt;span class="caps"&gt;POST&lt;/span&gt; I receive a 404 over https. This with &lt;span class="caps"&gt;CURL&lt;/span&gt; in &lt;span class="caps"&gt;PHP&lt;/span&gt; or simple in a Browser.&lt;/p&gt;
&lt;p&gt;When I &lt;span class="caps"&gt;GET&lt;/span&gt; the same &lt;span class="caps"&gt;URL&lt;/span&gt; I get a clean &lt;span class="caps"&gt;XML&lt;/span&gt; as expected&amp;#8230;&lt;/p&gt;
&lt;p&gt;Creation pf people works fine.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-11T15:15:15Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34219</id>
    <topic-id type="integer">11686</topic-id>
    <updated-at type="datetime">2009-07-11T15:15:15Z</updated-at>
    <user-id type="integer">16447</user-id>
  </post>
  <post>
    <body>We're trying to write an application which uses the API to create tasks in Highrise and I'm confused about setting the "Who's responsible" user.

The task update call will let you set the owner id of the task, which is all very well. However, unless the authenticating user is an admin then it is not possible to get a list of all the users for the account, so it is not possible to populate a dropdown list with the user names in our application.

Strangely, given a user id, I can make the GET /users/#{id}.xml call even if I am not an admin, despite what it says in the documentation.

Am I missing something here?</body>
    <body-html>&lt;p&gt;We&amp;#8217;re trying to write an application which uses the &lt;span class="caps"&gt;API&lt;/span&gt; to create tasks in Highrise and I&amp;#8217;m confused about setting the &amp;#8220;Who&amp;#8217;s responsible&amp;#8221; user.&lt;/p&gt;
&lt;p&gt;The task update call will let you set the owner id of the task, which is all very well. However, unless the authenticating user is an admin then it is not possible to get a list of all the users for the account, so it is not possible to populate a dropdown list with the user names in our application.&lt;/p&gt;
&lt;p&gt;Strangely, given a user id, I can make the &lt;span class="caps"&gt;GET&lt;/span&gt; /users/#{id}.xml call even if I am not an admin, despite what it says in the documentation.&lt;/p&gt;
&lt;p&gt;Am I missing something here?&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-10T16:41:11Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34197</id>
    <topic-id type="integer">11682</topic-id>
    <updated-at type="datetime">2009-07-10T16:41:11Z</updated-at>
    <user-id type="integer">16448</user-id>
  </post>
  <post>
    <body>unfortunately I'm stuck at the exact same point. I'll keep you updated if I can solve the problem...</body>
    <body-html>&lt;p&gt;unfortunately I&amp;#8217;m stuck at the exact same point. I&amp;#8217;ll keep you updated if I can solve the problem&amp;#8230;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-10T16:24:00Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34196</id>
    <topic-id type="integer">11609</topic-id>
    <updated-at type="datetime">2009-07-10T16:24:00Z</updated-at>
    <user-id type="integer">16447</user-id>
  </post>
  <post>
    <body>If you find this, please let me know.  I'm frustrated and there doesn't seem to be a solution.</body>
    <body-html>&lt;p&gt;If you find this, please let me know.  I&amp;#8217;m frustrated and there doesn&amp;#8217;t seem to be a solution.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-10T02:37:55Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34181</id>
    <topic-id type="integer">10721</topic-id>
    <updated-at type="datetime">2009-07-10T02:37:55Z</updated-at>
    <user-id type="integer">16439</user-id>
  </post>
  <post>
    <body>Hi,

We have a Highrise integration on behalf of our users at Harvest (http://getharvest.com). Upon user request, we will gather information about all of her account's Highrise companies along with each person for the company. We do this with a background script that is throttled down to stay within the Highrise API's throttle limits.

We have found a large Highrise account that will error randomly as we attempt to gather people for the given company. It errors randomly in that it happens with random companies, no rhyme or reason. Once the error occurs, I manually run a request against the Highrise API for the URL of form /companies/#{company_id}/people.xml and the request always succeeds. I can run our script a second time and the error will occur on a different company later in the execution. On one (out of four) executions, I've gotten the script to complete in its entirety, error free.

I logged the error from ActiveResource, and the API's response is also unusual. The body of the response implies a 500 error, but the response code is 200. Anyway, here is the request and response, logged from ActiveResource:

http://pastie.org/private/1cfvkta8dgbdnsj8h5m8fg


--
Barry Hess
http://getharvest.com</body>
    <body-html>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We have a Highrise integration on behalf of our users at Harvest (&lt;a href="http://getharvest.com"&gt;http://getharvest.com&lt;/a&gt;). Upon user request, we will gather information about all of her account&amp;#8217;s Highrise companies along with each person for the company. We do this with a background script that is throttled down to stay within the Highrise API&amp;#8217;s throttle limits.&lt;/p&gt;
&lt;p&gt;We have found a large Highrise account that will error randomly as we attempt to gather people for the given company. It errors randomly in that it happens with random companies, no rhyme or reason. Once the error occurs, I manually run a request against the Highrise &lt;span class="caps"&gt;API&lt;/span&gt; for the &lt;span class="caps"&gt;URL&lt;/span&gt; of form /companies/#{company_id}/people.xml and the request always succeeds. I can run our script a second time and the error will occur on a different company later in the execution. On one (out of four) executions, I&amp;#8217;ve gotten the script to complete in its entirety, error free.&lt;/p&gt;
&lt;p&gt;I logged the error from ActiveResource, and the API&amp;#8217;s response is also unusual. The body of the response implies a 500 error, but the response code is 200. Anyway, here is the request and response, logged from ActiveResource:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://pastie.org/private/1cfvkta8dgbdnsj8h5m8fg"&gt;http://pastie.org/private/1cfvkta8dgbdnsj8h5m8fg&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;#8212;&lt;br /&gt;
Barry Hess&lt;br /&gt;
&lt;a href="http://getharvest.com"&gt;http://getharvest.com&lt;/a&gt;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-07T15:33:14Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34116</id>
    <topic-id type="integer">11652</topic-id>
    <updated-at type="datetime">2009-07-07T15:33:14Z</updated-at>
    <user-id type="integer">16400</user-id>
  </post>
  <post>
    <body>Oki this code works : 

function http_auth_post($url, $username, $password, $data) {

	$cred = sprintf('Authorization: Basic %s', base64_encode("$username:$password"))."\r\n";
	$cred.= 'Content-Type: application/xml'."\r\n";
	
	$opts = array(
		'http'=&gt;array(
				'method'  =&gt; 'POST',
				'header'  =&gt; $cred,
				'content' =&gt; $data));

	$ctx = stream_context_create($opts);

	$handle = fopen ($url, 'r', false, $ctx);
	
	return stream_get_contents($handle);
}

But an HTML code is returned, the same as page : 'https://yourname.highrisehq.com/people/#{new_id}'</body>
    <body-html>&lt;p&gt;Oki this code works :&lt;/p&gt;
&lt;p&gt;function http_auth_post($url, $username, $password, $data) {&lt;/p&gt;
&lt;p&gt;$cred = sprintf(&amp;#8216;Authorization: Basic %s&amp;#8217;, base64_encode(&amp;#8220;$username:$password&amp;#8221;)).&amp;#8220;\r\n&amp;#8221;;&lt;br /&gt;
	$cred.= &amp;#8216;Content-Type: application/xml&amp;#8217;.&amp;#8220;\r\n&amp;#8221;;&lt;br /&gt;
	&lt;br /&gt;
	$opts = array(&lt;br /&gt;
		&amp;#8216;http&amp;#8217;=&amp;gt;array(&lt;br /&gt;
				&amp;#8216;method&amp;#8217;  =&amp;gt; &amp;#8216;&lt;span class="caps"&gt;POST&lt;/span&gt;&amp;#8217;,&lt;br /&gt;
				&amp;#8216;header&amp;#8217;  =&amp;gt; $cred,&lt;br /&gt;
				&amp;#8216;content&amp;#8217; =&amp;gt; $data));&lt;/p&gt;
&lt;p&gt;$ctx = stream_context_create($opts);&lt;/p&gt;
&lt;p&gt;$handle = fopen ($url, &amp;#8216;r&amp;#8217;, false, $ctx);&lt;br /&gt;
	&lt;br /&gt;
	return stream_get_contents($handle);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;But an &lt;span class="caps"&gt;HTML&lt;/span&gt; code is returned, the same as page : &amp;#8216;https://yourname.highrisehq.com/people/#{new_id}&amp;#8217;&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-03T10:27:34Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">34006</id>
    <topic-id type="integer">11476</topic-id>
    <updated-at type="datetime">2009-07-03T10:28:06Z</updated-at>
    <user-id type="integer">16119</user-id>
  </post>
  <post>
    <body>Hi Inka,
Could you be able to share the code? I am also stuck at the same point!</body>
    <body-html>&lt;p&gt;Hi Inka,&lt;br /&gt;
Could you be able to share the code? I am also stuck at the same point!&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-02T08:35:49Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">33976</id>
    <topic-id type="integer">9406</topic-id>
    <updated-at type="datetime">2009-07-02T08:35:49Z</updated-at>
    <user-id type="integer">16276</user-id>
  </post>
  <post>
    <body>Can someone provide a simple example as to how you would use the PUT method (or whatever method works) for updating a person's info via PHP. I've got creating working, but for some reason it won't update. Any example is very appreciated.</body>
    <body-html>&lt;p&gt;Can someone provide a simple example as to how you would use the &lt;span class="caps"&gt;PUT&lt;/span&gt; method (or whatever method works) for updating a person&amp;#8217;s info via &lt;span class="caps"&gt;PHP&lt;/span&gt;. I&amp;#8217;ve got creating working, but for some reason it won&amp;#8217;t update. Any example is very appreciated.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-07-02T03:31:36Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">33974</id>
    <topic-id type="integer">11609</topic-id>
    <updated-at type="datetime">2009-07-02T03:31:36Z</updated-at>
    <user-id type="integer">13656</user-id>
  </post>
  <post>
    <body>Hi
I am using highrise.rb(http://developer.37signals.com/highrise/highrise.rb) and need to create a person with contact-data as email and phone, 
I am able to add the details for first-name, last-name, email and company by the code :
Highrise::Person.create('first-name'=&gt;c.first_name,'last-name'=&gt;c.last_name,'title'=&gt;c.title,'company-name'=&gt;c.company) 

could you please let me know how I can add contact-data(through code)</body>
    <body-html>&lt;p&gt;Hi&lt;br /&gt;
I am using highrise.rb(&lt;a href="http://developer.37signals.com/highrise/highrise.rb"&gt;http://developer.37signals.com/highrise/highrise.rb&lt;/a&gt;) and need to create a person with contact-data as email and phone, &lt;br /&gt;
I am able to add the details for first-name, last-name, email and company by the code :&lt;br /&gt;
Highrise::Person.create(&amp;#8216;first-name&amp;#8217;=&amp;gt;c.first_name,&amp;#8216;last-name&amp;#8217;=&amp;gt;c.last_name,&amp;#8216;title&amp;#8217;=&amp;gt;c.title,&amp;#8216;company-name&amp;#8217;=&amp;gt;c.company)&lt;/p&gt;
&lt;p&gt;could you please let me know how I can add contact-data(through code)&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-30T14:26:07Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">33887</id>
    <topic-id type="integer">11583</topic-id>
    <updated-at type="datetime">2009-06-30T14:26:07Z</updated-at>
    <user-id type="integer">16276</user-id>
  </post>
  <post>
    <body>Hi all,

Iam a newbie and i intend to allow users to import their highrise contacts from the application iam developing. The application aims to get the url of the user for their highrise account like
http://user.highrisehq.com and get their username and password to fetch the contacts information from highrise account.

Iam on WinXp environment and have downloaded the ActiveResource and Ruby Wrapper for Highrise.

I have also gone through  http://developer.37signals.com/highrise/ but cudn't understand certain points.

These are the points which are unclear for me

1) Where should the SITE variable be intialised in the application? And how to deal with the problem of users having their own SITE value as i can hardcode it in the code with my account.

2) How will the authentication token be used for authentication of the users highrise account if we are taking only their account url, username and password to connect to the highrise.

3) How do i basically go about using the API using the highrise wrapper class.

Having this as the problem statement can anyone please guide me how to start about doing it. It will be a great help.

Thanks and Regards,
Nisha.</body>
    <body-html>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;Iam a newbie and i intend to allow users to import their highrise contacts from the application iam developing. The application aims to get the url of the user for their highrise account like&lt;br /&gt;
&lt;a href="http://user.highrisehq.com"&gt;http://user.highrisehq.com&lt;/a&gt; and get their username and password to fetch the contacts information from highrise account.&lt;/p&gt;
&lt;p&gt;Iam on WinXp environment and have downloaded the ActiveResource and Ruby Wrapper for Highrise.&lt;/p&gt;
&lt;p&gt;I have also gone through  &lt;a href="http://developer.37signals.com/highrise/"&gt;http://developer.37signals.com/highrise/&lt;/a&gt; but cudn&amp;#8217;t understand certain points.&lt;/p&gt;
&lt;p&gt;These are the points which are unclear for me&lt;/p&gt;
&lt;p&gt;1) Where should the &lt;span class="caps"&gt;SITE&lt;/span&gt; variable be intialised in the application? And how to deal with the problem of users having their own &lt;span class="caps"&gt;SITE&lt;/span&gt; value as i can hardcode it in the code with my account.&lt;/p&gt;
&lt;p&gt;2) How will the authentication token be used for authentication of the users highrise account if we are taking only their account url, username and password to connect to the highrise.&lt;/p&gt;
&lt;p&gt;3) How do i basically go about using the &lt;span class="caps"&gt;API&lt;/span&gt; using the highrise wrapper class.&lt;/p&gt;
&lt;p&gt;Having this as the problem statement can anyone please guide me how to start about doing it. It will be a great help.&lt;/p&gt;
&lt;p&gt;Thanks and Regards,&lt;br /&gt;
Nisha.&lt;/p&gt;</body-html>
    <created-at type="datetime">2009-06-27T02:28:03Z</created-at>
    <forum-id type="integer">15</forum-id>
    <id type="integer">33793</id>
    <topic-id type="integer">11557</topic-id>
    <updated-at type="datetime">2009-06-27T02:28:03Z</updated-at>
    <user-id type="integer">16239</user-id>
  </post>
</posts>
