获取合同类的服务工单信息
名称 | 类型 | 是否必须 | 示例值 | 更多限制 | 描述 |
---|---|---|---|---|---|
start | Number | 必须 | 12345678 | 开始时间: 开始时间和结束时间不能超过15分钟 | |
end | Number | 必须 | 12345678 | 结束时间: 开始时间和结束时间不能超过15分钟 |
名称 | 类型 | 示例值 | 描述 |
---|---|---|---|
service_contract_packet | ServiceContractPacket | 和同类服务包装类 | |
|
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret); TmallServicecenterContractsSearchRequest req = new TmallServicecenterContractsSearchRequest(); req.setStart(12345678L); req.setEnd(12345678L); TmallServicecenterContractsSearchResponse rsp = client.execute(req, sessionKey); System.out.println(rsp.getBody());
<tmall_servicecenter_contracts_search_response> <service_contract_packet> <desc>描述</desc> <service_list> <service_contract_d_o> <contract_status>1</contract_status> <service_count>1</service_count> <buy_amount>1</buy_amount> <service_phone>111</service_phone> <service_name>服务名称</service_name> <contract_price>111</contract_price> <auction_price>111</auction_price> <buyer_mobile>买家手机</buyer_mobile> <contract_type>1</contract_type> <buyer_address>买家地址</buyer_address> <seller_nick>卖家nick</seller_nick> <ext_price>111</ext_price> <tp_feedback_info>服务反馈信息</tp_feedback_info> <auction_serial_num>商品序列号</auction_serial_num> <seller_phone>111</seller_phone> <receive_time>2000-01-01 00:00:00</receive_time> <pay_time>2000-01-01 00:00:00</pay_time> <pay_time_number>111</pay_time_number> <content>合同内容</content> <effect_date>2000-01-01 00:00:00</effect_date> <gmt_create>2000-01-01 00:00:00</gmt_create> <category>类目</category> <flag>1</flag> <auction_id>11</auction_id> <tp_name>供应商名称</tp_name> <cancel_memo>cancelMemo</cancel_memo> <contract_url>www.xxoo.com</contract_url> <seller_id>111</seller_id> <canceler>服务取消人</canceler> <service_product>服务产品</service_product> <expire_date>2000-01-01 00:00:00</expire_date> <memo>备注</memo> <contract_no>111</contract_no> <order_relation_id>111</order_relation_id> <attribute>string</attribute> <receive_time_number>111</receive_time_number> <buyer_zip_code>买家邮编</buyer_zip_code> <id>111</id> <buyer_phone>买家电话</buyer_phone> <gmt_modify>2000-01-01 00:00:00</gmt_modify> <name>合同名称</name> <effect_date_number>111</effect_date_number> <expire_date_number>111</expire_date_number> <auction_name>商品名称</auction_name> <life_cycle>1</life_cycle> <buyer_name>买家姓名</buyer_name> <buyer_mail>买家有限</buyer_mail> <contract_memo>合同描述</contract_memo> <parent_biz_order_id>111</parent_biz_order_id> <biz_order_id>111</biz_order_id> <shop_name>店铺名称</shop_name> <model_number>型号</model_number> <seller_mobile>卖家手机</seller_mobile> <brand>brand</brand> <service_order_id>111</service_order_id> <tp_id>111</tp_id> <cancel_date>2000-01-01 00:00:00</cancel_date> </service_contract_d_o> </service_list> <name>名字</name> </service_contract_packet> </tmall_servicecenter_contracts_search_response>
<error_response> <code>50</code> <msg>Remote service error</msg> <sub_code>isv.invalid-parameter</sub_code> <sub_msg>非法参数</sub_msg> </error_response>
错误码 | 错误描述 | 解决方案 |
---|---|---|
isv.missing-parameter:start-or-end | 入参 start,end均不能为null | 入参 start,end均不能为null |
isv.invalid-parameter:The start time can not be greater than end time-or-Time period of not more than 15 minutes | 起始时间,不能颠倒,时间间隔不能超过limitMin(15分钟) | 起始时间,不能颠倒,时间间隔不能超过limitMin(15分钟) |
isp.servtpservice-service-error: hsf error | 内部异常 | 联系isp解决 |