我正在尝试删除在日期范围内返回的发票条目,并且invoiceTotalAmount不为零。我正在使用URL:
<? // scInit.php
define("SC_ROOT", dirname( __FILE__ ) ."/" );
define("SC_PREFIX", "sc");
define("SC_EXTENSION", ".php");
spl_autoload_register(
function ($namespace) {
$parts=explode('\\', $namespace);
$class_name= end($parts); /// break namespaces and take last part as class name.
$fileDirectory = array("model", "view", "controller", "admin", "registry"); // Directories to look for the class file
foreach ($fileDirectory as $directory) {
$classFileName = SC_ROOT .$directory."/". SC_PREFIX . $class_name . SC_EXTENSION;
if (file_exists($classFileName)) {
include_once($classFileName);
}
}
});
我回来了:
RC 500 msg&#34;内部服务器错误&#34;内容&#34; {&#34;错误&#34;:&#34;处理您的请求时出错。请稍后再试。&#34;,&#34;代码&#34;:&#34; SoftLayer_Exception_Public&#34;}&#39;
多个objectFilters规范有什么问题吗?
由于
答案 0 :(得分:0)
我可以在过滤invoiceTotalAmount
:
https://api.softlayer.com/rest/v3/SoftLayer_Account/getInvoices?resultLimit=0,50&objectMask=mask[id,createDate,invoiceTotalAmount]&objectFilter={ "invoices": { "invoiceTotalAmount": { "operation": "!=0" } } }
过滤器似乎不适用于relational property
。我建议为这个问题打开SL票。