2.4.1.7.5.1. 查询Aprus详细列表

    请求参数:

    字段字段名称字段类型说明是否必传
    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.5.2. 查询Aprus指定记录

    调用接口:

    属性
    url/api/aprus/get
    http方法post
    Content-Typeapplication/json或application/x-www-form-urlencoded
    字段字段名称字段类型说明是否必传
    aprus_id适配器标识String适配器标识

    返回参数:

    返回示例:

    1. {
    2. "code": 200,
    3. "msg": "查询成功",
    4. "mix_code":130001,
    5. "mix_msg":"",
    6. "mix_ext":"",
    7. "aprus_id": "A201812060003",
    8. "aprus_name": "空压机-0766",
    9. "access": "pub",
    10. "description": "无",
    11. "maker": "智物联",
    12. "config_id": 1002,
    13. "codebase_id": 1001,
    14. "nominal": null,
    15. "activated": "2018-08-31 16:37:39",
    16. "type": "2",
    17. "template": null,
    18. "reference": null,
    19. "is_available": 1
    20. }
    21. }

    2.4.1.7.5.3. 添加Aprus

    调用接口:

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

    请求参数:

    字段字段名称字段类型说明是否必传
    aprus_id适配器标识String
    aprus_name适配器名称String
    description描述Text
    username鉴权用户名String
    pin鉴权验证码String
    access报文权限String单选:all,pub,sub
    topic报文主题String多选: all:all pub:r,a,v,p,i,n sub:g/#
    maker生产厂家String
    config_id适配器配置标识String对应config表
    codebase_id代码库String对应codebase
    template模板/样式text
    script脚本text
    reference参考号String

    返回参数:

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

    返回示例:

    2.4.1.7.5.4. 编辑Aprus

    调用接口:

    属性
    url/api/customer/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.5.5. 删除Aprus

    调用接口:

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

    请求参数:

    字段字段名称字段类型说明是否必传
    aprus_id适配器标识String

    返回参数:

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

    返回参数:

    返回示例: