* Ralf Hildebrandt <ralf.hildebra...@charite.de>: > I defined a webservice to access tickets via the API. While this seems > to work, I'm having problems accessing the attachments in a ticket: > > % curl -X POST --data '{"Data": [{"Attachments": "1"}]}' \ > > https://otrs.charite.de/otrs/nph-genericinterface.pl/Webservice/TicketContent/TicketGet/273955?UserLogin=user\&Password=secret\&Attachments=1
In the end: % curl https://otrs.charite.de/otrs/nph-genericinterface.pl/Webservice/TicketContent/TicketGet/274500?UserLogin=user\&Password=secret\&AllArticles=1\&Attachments=1 Obviously I'm too dumb to properly set the required parameters using POST. -- Ralf Hildebrandt Charite Universitätsmedizin Berlin ralf.hildebra...@charite.de Campus Benjamin Franklin https://www.charite.de Hindenburgdamm 30, 12203 Berlin Geschäftsbereich IT, Abt. Netzwerk fon: +49-30-450.570.155 --------------------------------------------------------------------- OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/mailman/listinfo/otrs