PDA

View Full Version : Creating tickets programmatically


robnapier
04-28-2008, 07:33 PM
I am working on a website that needs to submit cases through a form, particularly for customers who have no email available (which is common in this environment). We are currently doing this by sending email from the web page, and then querying the database repeatedly until the case shows up so we can present the tracking number. Unfortunately, this can take 10-20 seconds to process and is fragile. We'd like to bypass the email input, while keeping this solution as clean and upgradable as possible. So I'd prefer to use some supported functionality rather than writing directly into the database if possible.

What are my options here? I've been trying to read the developer documentation, but it is still quite thin, and the webapi appears to be only for reporting.

From digging in the code, what I want seems possible through CerberusMail::compose(). It is really this simple?

Hildy
04-29-2008, 10:27 PM
I'm not sure exactly when you last took a look at the web api docs... they're continually updating, and the parser doc update was late last week: http://wiki.cerberusdemo.com/index.php/Parser_%28Web-API%29

I think that's exactly what you're looking for.

robnapier
04-30-2008, 02:52 PM
I think that's exactly what you're looking for.

Yes, I think it exactly is. Thanks; this is extremely timely.

-Rob