空间单元id查业务属性实例
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
context | WorkBenchContext | 可选 | 操作用户上下文 | ||
|
|||||
space_unit_id | Number | 必须 | 33447 | 空间单元id |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | PojoResult | {} | 返回结果 |
|
1 2 3 4 5 6 7 8 9 10 11 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaCampusSpaceUnitGetspaceunitwithattrRequest req = new AlibabaCampusSpaceUnitGetspaceunitwithattrRequest(); AlibabaCampusSpaceUnitGetspaceunitwithattrRequest.WorkBenchContext obj1 = new AlibabaCampusSpaceUnitGetspaceunitwithattrRequest.WorkBenchContext(); obj1.setUserId(123456L); obj1.setCampusCode( "1273" ); obj1.setCompanyId(1L); obj1.setCampusId(100005L); req.setContext(obj1); req.setSpaceUnitId(33447L); AlibabaCampusSpaceUnitGetspaceunitwithattrResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | < alibaba_campus_space_unit_getspaceunitwithattr_response > < result > < content > < uuid >""</ uuid > < name >""</ name > < campus_name >""</ campus_name > < campus_code >""</ campus_code > < type_name >""</ type_name > < floor_id >1</ floor_id > < area ></ area > < height ></ height > < floor_name >""</ floor_name > < category >1</ category > < id >1</ id > < type_code >""</ type_code > < type_id >1</ type_id > < campus_id >1</ campus_id > < code >""</ code > < is_delete >false</ is_delete > < building_id >1</ building_id > < status >1</ status > < company_id >1</ company_id > < building_name >""</ building_name > < attrs > < type_attr_instance > < type_attr_ref_id >1</ type_attr_ref_id > < attr_name >""</ attr_name > < attr_code >""</ attr_code > < value >""</ value > < uuid >""</ uuid > < value_type >""</ value_type > </ type_attr_instance > </ attrs > < ft_id >111</ ft_id > < geo_floor_id >111</ geo_floor_id > < central > < lng >1.0</ lng > < lat >1.0</ lat > </ central > </ content > < request_id >1</ request_id > < error_code >“”</ error_code > < error_msg >“”</ error_msg > < success >false</ success > < error_level >""</ error_level > </ result > </ alibaba_campus_space_unit_getspaceunitwithattr_response > |
1 2 3 4 5 6 | < error_response > < code >50</ code > < msg >Remote service error</ msg > < sub_code >isv.invalid-parameter</ sub_code > < sub_msg >非法参数</ sub_msg > </ error_response > |
错误码 | 错误描述 | 解决方案 |
---|