2016-09-17 3 views
0

日付範囲内で返された請求書エントリを削除しようとしていますが、invoiceTotalAmountがゼロではありません。私は、URLを使用しています:複数の条件でobjectFilterを使用する

https://api.softlayer.com/rest/v3/SoftLayer_Account/getInvoices.json?resultLimit=0,200&objectMask=mask[createDate,closedDate,typeCode,statusCode,invoiceTotalAmount,invoiceTopLevelItems[id,description,hostName,domainName,totalRecurringAmount,totalOneTimeAmount,parentId,categoryCode,billingItemId,billingItem[id,cancellationDate,createDate,hourlyFlag,lastBillDate,cancellationReason,orderItemId,orderItem[id,order[id,userRecord[username]]]]]]&objectFilter={"invoices":{"invoiceTotalAmount":{"operation":"!=0"},"createDate":{"operation":"betweenDate","options":[{"name":"startDate","value":["7/29/2016 0:0:0"]},{"name":"endDate","value":["7/30/2016 23:59:59"]}]}}} 

私が返さ取得しています:コンテンツと

RC 500 MSG "Internal Server Error" を "{" エラー ":" あなたの要求を処理中にエラーが発生しました。 。「」コード後ほどもう一度やり直してください「:」SoftLayer_Exception_Public "}」

は、複数のobjectFilters仕様に何か問題があるの

おかげ

答えて

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チケットをオープンすることをお勧め

。 0
関連する問題