[freeside-commits] freeside/fs_selfservice/java freeside_create_ticket_example.java, 1.1.2.2, 1.1.2.3
Ivan,,,
ivan at wavetail.420.am
Fri Feb 12 11:28:01 PST 2010
Update of /home/cvs/cvsroot/freeside/fs_selfservice/java
In directory wavetail.420.am:/tmp/cvs-serv13889/fs_selfservice/java
Modified Files:
Tag: FREESIDE_1_9_BRANCH
freeside_create_ticket_example.java
Log Message:
backport queue option, RT#7007
Index: freeside_create_ticket_example.java
===================================================================
RCS file: /home/cvs/cvsroot/freeside/fs_selfservice/java/freeside_create_ticket_example.java,v
retrieving revision 1.1.2.2
retrieving revision 1.1.2.3
diff -u -d -r1.1.2.2 -r1.1.2.3
--- freeside_create_ticket_example.java 12 Feb 2010 01:37:53 -0000 1.1.2.2
+++ freeside_create_ticket_example.java 12 Feb 2010 19:27:59 -0000 1.1.2.3
@@ -37,6 +37,10 @@
Vector ticket_params = new Vector();
ticket_params.addElement( "session_id" );
ticket_params.addElement( sessionId );
+ ticket_params.addElement( "queue" );
+ ticket_params.addElements( 3 ); // otherwise defaults to
+ // ticket_system-selfservice_queueid
+ // or ticket_system-default_queueid
ticket_params.addElement( "requestor" ); // these
ticket_params.addElement( "email at example.com" ); // are
ticket_params.addElement( "cc" ); // optional
@@ -44,7 +48,7 @@
ticket_params.addElement( "subject" );
ticket_params.addElement( "Houston, we have a problem." );
ticket_params.addElement( "message" );
- ticket_params.addElement( "The Oscillation Overthurster has gone out of alignment!\n\nIt needs to be fixed immediately!" );
+ ticket_params.addElement( "The Oscillation Overthurster has gone out of alignment!\n\nIt needs to be fixed immediately! http://linktest.freeside.biz/hi" );
HashMap ticket_result = client.execute( "create_ticket", ticket_params);
More information about the freeside-commits
mailing list