0

我无法获得特定功能(如 listPhone 或 getConferenceBridge)的全部结果,因为它需要通过 searchCriteria 提供特定搜索。

除了直接查询数据库之外,任何人都可以提出解决方案吗?

service.listPhone() ## gives error, because it's missing the filters.

附上getPhone的文档截图

架构参考:架构参考文档

4

1 回答 1

1

搜索条件元素的值被评估为 SQL LIKE 语句,这意味着您可以使用通配符,例如 '%' 表示“匹配任何内容”:

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listPhone>
         <searchCriteria>
            <name>%</name>
         </searchCriteria>
         <returnedTags>
            <name/>
            <description/>
            <product/>
            <model/>
         </returnedTags>
      </ns:listPhone>
   </soapenv:Body>
</soapenv:Envelope>

CUCM 在后台使用 Informix DB:https ://www.ibm.com/support/knowledgecenter/en/SSGU8G_12.1.0/com.ibm.sqls.doc/ids_sqs_1388.htm

请注意,在执行这样的“检索所有”请求时要小心,因为您可能会在大型集群上返回大量数据集。AXL 数据集大小限制可能会起作用:https ://developer.cisco.com/docs/axl/#!axl-developer-guide/data-throttling-and-performance

于 2019-08-29T19:44:00.523 回答