精准获客需求提交接口
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
demand_submit_dto | DemandSubmitDTO | 必须 | 需求提交对象 | ||
|
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
result_code | String | BIZ_CONFIG_NOT_SUPPORT | 结果码 |
result_msg | String | 业务配置不支持 | 结果描述 |
result | Boolean | true | 是否成功,true提交成功,false提交失败 |
1 2 3 4 5 6 7 8 9 10 11 12 | TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); AuctionZcJzhkDemandSubmitRequest req = new AuctionZcJzhkDemandSubmitRequest(); AuctionZcJzhkDemandSubmitRequest.DemandSubmitDTO obj1 = new AuctionZcJzhkDemandSubmitRequest.DemandSubmitDTO(); obj1.setUserNick( "淘宝账号xxx1" ); obj1.setItemId(1231231L); obj1.setContactUser( "小李" ); obj1.setContactPhone( "133xxxx2312" ); obj1.setItemCircle(2L); obj1.setHasSignProtocol( true ); req.setDemandSubmitDto(obj1); AuctionZcJzhkDemandSubmitResponse rsp = client.execute(req); System.out.println(rsp.getBody()); |
1 2 3 4 5 | < auction_zc_jzhk_demand_submit_response > < result_code >BIZ_CONFIG_NOT_SUPPORT</ result_code > < result_msg >业务配置不支持</ result_msg > < result >true</ result > </ auction_zc_jzhk_demand_submit_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 > |
错误码 | 错误描述 | 解决方案 |
---|