2013-10-29 33 views
0

Yodlee公司API是新的對我的任何一個...得到錯誤「[**] transactionSearchFilter不能爲空或無效的值

我想通過在C#使用Yodlee REST API來獲取用戶帳戶交易。
我用executeUserSearchRequest方法來獲取用戶的第一頁的交易我所提及的executeUserSearchRequest

我通過了所有的用戶輸入,但我得到以下錯誤:。 {"errorOccured":"true","exceptionType":"com.yodlee.core.IllegalArgumentValueException","refrenceCode":"_e651f98b-41c7-48b5-8754-1690a0a23282","message":"Invalid argument value: Any one of userInput of transactionSearchRequest or transacionamount or transactionAmountRange of transactionSearchFilter cannot be NULL OR Invalid Values"}

ç任何一個告訴我什麼是transactionSearchRequest.searchClients.clientIdtransactionSearchRequest.searchClients.clientName

請幫我解決問題... 請參考下面的代碼。

var request = new RestRequest("/jsonsdk/TransactionSearchService/executeUserSearchRequest", Method.POST); 
request.AddParameter("cobSessionToken", param.CobrandToken); 
request.AddParameter("userSessionToken", param.UserToken); 
request.AddParameter("transactionSearchRequest.containerType", "All"); 
request.AddParameter("transactionSearchRequest.resultRange.endNumber", "5"); 
request.AddParameter("transactionSearchRequest.resultRange.startNumber", "1"); 
request.AddParameter("transactionSearchRequest.searchClients.clientId", "1"); 
request.AddParameter("transactionSearchRequest.searchClients.clientName", "DataSearchService"); 
request.AddParameter("transactionSearchRequest.searchFilter.transactionSplitType", "ALL_TRANSACTION"); 
request.AddParameter("transactionSearchRequest.searchFilter.ignoreUserInput", "True"); 

在此先感謝。

+0

的JAVA DOC幫我因爲我找到了https://developer.yodlee.com/Indy_FinApp/Aggregation_Services_Guide/REST_API_Reference/executeUserSearchRequest文檔頁面中未提及的/ jsonsdk /。所以感謝user2930766 ...你有工作嗎?如果是這樣,也許你可能能夠引導我做你做的事情?謝謝 –

回答

0

沒有必要添加下面的參數 transactionSearchRequest.searchClients.clientId和transactionSearchRequest.searchClients.clientName

而且 請添加更多的參數作爲 request.AddParameter(「transactionSearchRequest.userInput」,「」 );請求中的 ,然後請再試一次。

也請參閱Yodlee公司的示例應用程序,並澄清

JAVA DOC鏈接

COM/Yodlee公司/ SOAP /核心/ transactionsearch/transactionsearchservice/TransactionSearchService.html

+0

Shreyans,任何你可以修復該鏈接的機會,以便我們可以閱讀文檔 –

相關問題