we're running happily the api calls for ticketcreate. now we also would like to close the ticket via an api call.
I do get the impression that we've to do this via the webservices and then the TicketUpdate. We're doing a ticketupdate with state closed and the ticketnumumber included, but keep getting a message back that the ticketid or ticketnumber is missing. Please see snapshot below from the debugger of the webservice I can't see what's wrong (as the ticketnumbver is included). Any help is appreciated: snapshot: Received data by provider from remote system (2013-08-30 21:35:36, debug) root@localhost otrsXXXXXXXX closed 2013083010269 <http://10.50.240.8/otrs/index.pl#> Detected operation 'TicketUpdate' (2013-08-30 21:35:36, debug) No data provided <http://10.50.240.8/otrs/index.pl#> Incoming data before mapping (2013-08-30 21:35:36, debug) $VAR1 = { 'Article' => '', 'Password' => 'otrsXXXXXXXXXX', 'Ticket' => { 'State' => 'closed', 'TicketNumber' => '2013083010269' }, 'UserLogin' => 'root@localhost' }; <http://10.50.240.8/otrs/index.pl#> TicketUpdate.MissingParameter (2013-08-30 21:35:36, error) TicketUpdate: TicketID or TicketNumber is required! <http://10.50.240.8/otrs/index.pl#> Outgoing data before mapping (2013-08-30 21:35:36, debug) $VAR1 = { 'Error' => { 'ErrorCode' => 'TicketUpdate.MissingParameter', 'ErrorMessage' => 'TicketUpdate: TicketID or TicketNumber is required!' } }; <http://10.50.240.8/otrs/index.pl#> Returning provider data to remote system (HTTP Code: 200) (2013-08-30 21:35:36, debug) TicketUpdate.MissingParameter
--------------------------------------------------------------------- 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