Yodlee API 对我来说是新的......
我正在尝试通过使用Yodlee REST API
in获取用户帐户交易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.clientId
and是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");
提前致谢。