Has anyone used the soap API to search for tickets? I am attempting to
use this method to search for tickets in my otrs system (2.3.4) and I am
having trouble determining what the minimum search requirements are.

Here is my search request, please let me know if there are items that I
am missing as I always return no items found from the query.

my @TicketID = $RPC->Dispatch($user, $passwd,
'TicketObject','TicketSearch',
                        Result => 'ARRAY',
                        Limit => 100,
                        StateType => 'Open',
                        Queues   => ['Raw'],
                        TicketNumber => '2009082142%',
        );
        
        print "RPC: Searching ticket and found ticketID:
".scalar(@TicketID)."\n";

Eric Partington | Security Monitoring and Compliance | Royal Bank of
Canada |T: 416-348-4429


_______________________________________________________________________

This e-mail may be privileged and/or confidential, and the sender does not 
waive any related rights and obligations.
Any distribution, use or copying of this e-mail or the information it contains 
by other than an intended recipient is unauthorized.
If you received this e-mail in error, please advise me (by return e-mail or 
otherwise) immediately.  

Ce courrier électronique est confidentiel et protégé. L'expéditeur ne renonce 
pas aux droits et obligations qui s'y rapportent.
Toute diffusion, utilisation ou copie de ce message ou des renseignements qu'il 
contient par une personne autre que le (les) destinataire(s) désigné(s) est 
interdite.
Si vous recevez ce courrier électronique par erreur, veuillez m'en aviser 
immédiatement, par retour de courrier électronique ou par un autre moyen.
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/

Reply via email to