文档中心 > API文档

查询所有空间和分组下的类型定义及相关业务属性,以特定的数据形式返回

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

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

接口说明

查询所有空间和分组下的类型定义及相关业务属性,以特定的数据形式返回

请求参数说明

字段 必选 类型 说明
无参数 String

返回结果说明

字段 必选 类型 说明
attributes String 类型定义及相关业务属性
code String
type String
isDeleted String
author String
name String
typeId String
custom String

返回数据

  • default

    {
      "requestId": null,
      "success": true,
      "errorCode": "200",
      "errorExtInfo": null,
      "totalCount": 100,
      "class": "com.squirrel.result.ListResult",
      "content": [
    {
      "gmtModified": null,
      "code": "002401",
      "allowedChange": false,
      "description": null,
      "type": "unit",
      "originId": "ib_space",
      "catalogId": null,
      "isDeleted": false,
      "ruleType": null,
      "enName": null,
      "id": null,
      "class": "com.alibaba.campus.api.iengine.model.component.ComponentDTO",
      "classDefine": null,
      "componentCode": null,
      "author": "SYSTEM",
      "custom": false,
      "gmtCreate": null,
      "topologyNum": null,
      "version": null,
      "topologyTemplateNum": null,
      "name": "工位",
      "typeId": 12,
      "attributes": [
        {
          "paramType": "String",
          "code": "shifou",
          "allowedChange": false,
          "defaultValue": null,
          "display": null,
          "flags": "OUT",
          "options": null,
          "name": "是否",
          "orderNum": 1,
          "description": null,
          "class": "com.alibaba.campus.api.iengine.model.component.AttributeDTO"
        },
        {
          "paramType": "String",
          "code": "jige",
          "allowedChange": false,
          "defaultValue": null,
          "display": null,
          "flags": "OUT",
          "options": null,
          "name": "几个",
          "orderNum": 1,
          "description": null,
          "class": "com.alibaba.campus.api.iengine.model.component.AttributeDTO"
        },
        {
          "paramType": "String",
          "code": "duoshao",
          "allowedChange": false,
          "defaultValue": null,
          "display": null,
          "flags": "OUT",
          "options": null,
          "name": "多少",
          "orderNum": 1,
          "description": null,
          "class": "com.alibaba.campus.api.iengine.model.component.AttributeDTO"
        }
      ],
      "jsonContent": null,
      "actions": null,
      "apiType": null,
      "properties": null
    }
      ],
      "errorLevel": null,
      "errorMsg": "success"
    }

FAQ

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