文档中心 > API文档

查询空间类别接口

更新时间:2018/01/23 访问次数:349

hsf/com.alibaba.campus.api.space.service.SpaceTypeApiService/getList

接口说明

查询空间类别接口

请求参数说明

字段 必选 类型 说明
pid Number 父类id
category Number 类别层级
isDelete Boolean 是否删除
key String 模糊查询关键字
currentPage Number 当前页码
limit Number 每页条数

返回结果说明

字段 必选 类型 说明
code String 编码
typeEnName String 类别英文名称
isDelete Boolean 是否删除
typeName String 类别名称
description String 描述
pid Number 父类id
typeCode String 编码
name String 名称
attribute String 属性
id Number id
category Number 层级

返回数据

  • default

    {
      "requestId": null,
      "success": true,
      "errorCode": "200",
      "errorExtInfo": null,
      "totalCount": 2,
      "class": "com.squirrel.result.ListResult",
      "content": [
    {
      "creator": null,
      "gmtModified": 1493298183000,
      "code": "002601",
      "typeEnName": null,
      "mapTypeCode": null,
      "isDelete": false,
      "modifier": null,
      "typeName": "传感器",
      "description": null,
      "pid": 18,
      "gmtCreate": 1493298183000,
      "delete": false,
      "typeCode": "002601",
      "name": "传感器",
      "logo": null,
      "attributes": [],
      "attribute": {
        "normalColor": "#66CDAA"
      },
      "id": 20,
      "category": 4,
      "renderType": 1,
      "class": "com.alibaba.adminmap.client.model.poi.PoiType"
    },
    {
      "creator": null,
      "gmtModified": 1502849188000,
      "code": "002404",
      "typeEnName": null,
      "mapTypeCode": null,
      "isDelete": false,
      "modifier": null,
      "typeName": "多功能电表",
      "description": null,
      "pid": 18,
      "gmtCreate": 1490085747000,
      "delete": false,
      "typeCode": "002404",
      "name": "多功能电表",
      "logo": null,
      "attributes": [],
      "attribute": {
        "normalColor": "#66CDAA"
      },
      "id": 19,
      "category": 4,
      "renderType": 1,
      "class": "com.alibaba.adminmap.client.model.poi.PoiType"
    }
      ],
      "errorLevel": null,
      "errorMsg": "success"
    }

FAQ

关于此文档暂时还没有FAQ
返回
顶部