2.4.1.7.13.1. 查询Datasheet详细列表

    请求参数:

    字段字段名称字段类型说明是否必传
    page_index查询页码Integer大于 0,如果为空,则默认从第一页显示
    page_size每页记录数Integer大于 0,如果为空,则默认为 20
    condition查询条件JsonLIKE模糊搜索条件
    start_time开始时间Datetime按创建时间搜索的开始时间和结束时间
    end_time结束时间Datetime

    condition参数:

    格式

    举例

    返回参数:

    字段字段名称字段类型说明是否必传
    code返回码Integer200:成功 500:失败
    msg提示信息String
    result结果Json

    返回数据举例

    2.4.1.7.13.2. 查询Datasheet指定记录

    属性
    url/api/datasheet/get
    http方法post
    Content-Typeapplication/json或application/x-www-form-urlencoded

    请求参数:

    字段字段名称字段类型说明是否必传
    datasheet_id数据表标识String

    返回参数:

    返回示例:

    1. {
    2. "code": 200,
    3. "msg": "查询成功",
    4. "mix_code":130001,
    5. "mix_ext":"",
    6. "result": {
    7. "datasheet_id": 1002,
    8. "description": null,
    9. "file": null,
    10. "template": null,
    11. "script": null,
    12. "reference": null,
    13. "created": "2018-09-20 20:18:48",
    14. "boss_sync": 0
    15. }

    2.4.1.7.13.3. 添加Datasheet

    调用接口:

    属性
    url/api/datasheet/add
    http方法post
    Content-Typeapplication/json或application/x-www-form-urlencoded

    请求参数:

    字段字段名称字段类型说明是否必传
    datasheet_name数据表名称String
    description描述Text
    file数据表文件路径
    template模板/样式text
    script脚本text
    reference参考号String

    返回参数:

    字段字段名称字段类型说明是否必传
    code返回码Integer200:成功 500:失败
    msg提示信息String
    result返回结果Json

    2.4.1.7.13.4. 编辑Datasheet

    调用接口:

    属性
    url/api/datasheet/edit
    http方法post
    Content-Typeapplication/json或application/x-www-form-urlencoded

    请求参数:

    返回参数:

    字段字段名称字段类型说明是否必传
    code返回码Integer200:成功 500:失败
    msg提示信息String
    result返回结果Json

    返回示例:

    1. {
    2. "code": 200,
    3. "msg": "添加成功",
    4. "mix_code":130001,
    5. "mix_msg":"",
    6. "mix_ext":"",
    7. "result": []

    2.4.1.7.13.5. 删除Datasheet

    调用接口:

    属性
    url/api/datasheet/add
    http方法post
    Content-Typeapplication/json或application/x-www-form-urlencoded

    请求参数:

    字段字段名称字段类型说明是否必传
    datasheet_id数据表标识String
    字段字段名称字段类型说明是否必传
    code返回码Integer200:成功 500:失败
    msg提示信息String
    result返回结果Json

    返回示例: