红小豆数字   ->   API

获取表单结构


通过这个API 【loadFormById OR loadFormByDocId】,用户可以获得表单结构数据。

名称: {{baseuri}}/formMgr/loadFormById

参数:

http方法: GET/POST

步骤

下面是使用步骤


名称: {{baseuri}}/formMgr/loadFormByDocId

参数:

http方法: GET/POST

步骤

下面是使用步骤

查询结果


{
  "success": true,
  "form": {
    "id": "6671575366949146624",
    "formTitle": "债券数据",
    "formUrl": "https://app.redbeandata.cn/cubedrive/app/form/d-ZR3J8SF69oags9qpqdNjRUxZbVrNTL",
    "icon": "fa-list-alt",
    "description": "",
    "type": "public",
    "tag": null,
    "content": null,
    "defaultPermission": 2,
    "repeatEnter": false,
    "expireDatetime": null,
    "permission": null,
    "settings": { ... },
    "pdfTemplate": null,
    "sharePermission": null,
    "formDocumentId": "aCGVxh4dgtI",
    "innerLink": null,
    "fields": [
      {
        "id": "5411",
        "title": "发行时间",
        "col": 8,
        "uid": "u2942",
        "hidden": false,
        "settings": {
          "dt": 2,
          "showRequired": false,
          "disabled": true,
          "hint": "",
          "title": "发行时间",
          "initialVal": "",
          "changeAllow": false,
          "description": "",
          "hidden": false,
          "openTplType": "default",
          "dfm": "M月d日(l)",
          "hasMetaData": true,
          "list": [],
          "listCss": [],
          "addSortWeight": true,
          "nullValNotInSort": true
        },
        "permission": null
      },
      {
        "id": "5412",
        "title": "债券类型",
        "col": 7,
        "uid": "u524",
        "hidden": false,
        "settings": {
          "dt": 1,
          "showRequired": false,
          "disabled": false,
          "hint": "",
          "title": "债券类型",
          "initialVal": "",
          "changeAllow": false,
          "description": "",
          "hidden": false,
          "openTplType": "default",
          "dv": ""
        },
        "permission": null
      },
      {
        "id": "5413",
        "title": "债券简称",
        "col": 6,
        "uid": "u8882",
        "hidden": false,
        "settings": {
          "dt": 1,
          "showRequired": false,
          "disabled": false,
          "hint": "",
          "title": "债券简称",
          "initialVal": "",
          "changeAllow": false,
          "description": "",
          "hidden": false,
          "openTplType": "default",
          "dv": ""
        },
        "permission": null
      },
      {
        "id": "5414",
        "title": "项目进度",
        "col": 5,
        "uid": "u1040",
        "hidden": false,
        "settings": {
          "dt": 1,
          "showRequired": false,
          "disabled": false,
          "hint": "",
          "title": "项目进度",
          "initialVal": "",
          "changeAllow": false,
          "description": "",
          "hidden": false,
          "openTplType": "default",
          "dv": ""
        },
        "permission": null
      },
      {
        "id": "5415",
        "title": "反馈时间",
        "col": 4,
        "uid": "u811",
        "hidden": false,
        "settings": {
          "dt": 2,
          "showRequired": false,
          "disabled": false,
          "hint": "",
          "title": "反馈时间",
          "initialVal": "",
          "changeAllow": false,
          "description": "",
          "hidden": false,
          "openTplType": "default",
          "dfm": "Y-m-d",
          "list": [],
          "listCss": []
        },
        "permission": null
      },
      {
        "id": "5416",
        "title": "反馈内容",
        "col": 3,
        "uid": "u295",
        "hidden": false,
        "settings": {
          "dt": 1,
          "showRequired": false,
          "disabled": false,
          "hint": "",
          "title": "反馈内容",
          "initialVal": "",
          "changeAllow": false,
          "description": "",
          "hidden": false,
          "openTplType": "default",
          "dv": ""
        },
        "permission": null
      },
      {
        "id": "5417",
        "title": "牵头销售",
        "col": 2,
        "uid": "u7184",
        "hidden": false,
        "settings": {
          "dt": 1,
          "showRequired": false,
          "disabled": false,
          "hint": "",
          "title": "牵头销售",
          "initialVal": "",
          "changeAllow": false,
          "description": "",
          "hidden": false,
          "openTplType": "default",
          "dv": ""
        },
        "permission": null
      },
      {
        "id": "5418",
        "title": "牵头组",
        "col": 1,
        "uid": "u2490",
        "hidden": false,
        "settings": {
          "dt": 1,
          "showRequired": false,
          "disabled": false,
          "hint": "",
          "title": "牵头组",
          "initialVal": "",
          "changeAllow": false,
          "description": "",
          "hidden": false,
          "openTplType": "default",
          "dv": ""
        },
        "permission": null
      }
    ],
    "author": false
  }
}