0

Yodlee API 对我来说是新的......

我正在尝试通过使用Yodlee REST APIin获取用户帐户交易C#
我使用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.clientIdand是transactionSearchRequest.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");

提前致谢。

4

1 回答 1

0

无需添加以下参数 transactionSearchRequest.searchClients.clientId 和 transactionSearchRequest.searchClients.clientName

另外请添加一个参数作为 request.AddParameter("transactionSearchRequest.userInput", ""); 在请求中,然后请再试一次。

另请参阅 Yodlee 的示例应用程序和 JAVA 文档以进行澄清

JAVA文档链接

com/yodlee/soap/core/transactionsearch/transactionsearchservice/TransactionSearchService.html

于 2013-10-29T14:06:27.397 回答