添加品牌入驻申请
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
brand_entry_apply | BrandEntryApply | 可选 | 品牌接入申请入参 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result | Result | null | 接口返回model |
|
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AlibabaBrandcenterBrandentryapplyAddbrandeaRequest req = new AlibabaBrandcenterBrandentryapplyAddbrandeaRequest(); AlibabaBrandcenterBrandentryapplyAddbrandeaRequest.BrandEntryApply obj1 = new AlibabaBrandcenterBrandentryapplyAddbrandeaRequest.BrandEntryApply(); obj1.setGmtModified(StringUtils.parseDateTime( "2017-11-20 16:19:56" )); obj1.setFeatureMap( "{'pic':abc}" ); obj1.setSource(1L); obj1.setLogo( "URL地址" ); obj1.setId(1L); obj1.setOwner( "云丰" ); obj1.setNameCn( "品牌" ); obj1.setNameEn( "brand" ); obj1.setGmtCreate(StringUtils.parseDateTime( "2017-11-20 16:19:56" )); obj1.setUserName( "name" ); obj1.setUserId(0L); obj1.setBrandType(1L); obj1.setRegId( "a1234" ); obj1.setLocation( "中国" ); req.setBrandEntryApply(obj1); AlibabaBrandcenterBrandentryapplyAddbrandeaResponse 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 | < alibaba_brandcenter_brandentryapply_addbrandea_response > < result > < err_info >注册号不存在</ err_info > < success >false</ success > < err_code >0</ err_code > < module > < owner >121</ owner > < gmt_modified >1511427830000</ gmt_modified > < feature_map > < trademark_registration_certificate >TB1JNcvdhTI8KJjSspiXXbM4FXa</ trademark_registration_certificate > < matched_brand_name >CNOBLE</ matched_brand_name > </ feature_map > < end_date >2017-11-17 17:15:45</ end_date > < memo >OK</ memo > < name_cn >111</ name_cn > < source >5</ source > < name_en >222</ name_en > < user_name >tbtest101</ user_name > < gmt_create >1510823745000</ gmt_create > < user_id >175754147</ user_id > < operator >wb-lirong.b</ operator > < features >扩展字段</ features > < brand_type >1</ brand_type > < brand_id >392630213</ brand_id > < logo >demo</ logo > < location >阿塞拜疆</ location > < reg_id >333</ reg_id > < id >1</ id > < approve_time >1511427830000</ approve_time > < apply_time >1510823745000</ apply_time > < status >0</ status > </ module > < extra_info_map >null</ extra_info_map > < total_count >1</ total_count > </ result > </ alibaba_brandcenter_brandentryapply_addbrandea_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 > |
错误码 | 错误描述 | 解决方案 |
---|