I am trying to connect from my company server to the Business Catalyst site using the API to download the contacts from the CRM on a regular basis. I followed the instructions on at http://kb.worldsecuresystems.com/850/bc_850.html?bc-partner (Using web services to connect your site to an external customer database) and think I've almost got it, but when I post the request, it returns the following: ERROR: A server error has occurred.
I am using the following code:
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="utf-8"?>
<siteId>MySiteID from my Dashboard</siteId>
I am submitting the request using Microsoft Msxml2.XMLHTTP.3.0 object in ASP. I know the code for submitting works with other web services, so I think there is something I'm missing when submitting this to Business Catalyst.
Please provide any feedback or suggestions you might have so I can get this working.
You are posting to the wrong URL, post to your website's URL.... https://<YOURWEBSITE>.worldsecuresystems.com
Also what do you date formats look like? You need to send them in the correct format BC wants which is like this 1980-01-01T00:00:00
You also *might* have to start from record 1, can't remember if BC starts at 0 or 1