Allows to query mobile categories
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
lang | String | 可选 | - | language | |
category_id | Number | 可选 | 0 | category |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | OpenApiResult | - | result |
|
1 2 3 4 5 6 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AliexpressSocialCategoryMobileQueryRequest req = new AliexpressSocialCategoryMobileQueryRequest(); req.setLang( "-" ); req.setCategoryId(0L); AliexpressSocialCategoryMobileQueryResponse 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 | < aliexpress_social_category_mobile_query_response > < result > < result > < id >0</ id > < name >root</ name > < en_name >root</ en_name > < leaf >false</ leaf > < subcategories > < mobile_category_dto > < id >202000013</ id > < leaf >true</ leaf > < name >Hobbys</ name > < en_name >Hobbys</ en_name > </ mobile_category_dto > </ subcategories > </ result > < success >true</ success > < error_message >-</ error_message > < error_code >-</ error_code > </ result > </ aliexpress_social_category_mobile_query_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 > |
错误码 | 错误描述 | 解决方案 |
---|