通过 SOAP 调用从 ORN 获取外展活动数据

问题描述 投票:0回答:1

我通过 SOAP API使用 Oracle RightNow

使用

QueryCSV
选项,我可以获取很多信息(例如:有关事件
SELECT * FROM Incident WHERE ...
),但我不知道如何获取有关 外展活动的信息。

我在RightNow论坛上看到我可以从

ma_trans
表中获取此类信息,但我不知道如何从该表中选择数据。

外展活动选项卡应显示 ma_trans 表中的数据

我尝试了不同的方法,但总是得到这样的回复:

要求:

SELECT * FROM ma_trans

回应:

...
    <n0:RequestErrorFault xmlns:n0="urn:faults.ws.rightnow.com/v1_3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <n0:exceptionCode>INVALID_REQUEST</n0:exceptionCode>
       <n0:exceptionMessage>no such table: ma_trans</n0:exceptionMessage>
    </n0:RequestErrorFault>
...

要求:

SELECT Contact.ma_trans FROM Contact

回应:

...
    <n0:RequestErrorFault xmlns:n0="urn:faults.ws.rightnow.com/v1_3" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
       <n0:exceptionCode>INVALID_REQUEST</n0:exceptionCode>
       <n0:exceptionMessage>Non-existent column: 'ma_trans'</n0:exceptionMessage>
    </n0:RequestErrorFault>
...

如何获取有关外展活动的信息以及如何从此

ma_trans
表获取数据?

soap rightnow-crm
1个回答
0
投票

ma_trans
表不通过 Connect 对象模型或 ROQL 公开。
transactions
通过 ROQL 以及其他一些“托管表”公开,您可以在公开连接 API(即 PHP、SOAP、REST 等 API)的服务的任何文档中查看它们。

您可以通过创建报表来查询所需的数据来获取此数据,然后使用 runAnalyticsReport 方法从报表中获取数据。但是,由于

ma_trans
可能包含大量数据,因此请确保正确过滤您的报告,以免超出运行时间或数据阈值限制。

© www.soinside.com 2019 - 2024. All rights reserved.