Yodlee - 登录表单有fieldInfoList

时间:2014-08-10 23:37:05

标签: yodlee

对于contentservice id 2444,它有一个fieldInfoList包含两个登录字段,我应该如何将它们传递给jsonsdk/ItemManagement/addItemForContentService1 REST API?我尝试将它们发布正常但我收到了错误。

这是2444的loginform JSON

[
  {
    "valueIdentifier": "OP_LOGIN",
    "valueMask": "500766LOGIN_FIELD",
    "fieldType": {
      "typeName": "IF_LOGIN"
    },
    "size": 20,
    "maxlength": 10,
    "name": "OP_LOGIN",
    "displayName": "BMO Debit Card(Last 10 digit)",
    "isEditable": true,
    "isOptional": true,
    "isEscaped": false,
    "helpText": "114195",
    "isOptionalMFA": false,
    "isMFA": false
  },
  {
    "valueIdentifier": "OP_LOGIN1",
    "valueMask": "LOGIN_FIELD",
    "fieldType": {
      "typeName": "IF_LOGIN"
    },
    "size": 20,
    "maxlength": 16,
    "name": "OP_LOGIN1",
    "displayName": "BMO Credit Card(Enter 16 Digit)",
    "isEditable": true,
    "isOptional": true,
    "isEscaped": false,
    "helpText": "160219",
    "isOptionalMFA": false,
    "isMFA": false
  },
  {
    "valueIdentifier": "PASSWORD",
    "valueMask": "LOGIN_FIELD",
    "fieldType": {
      "typeName": "IF_PASSWORD"
    },
    "size": 20,
    "maxlength": 6,
    "name": "PASSWORD",
    "displayName": "Password",
    "isEditable": true,
    "isOptional": false,
    "isEscaped": false,
    "helpText": "114194",
    "isOptionalMFA": false,
    "isMFA": false
  }
]

干杯, 帕特里克

1 个答案:

答案 0 :(得分:1)

此登录表单包含可选字段,您可以将此登录表单显示给用户,如图所示here   然后根据用户的响应,您只能传回用户填写的字段,该请求看起来与普通登录​​表单类似。