Can you provide an example of calling putMFARequestForSite with com.yodlee.core.mfarefresh.MFAQuesAnsResponse?

こ雲淡風輕ζ 提交于 2019-12-23 06:33:04

问题


API Docs: https://developer.yodlee.com/Aggregation_API/Aggregation_Services_Guide/Aggregation_REST_API_Reference/putMFARequestForSite

First, is the property that needs to be specified for security question responses QuesAndAnswerDetails or quesAnsDetailArray? Both are used in the docs, but neither worked for me.

And are these the sub fields that need to be specified?

  • answer
  • answerFieldType
  • metaData
  • question
  • questionFieldType

The pulled MFA form specifies 'responseFieldType' instead of 'answerFieldType'.

It'd be very helpful if the docs provided sample requests in addition to sample responses.


回答1:


Here is the parameter sample which you can refer

        cobSessionToken =  73832732723dasd131d
        userSessionToken = 312371283712asd12312
        memSiteAccId=10059700
        userResponse.objectInstanceType=com.yodlee.core.mfarefresh.MFAQuesAnsResponse
        userResponse.quesAnsDetailArray[0].answer=karnataka
        userResponse.quesAnsDetailArray[0].answerFieldType=text
        userResponse.quesAnsDetailArray[0].metaData=QUESTION_1
        userResponse.quesAnsDetailArray[0].question=What is the name of your state?
        userResponse.quesAnsDetailArray[0].questionFieldType=label
        userResponse.quesAnsDetailArray[1].answer=Saint Paul HR SEC School
        userResponse.quesAnsDetailArray[1].answerFieldType=text
        userResponse.quesAnsDetailArray[1].metaData=QUESTION_2
        userResponse.quesAnsDetailArray[1].question=What is the name of your first school
        userResponse.quesAnsDetailArray[1].questionFieldType=label

Also answerFieldType will take the value of the responseFieldType from getMFAResponseForSite API



来源:https://stackoverflow.com/questions/30793365/can-you-provide-an-example-of-calling-putmfarequestforsite-with-com-yodlee-core

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!