taobao.auction.zc.jzhk.demand.submit (精准获客需求提交接口)

精准获客需求提交接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
demand_submit_dto DemandSubmitDTO 必须 需求提交对象
  • └ user_nick
  • String
  • 必须
  • 淘宝账号xxx1
  • 机构淘宝账号昵称
  • └ item_id
  • Number
  • 必须
  • 1231231
  • 拍品id
  • └ contact_user
  • String
  • 必须
  • 小李
  • 联系人
  • └ contact_phone
  • String
  • 必须
  • 133xxxx2312
  • 联系方式
  • └ item_circle
  • Number
  • 必须
  • 2
  • 拍品处置阶段
  • └ has_sign_protocol
  • Boolean
  • 必须
  • true
  • 是否签署提交协议,未签署不允许提交

响应参数

名称 类型 示例值 描述
result_code String BIZ_CONFIG_NOT_SUPPORT 结果码
result_msg String 业务配置不支持 结果描述
result Boolean true 是否成功,true提交成功,false提交失败

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
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());

响应示例

  • XML示例
  • JSON示例
<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>

异常示例

  • XML示例
  • JSON示例
<error_response>
    <code>50</code>
    <msg>Remote service error</msg>
    <sub_code>isv.invalid-parameter</sub_code>
    <sub_msg>非法参数</sub_msg>
</error_response>

错误码解释

错误码 错误描述 解决方案

API工具

如何获得此API

FAQ

返回
顶部