表单数据详情

HTTP Request

GET /apaas/api/v2/form_entities /:id

HEADERS

字段名 是否必填 描述
ACCESS-TOKEN true 授权token(aPaas提供)

URL Parameters

字段名 是否必填 描述
id 表单数据ID
custom_form_id 表单ID

返回数据

{
    "code": 0,
    "message": "success",
    "remark": "成功",
    "data": {
        "app_id": 4,
        "custom_form_id": 13,
        "organization_id": 1,
        "created_at": "2023-08-16T15:29:15.318+08:00",
        "updated_at": "2023-08-16T15:29:15.318+08:00",
        "id": 30,
        "primary_field_value": "哇咔隧道咔a 133333a a",
        "text_1691116765689_fe4558": "哇咔隧道咔a 133333a a",
        "email_1691116765689_fe4558": null,
        "select_1691125929052_d05a00": "H6Qq/ojoIFNyICUXzx3UOw==",
        "select_1691125929052_d05a00_display": "入门",
        "multi_select_1691562342042_e0b50f": [
            "qxjjDA3ECTzu2olh+sPR9A==",
            "QpbX0pPJ6koOUsZBXwtclg=="
        ],
        "multi_select_1691562342042_e0b50f_display": [
            "大",
            "高"
        ],
        "nest_2324013095370acf": {
            "level_0": "60943MKVMq0Erpe9dUdV7w==",
            "level_1": "WkFg1hVKiht2xdOjfhlpqQ=="
        },
        "nest_2324013095370acf_display": [
            "层级1",
            "层级2"
        ],
        "creator_id": 1,
        "creator": {
            "id": 1,
            "name": "test"
        },
        "user_id": 1,
        "user": {
            "id": 1,
            "name": "test"
        },
        "before_user_id": null,
        "before_user": null,
        "update_user_id": 1,
        "update_user": {
            "id": 1,
            "name": "test"
        },
        "department_id": 1,
        "department": {
            "id": 1,
            "name": null
        },
        "before_department_id": null,
        "before_department": null,
        "user_updated_at": "2023-08-16T15:29:15.313+08:00"
    }
}

子表单数据列表

HTTP Request

GET /apaas/api/v2/custom_relation_forms/relation_form_entities

HEADERS

字段名 是否必填 描述
ACCESS-TOKEN true 授权token(aPaas提供)

URL Parameters

字段名 是否必填 描述
custom_form_id 子模块
entity_id 表单数据ID
custom_field_id 子表单字段

返回数据

{
    "code": 0,
    "message": "success",
    "remark": "成功",
    "data": {
        "models": [
            {
                "custom_form_id": 13,
                "organization_oid": 1,
                "created_at": "2024-07-19T17:31:12.650+08:00",
                "updated_at": "2024-07-19T17:44:45.025+08:00",
                "id": 3,
                "custom_form_data_table_name": "data_1_4_e2aafe",
                "assist_for_current_user": false,
                "self_assist_for_current_user": false,
                "sub_assist_for_current_user": false,
                "own_for_current_user": true,
                "is_edit_for_current_user": true,
                "relation_data": {
                    "label": "数据已删除",
                    "value": null,
                    "relation_source": {
                        "id": 23,
                        "name": "data_1_3_9ddabc",
                        "label": "产品",
                        "external_type": "apaas"
                    }
                },
                "tex_1721211005f8": "苹果手机就是好"
            },
            {
                "custom_form_id": 13,
                "organization_oid": 1,
                "created_at": "2024-07-19T17:31:12.635+08:00",
                "updated_at": "2024-07-19T17:31:12.635+08:00",
                "id": 2,
                "custom_form_data_table_name": "data_1_4_e2aafe",
                "assist_for_current_user": false,
                "self_assist_for_current_user": false,
                "sub_assist_for_current_user": false,
                "own_for_current_user": true,
                "is_edit_for_current_user": true,
                "relation_data": {
                    "label": "数据已删除",
                    "value": null,
                    "relation_source": {
                        "id": 23,
                        "name": "data_1_3_9ddabc",
                        "label": "产品",
                        "external_type": "apaas"
                    }
                },
                "tex_1721211005f8": null
            },
            {
                "custom_form_id": 13,
                "organization_oid": 1,
                "created_at": "2024-07-19T17:31:12.606+08:00",
                "updated_at": "2024-07-19T18:09:22.902+08:00",
                "id": 1,
                "custom_form_data_table_name": "data_1_4_e2aafe",
                "assist_for_current_user": false,
                "self_assist_for_current_user": false,
                "sub_assist_for_current_user": false,
                "own_for_current_user": true,
                "is_edit_for_current_user": true,
                "relation_data": {
                    "label": "上海微问家",
                    "value": 1,
                    "relation_source": {
                        "id": 23,
                        "name": "data_1_3_9ddabc",
                        "label": "产品",
                        "external_type": "apaas"
                    },
                    "relation_data": {
                        "id": 1,
                        "primary_field_value": "上海微问家",
                        "app_id": 3,
                        "custom_form_id": 23,
                        "organization_oid": 1,
                        "created_at": "2023-08-29T16:31:52.762+08:00",
                        "updated_at": "2023-08-29T16:31:52.762+08:00",
                        "custom_form_data_table_name": "data_1_3_9ddabc"
                    }
                },
                "tex_1721211005f8": "你好呀"
            }
        ],
        "total_count": 3,
        "total_pages": 1,
        "next_page": null,
        "prev_page": null,
        "current_page": 1,
        "per_page": 15,
        "page": 1
    }
}
文档更新时间: 2026-07-02 09:29   作者:姜河