操作门店指定版本的地图
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
merchant_code | String | 可选 | HM | 商家code | |
operate | Number | 可选 | 1 | 操作 | |
map_version | String | 可选 | 12344 | 地图版本 | |
ou_code | String | 可选 | 8007 | 门店oucode |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | IotResult | result | 返回结构 |
|
1 2 3 4 5 6 7 8 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); WdkIotWombatMapOperatemapRequest req = new WdkIotWombatMapOperatemapRequest(); req.setMerchantCode( "HM" ); req.setOperate(1L); req.setMapVersion( "12344" ); req.setOuCode( "8007" ); WdkIotWombatMapOperatemapResponse 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 | < wdk_iot_wombat_map_operatemap_response > < result > < data > < map_url >schema:\\host</ map_url > < map_version >xxxx</ map_version > < map_status >1</ map_status > < md5 >ssss</ md5 > < description >xxxx</ description > < generate_time >2021-02-01 00:00:00</ generate_time > < image_url >schema:\\host</ image_url > < map_meta_info > < left_x >123</ left_x > < left_y >123</ left_y > < resolution >0.05</ resolution > < meta_points > < map_point_dto > < type >1</ type > < x >123</ x > < y >123</ y > </ map_point_dto > </ meta_points > </ map_meta_info > </ data > < success >true</ success > < msg_info >success</ msg_info > < msg_code >success</ msg_code > </ result > </ wdk_iot_wombat_map_operatemap_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 > |
错误码 | 错误描述 | 解决方案 |
---|