文档中心 > API类目 > 智慧园区API

alibaba.campus.adminmap.poiinfo.getlistbygroup (根据分组条件查询分组下的空间单元不包涵业务属性信息)

根据分组条件查询分组下的空间单元不包涵业务属性信息

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
context WorkBenchContext 可选 上下文
  • └ app_code
  • String
  • 必须
  • 4272
  • app编码
  • └ company_id
  • Number
  • 可选
  • 10000
  • 公司id
  • └ campus_id
  • Number
  • 必须
  • 100001
  • 园区id
query SpaceUnitQuery 可选 查询对象
  • └ group_code
  • String
  • 必须
  • EEEEEEEE
  • 分组编码
  • └ limit
  • Number
  • 必须
  • 10
  • 10
  • └ type_code
  • String
  • 可选
  • ""
  • 类型编码
  • └ group_id
  • Number
  • 可选
  • 99
  • 分组id
  • └ current_page
  • Number
  • 必须
  • 1
  • 当前页
  • └ type_id
  • Number
  • 可选
  • 1
  • 类型id

响应参数

名称 类型 示例值 描述
result ListResult {} result
  • contents
  • PoiInfo []
  • {}
  • content
  • └ geo_floor_id
  • Number
  • 1
  • 高德楼层id
  • └ ft_id
  • String
  • ""
  • ftId
  • └ uuid
  • String
  • ""
  • uuid
  • └ name
  • String
  • ""
  • 空间单元名称
  • └ campus_name
  • String
  • 1
  • 园区名称
  • └ campus_code
  • String
  • 1
  • 园区编码
  • └ type_name
  • String
  • 1
  • 类型名称
  • └ floor_id
  • Number
  • 1
  • 楼层id
  • └ area
  • String
  • ""
  • 面积
  • └ height
  • String
  • ""
  • 高度
  • └ floor_name
  • String
  • ""
  • 楼层名
  • └ category
  • Number
  • 1
  • category
  • └ id
  • Number
  • 1
  • id
  • └ type_code
  • String
  • ""
  • 类型编码
  • └ type_id
  • Number
  • 1
  • 类型id
  • └ campus_id
  • Number
  • 1
  • 园区id
  • └ is_delete
  • Boolean
  • false
  • 是否删除
  • └ building_id
  • Number
  • 1
  • 楼宇id
  • └ status
  • Number
  • 1
  • 状态
  • └ company_id
  • Number
  • 1
  • 园区id
  • └ building_name
  • String
  • ""
  • 楼宇名称
  • └ code
  • String
  • ""
  • businessId
  • └ request_id
  • String
  • ""
  • requestId
  • └ total_count
  • Number
  • 20
  • totalCount
  • └ error_code
  • String
  • ”“
  • errorCode
  • └ error_msg
  • String
  • ”“
  • errorMsg
  • └ success
  • Boolean
  • true
  • success
  • └ error_level
  • String
  • ""
  • errorLevel

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaCampusAdminmapPoiinfoGetlistbygroupRequest req = new AlibabaCampusAdminmapPoiinfoGetlistbygroupRequest();
AlibabaCampusAdminmapPoiinfoGetlistbygroupRequest.WorkBenchContext obj1 = new AlibabaCampusAdminmapPoiinfoGetlistbygroupRequest.WorkBenchContext();
obj1.setAppCode("4272");
obj1.setCompanyId(10000L);
obj1.setCampusId(100001L);
req.setContext(obj1);
AlibabaCampusAdminmapPoiinfoGetlistbygroupRequest.SpaceUnitQuery obj2 = new AlibabaCampusAdminmapPoiinfoGetlistbygroupRequest.SpaceUnitQuery();
obj2.setGroupCode("EEEEEEEE");
obj2.setLimit(10L);
obj2.setTypeCode("\"\"");
obj2.setGroupId(99L);
obj2.setCurrentPage(1L);
obj2.setTypeId(1L);
req.setQuery(obj2);
AlibabaCampusAdminmapPoiinfoGetlistbygroupResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_campus_adminmap_poiinfo_getlistbygroup_response>
    <result>
        <contents>
            <poi_info>
                <geo_floor_id>1</geo_floor_id>
                <ft_id>&quot;&quot;</ft_id>
                <uuid>&quot;&quot;</uuid>
                <name>&quot;&quot;</name>
                <campus_name>1</campus_name>
                <campus_code>1</campus_code>
                <type_name>1</type_name>
                <floor_id>1</floor_id>
                <area>&quot;&quot;</area>
                <height>&quot;&quot;</height>
                <floor_name>&quot;&quot;</floor_name>
                <category>1</category>
                <id>1</id>
                <type_code>&quot;&quot;</type_code>
                <type_id>1</type_id>
                <campus_id>1</campus_id>
                <is_delete>false</is_delete>
                <building_id>1</building_id>
                <status>1</status>
                <company_id>1</company_id>
                <building_name>&quot;&quot;</building_name>
                <code>&quot;&quot;</code>
            </poi_info>
        </contents>
        <request_id>&quot;&quot;</request_id>
        <total_count>20</total_count>
        <error_code>”“</error_code>
        <error_msg>”“</error_msg>
        <success>true</success>
        <error_level>&quot;&quot;</error_level>
    </result>
</alibaba_campus_adminmap_poiinfo_getlistbygroup_response>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部