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

{"Ticket":[{"EscalationResponseTime":0,"Queue":"Proxy","Priority":"3 normal",
"RealTillTimeNotUsed":0,"TicketID":273955,"OwnerID":3,"StateID":4,"StateType":"open",
"ArchiveFlag":"n","LockID":1,"Lock":"unlock","PriorityID":3,"QueueID":13,"EscalationTime":0,
"CustomerUserID":"mfleisch","Owner":"hildeb","Type":"default",
"TicketNumber":"2019021810000883","Changed":"2019-02-21 
14:28:59","ChangeBy":1,"SLAID":"",
"EscalationUpdateTime":0,"EscalationSolutionTime":0,"UnlockTimeout":1550755739,"Age":610639,
"Responsible":"root","Title":"python/pyinstaller","CreateBy":1,"UntilTime":0,"ServiceID":"",
"CreateTimeUnix":1550498200,"GroupID":1,"Created":"2019-02-18 
14:56:40","State":"open",
"ResponsibleID":1,"TypeID":1,"CustomerID":"[email protected]"}]}

-- 
Ralf Hildebrandt                   Charite Universitätsmedizin Berlin
[email protected]        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

Reply via email to