Yodlee MFA网站流量

时间:2015-02-06 20:17:22

标签: refresh yodlee

有关MFA流程的yodlee文档有点模糊/过时。

我按照此流程图刷新了MFA网站:http://developer.yodlee.com/Aggregation_API/Aggregation_Services_Guide/API_Flow/Refresh_Site_Account

在流程图中,在调用getMFAResponseForSite之后,我们应该检查响应中是否有errorCode字段,我在the documentation of the getMFAResponseForSite method中没有看到这样的字段。因为没有此错误代码字段,我们无法返回常规流程并等待刷新完成。

retryisMessageAvailable之间有什么区别?

文档指定调用stopSiteRefresh方法,我在流程中没有看到它,我调用它听起来很奇怪,但文档说:

Note that this is one of the APIs that is required to refresh MFA accounts.

当我必须处理MFA网站时,有人能给我一个明确的流程吗?我们何时以及如何回到常规流程(getSiteRefreshInfo)并等待刷新结束?提前谢谢。

1 个答案:

答案 0 :(得分:1)

“errorCode”字段仅在没有可用的MFA问题时出现,因此您没有在API文档的示例中看到它,因为示例包含带有MFA问题的响应。

如果你仔细地遵循流程,你会发现你必须在循环中调用getMFAResponseForSite并检查errorCode。因此,请按照API流程文档中的说明调用API。

以下是成功回答MFA问题后出现errorCode字段的示例。

  

{     “isMessageAvailable”:是的,     “fieldInfo”:{       “questionAndAnswerValues”:[],       “numOfMandatoryQuestions”: - 1,       “mfaFieldInfoType”:“SECURITY_QUESTION”     },     “timeOutTime”:97690,     “itemId”:0,     “errorCode”:0,     “memSiteAccId”:xxxxxxxxxx,     “重试”:错误   }

还请忽略stopSiteRefresh API调用,我们将纠正API参考文档,因为在getMFAResponseForSite API的情况下不应该进行API调用。