添加帐户以更新凭据后无法获取登录表单

时间:2014-04-04 16:17:58

标签: yodlee

我正在使用其余的api。检索站点的登录表单后,我输入了错误的登录信息。我现在需要回去纠正错误。起初我尝试调用GetSiteLoginForm,因为用户已经与该站点相关联,所以不允许这样做。然后我尝试使用有效的cobSessionToken和& siteFilter.reqSpecfier = 16& siteFilter.siteId = 643来使用SiteTraversal / getSiteInfo。

我得到的回应是:

{"普及":0,"网站ID":643," ORGID":520," defaultDisplayName":" Chase(US)"," defaultOrgDisplayName":" Chase Manhattan Bank"," contentServiceInfos":[{" contentServiceId":663 "网站ID":643," CONTAINERINFO" {"容器名称":"银行"" assetType":1 }},{" contentServiceId":10441"网站ID":643," CONTAINERINFO" {"容器名称":" bill_payment& #34;" assetType":0}},{" contentServiceId":3163,"网站ID":643," CONTAINERINFO":{ "容器名称":"学分"" assetType":2}},{" contentServiceId":3483,"网站ID&#34 ;:643," CONTAINERINFO" {"容器名称":"股"" assetType":1}},{" contentServiceId":7100,"网站ID":643," CONTAINERINFO" {"容器名称":"贷款"" assetType":2}},{" contentServiceId":3861,"网站ID":643," CONTA inerInfo" {"容器名称":"抵押"" assetType":2}},{" contentServiceId":12049,& #34;网站ID":643," CONTAINERINFO" {"容器名称":"英里"" assetType":0}} ]" enabledContainers":[{"容器名称":"银行"" assetType":1},{"容器名称&# 34;:" bill_payment"" assetType":0},{"容器名称":"学分"" assetType&#34 ; 2},{"容器名称":"股"" assetType":1},{"容器名称":"贷款"" assetType":2},{"容器名称":"抵押"" assetType":2},{& #34;容器名称":"英里"" assetType":0}],"的baseUrl":" http://www.chase.com/&# 34;," loginForms":[]," isHeld":假," isCustom":假," siteSearchVisibility":真}

注意loginForms为空。我如何获得这个价值?我尝试了不同的siteFilter.reqSpecfier值,并始终获得相同的结果。我试过的其他事情都是使用我们的公共和私人网址。我也用Dag Site重复了所有这些。

2 个答案:

答案 0 :(得分:0)

其中一个输入参数中存在拼写错误,因为我们的API无法识别该参数,因此返回Null LoginForms。

[ siteFilter.reqSpecifier is incorrectly spelled as siteFilter.reqSpecfier ] 

摘自以下电子邮件:

cobSessionToken=11182013_0%3A8e8a9caa264e3b26f15c3c9a3ee05680b2edb76272d0a425852a803e6002383b89847d388de38394b4f08efbb881536b496e323ee4e42c9df7dfdcdc8ae10e16&siteFilter.**reqSpecfier**=16&siteFilter.siteId=643

这应该是:

cobSessionToken=11182013_0%3A8e8a9caa264e3b26f15c3c9a3ee05680b2edb76272d0a425852a803e6002383b89847d388de38394b4f08efbb881536b496e323ee4e42c9df7dfdcdc8ae10e16&siteFilter.**reqSpecifier**=16&siteFilter.siteId=643

通过更正参数,我可以查询Site 643并获取loginForm数组。以下是loginForms []

的回复
{"popularity":0
"siteId":643
"orgId":520
"defaultDisplayName":"Chase"
"defaultOrgDisplayName":"Chase Manhattan Bank"
"contentServiceInfos":[{"contentServiceId":663}
{"contentServiceId":10441}
{"contentServiceId":3163}
{"contentServiceId":3483}
{"contentServiceId":7100}
{"contentServiceId":3861}
{"contentServiceId":12049}]
"enabledContainers":[{
"containerName":"bank","assetType":1}
{"containerName":"bill_payment","assetType":0}
{"containerName":"credits","assetType":2}
{"containerName":"stocks","assetType":1}
{"containerName":"loans","assetType":2}
{"containerName":"mortgage","assetType":2}
{"containerName":"miles","assetType":0}]
"baseUrl":"http://www.chase.com/"
"loginForms":[{"conjunctionOp":{"conjuctionOp":1}
"componentList":[
{"valueIdentifier":"LOGIN","valueMask":"LOGIN_FIELD","fieldType":{"typeName":"TEXT"},"size":20,"maxlength":32
"name":"LOGIN","displayName":"User ID","isEditable":true,"isOptional":false,"isEscaped":false,"helpText":"4710","isOptionalMFA":false
"isMFA":false},
{"valueIdentifier":"PASSWORD","valueMask":"LOGIN_FIELD","fieldType":{"typeName":"IF_PASSWORD"},"size":20,"maxlength":40
"name":"PASSWORD","displayName":"Password","isEditable":true,"isOptional":false,"isEscaped":false,"helpText":"11976","isOptionalMFA":false
"isMFA":false}
]
"defaultHelpText":"324"}]
"isHeld":false
"isCustom":false
"siteSearchVisibility":true}

这应解决您的问题

此致

维沙尔

Yodlee Team

答案 1 :(得分:0)

本文UpdateCredentials Flow

中列出了更新凭据的流程

您可以按照文章中的确切步骤操作。 即使用户与特定站点相关联,您仍然可以使用getSiteLoginForm提取登录表单并向用户显示表单以输入正确的凭据,然后在updateSiteAccountCredentials中传递登录表单,然后继续正常刷新流程。