After getting support we added a XML API client (clientid=1 code =TEST) to our document upload code. When we did this ProcessDocument did not return an error page which is a small step forward. However documents are still not uploaded to Ticket documents. I have tried a number of combinations with tid and folderid
writeTo(out, "--" + boundary + "\r\n");
writeParam("clientId", "1", out);
writeParam("code", "TEST", out); // unset
writeParam("systemId", "4", out);
writeParam("type", "ticket", out);
writeParam("subject", "Testing msword", out);
writeParam("tid", "1", out); // tid 50 =110 503=1
writeParam("enteredBy", "2", out);
writeParam("folderId", "6", out); // 50 = 317 503=1 or 4
writeFile("/.........../Example-thunderverse.doc", out, "application/msword", "Example.doc");
when we remove clientid we get the standard error page html see below. This is how I know that the clientid bit is sort of working.
.. img src="images/error.gif" border="0" align="absmiddle" ..
.. font color='red .... dhv:label name="errors.anErrorHasOccured"... An Error Has Occurred ....
Jol (cusa)