Submitting test tickets

0 views
Skip to first unread message

Ian Bicking

unread,
Jun 23, 2009, 7:27:36 PM6/23/09
to OCTO...@googlegroups.com
Is there a way to test submitting tickets (with the submit method)?  It's easy to read stuff safely, but I don't want to submit things accidentally.

What's up with the temporary token?  I assume if you want to track a request you would use that temporary token with getFromToken to get a request ID, then use get to get information on the request.  But why the indirection instead of returning a request ID?

Dmitry Kachaev (OCTO)

unread,
Jun 23, 2009, 7:35:09 PM6/23/09
to OCTO...@googlegroups.com
Yes (partially).

Workflow is following:
get meta_ methods to get info about possible types of SR (service
requests) and what mandatory/optional fields you should to submit for
them
use this information to compile info about SR and submit it to submit
method, you will get temp token
use temp token to call getFromToken method until you get servicerequestid
use serviserequestid to call get method and get status of your submitted ticket

The whole hoopla with temp token is due to latency in "EAI" on the
backend. We can't submit tickets real-time directly into production
backend and get servicerequestid right away. Essentially underlying
backend is asynchronuous.

Right now system returns same token and then same servicerequestid all
the time. Just for emulation purposes.

-Dmitry

Dmitry Kachaev, Director of R&D
Office of the CTO, DC Government

voice: (202) 527-9423
mail: dmitry....@dc.gov
location: One Judiciary Square, 1010S
schedule: http://links.dc.gov/dk-freebusy
Reply all
Reply to author
Forward
0 new messages