Recent Posts by jfoxny

Mar 27, 2008
Avatar jfoxny 2 posts

Topic: Highrise API / Do company names have to be unique in Highrise?

Adding a company with the same name as an existing company through the API appears to have no effect.

  1. Do company names have to be unique in Highrise?
  2. What is the expected behavior be when you try to add the second company? Does it update the existing company?
  3. What response code is returned? 200 or 201 or something else?

The API documentation does not seem to address this.

 
Mar 27, 2008
Avatar jfoxny 2 posts

Topic: Highrise API / Can you set a company's website address via the API?

I tried creating a new company by posting the following to Highrise and it appears to ignore the web-addresses. Is this not supported through the API?

body = " 
    <company>
      <name>#{company[:name]}</name>
      <background>#{company[:description]}</background>
      <contact-data>
        <web-addresses>
          <web-address>
            <id type=\"integer\">1</id>
            <location>Work</location>
            <url>#{company[:url]}</url>
          </web-address>
        </web-addresses>
      </contact-data>
    </company>
"