我正在尝试使用DAG虚拟帐户跟随提供的添加站点流程,并且无论提供给问题的答案如何,siteId 16486(安全QA)的MFA流程始终返回522。
以下是我正在回复的API调用的大纲。
{
"siteAccountId":11070119,
"isCustom":false,
"credentialsChangedTime":1425920373,
"siteRefreshInfo":{
"siteRefreshStatus":{
"siteRefreshStatusId":1,
"siteRefreshStatus":"REFRESH_TRIGGERED"
},
"siteRefreshMode":{
"refreshModeId":1,
"refreshMode":"MFA"
},
"updateInitTime":1425920374,
"nextUpdate":1425921274,
"code":801,
"suggestedFlow":{
"suggestedFlowId":2,
"suggestedFlow":"REFRESH"
},
"noOfRetry":0
},
"siteInfo":{
"popularity":0,
"siteId":16486,
"orgId":1148,
"defaultDisplayName":"Dag Site SecurityQA",
"defaultOrgDisplayName":"Demo Bank",
"enabledContainers":[
{
"containerName":"bank",
"assetType":1
}
],
"baseUrl":"http://192.168.210.152:9090/dag/dhaction.do",
"loginForms":[
],
"isHeld":false,
"isCustom":false,
"mfaType":{
"typeId":4,
"typeName":"SECURITY_QUESTION"
},
"siteSearchVisibility":true,
"isAlreadyAddedByUser":true,
"isOauthEnabled":false
},
"created":"2015-03-09T09:59:33-0700",
"retryCount":0
}
{
"isMessageAvailable":true,
"fieldInfo":{
"questionAndAnswerValues":[
{
"question":"What is the name of your state?",
"questionFieldType":"label",
"responseFieldType":"text",
"isRequired":"true",
"sequence":1,
"metaData":"QUESTION_1"
},
{
"question":"What is the name of your first school",
"questionFieldType":"label",
"responseFieldType":"text",
"isRequired":"true",
"sequence":2,
"metaData":"QUESTION_2"
}
],
"numOfMandatoryQuestions":-1
},
"timeOutTime":99060,
"itemId":0,
"memSiteAccId":11070119,
"retry":false
}
{
"primitiveObj":true
}
{
"isMessageAvailable":false,
"timeOutTime":150000,
"itemId":0,
"errorCode":522,
"memSiteAccId":11070119,
"retry":false
}
答案 0 :(得分:0)
问题解决了。事实证明,调用putMFAResponseForSite的参数无效。