Hi Michiel,

thx for the response.

Yes this makes sense, and now it's working.

wkr
rene



On Mon, Sep 2, 2013 at 9:22 AM, Michiel Beijen <michiel.bei...@otrs.com>wrote:

> Hi Rene,
>
> the Ticket Number should be on the same level as the username and
> password, i.e:
>
> <TicketUpdate>
>     <UserLogin>foo</UserLogin>
>     <Password>secret</Password>
>     <TicketNumber>2013083010269</TicketNumber>
>     <OTRS_TicketUpdate_Ticket>
>         <State>closed</State>
>         ....
>     </OTRS_TicketUpdate_Ticket>
> </TicketUpdate>
>
> See also the WSDL for more detail:
>
> https://github.com/OTRS/otrs/blob/rel-3_2/development/webservices/GenericTicketConnector.wsdl
>
> Michiel Beijen
> Senior Developer
>
> OTRS BV
> Schipholweg 103
> 2316 XC Leiden
> The Netherlands
>
> T: +31 71 8200 255
> I: http://www.otrs.com
>
> OTRS 3.2 - More than a Help Desk System – Process and Customer
> Management – Be an early bird with our special offer -
> http://j.mp/11TFPSr
>
>
> On Fri, Aug 30, 2013 at 9:44 PM, Rene Stoutjesdijk
> <r.stoutjesd...@gmail.com> wrote:
> > 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
> >
> >
> >
> >
> >
> >
> > Detected operation 'TicketUpdate' (2013-08-30 21:35:36, debug)
> >
> > No data provided
> >
> > Incoming data before mapping (2013-08-30 21:35:36, debug)
> >
> > $VAR1 = {
> >   'Article' => '',
> >   'Password' => 'otrsXXXXXXXXXX',
> >   'Ticket' => {
> >     'State' => 'closed',
> >     'TicketNumber' => '2013083010269'
> >   },
> >   'UserLogin' => 'root@localhost'
> > };
> >
> > TicketUpdate.MissingParameter (2013-08-30 21:35:36, error)
> >
> > TicketUpdate: TicketID or TicketNumber is required!
> >
> > Outgoing data before mapping (2013-08-30 21:35:36, debug)
> >
> > $VAR1 = {
> >   'Error' => {
> >     'ErrorCode' => 'TicketUpdate.MissingParameter',
> >     'ErrorMessage' => 'TicketUpdate: TicketID or TicketNumber is
> required!'
> >   }
> > };
> >
> > 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
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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 via email to