【发布时间】:2014-06-11 10:22:10
【问题描述】:
在 OTRS 3.2 服务器中通过 SOAP 通用接口与 php 和 java 访问票证及其文章信息没有问题。但在 xml 响应中,我没有关于文件附件的信息。
首先,根据这个 API 文档 (http://otrs.github.io/doc/api/otrs/3.2/Kernel/GenericInterface/Operation/Ticket/TicketGet.pm.html),我使用 TicketGet 函数并将参数 DynamicFields、Extended、AllArticles 和 Attachments 设置为 1 来获取票证,但我没有得到任何关于文章的信息。
接下来,根据这个API(http://otrs.github.io/doc/api/otrs/3.2/Kernel/System/Ticket/Article.pm.html),我用函数ArticleIndex来获取Id的票文章,然后ArticleGet获取带有附件的文章。我得到带有消息正文的文章信息,但响应中没有附件。
函数调用有问题?也许我缺少一些参数。 或者可能存在错误的 OTRS 配置。在 Admin->System config->Framework and Ticket options 中有很多东西需要改变。
谢谢
【问题讨论】:
标签: xml web-services soap otrs