【问题标题】:Where is the Article AccountedTime Set function in Otrs soap api?Otrs soap api中的Article AccountedTime Set函数在哪里?
【发布时间】:2014-09-26 13:05:25
【问题描述】:

我想通过肥皂 api 创建 otrs 文章(特定票证)。我还需要设置创建的otrs文章的计费时间。

在 api 文档中,我发现只有删除或获取计算时间的函数。 我错过了什么吗?这不可能是真的,对吧?

http://otrs.github.io/doc/api/otrs/stable/Kernel/System/Ticket/Article.pm.html

我正在使用 Java soap 客户端和 otrs 版本 3.1 - 3.3。

也许有人也知道如何通过 OTRS 的其余 api 做到这一点?

【问题讨论】:

    标签: java web-services api soap otrs


    【解决方案1】:

    在大量检查文档后,我找到了正确的 Api 函数。

    它在 Kernel::System::Ticket:

        TicketAccountTime() account time to a ticket.
    
        my $Success = $TicketObject->TicketAccountTime(
            TicketID  => 1234,
            ArticleID => 23542,
            TimeUnit  => '4.5',
            UserID    => 1,
        );
    

    http://otrs.github.io/doc/api/otrs/stable/Kernel/System/Ticket.pm.html

    我觉得这个函数不在 Kernel::System::Ticket::Article 模块中有点令人困惑。

    【讨论】:

      【解决方案2】:

      请注意,SOAP API 将在后续版本中被删除。尝试改用通用接口。

      问候

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 1970-01-01
        • 2015-02-17
        • 2016-11-12
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多