[otrs] OTRS Api functions

8 views
Skip to first unread message

Stefan Priebe - Profihost AG

unread,
Jun 13, 2012, 6:55:10 AM6/13/12
to ot...@otrs.org
Hello list,

right now we're using OTRS 2.4 and we do a lot of stuff directly with
the otrs DB. As this is not the right way i want to change this while
migrating to OTRS 3.1.

I started to use the nph-genericinterface but i struggled upon the
following questions / problems:
1.) Your example perl Script uses this code:
# create a SOAP::Lite data structure from the provided XML data structure.
my $SOAPData = SOAP::Data
->type( 'xml' => $XMLData );

Sadly in this case the XMLData has already to be correctly encoded and
so on? How to create the correct XML structure from a hash without
caring about correct encoding? (& => & ...)

2.) I need the following functions but it seems that they don't exist:
- get ticket time for cust no. $custno from $startdate to $enddate

3.) Get internal OTRS ticket id for ticket no to create the correct
direct URL to a specific ticket.

Greets and thanks
Stefan
---------------------------------------------------------------------
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
Reply all
Reply to author
Forward
0 new messages