I am looking to create a project via the xml api. There is an example of what the xml should look like in the api documentation but despite numerous attempts I keep receiving Bad Request 400 with some sql stuffed in the header.
From looking at what the php api is doing it looks like I should create an xml structure like this
<data> <item> <project_category_id>General</project_category_id> <manager_id>Help Desk</manager_id> <client_id>Data Conversion Laboratory</client_id> <summary>Project Test</summary> <plan_start>2014-11-30T08:00:00</plan_start> <deadline>2014-12-10T17:00:00</deadline> </item> </data>
and pass it with the login token to the api via a post.
I have tried
1. Passing the token as a url param and the xml as the body of the post
2. Passing the token and the data as form post parameters (token=<token>&data=<data>
3. Trying 2 with data tags removed from the post parameters.
I am about 1/2 a step away from setting up a php curl instance just to capture what the requests look like so if anyone has gotten anything but the query functions working some help would be appreciated.