文档中心 > API类目 > 天猫服务平台

tmall.servicecenter.homedecoration.consultation.query (天猫服务咨询工单查询)

天猫服务咨询工单查询

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
consultation_id String 可选 17216452354685345 咨询单
work_card_id Number 可选 914332122 工单

响应参数

名称 类型 示例值 描述
result Result result
  • └ success
  • Boolean
  • true
  • success
  • value
  • Value
  • value
  • consultation_list
  • ConsultationList []
  • consultationList
  • └ tag_list
  • String []
  • tagList
  • └ close_deadline
  • String
  • 2024-08-27 19:15:39
  • closeDeadline
  • └ issue_name
  • String
  • 测试008
  • issueName
  • └ service_code
  • String
  • 卫浴小件安装
  • serviceCode
  • operation_dto_list
  • OperationDTOList []
  • operationDTOList
  • └ action
  • String
  • close
  • action
  • └ content
  • String
  • 1111111111111
  • content
  • └ close_time
  • String
  • 2024-08-27 18:55:39
  • closeTime
  • └ response_deadline
  • String
  • 2024-08-27 19:05:39
  • responseDeadline
  • └ consultation_id
  • String
  • 1765216791598690304
  • consultationId
  • └ work_card_id
  • Number
  • 936515003
  • workCardId
  • └ consultation_status
  • String
  • close
  • consultationStatus
  • └ issue_code
  • String
  • 000012
  • issueCode

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
TmallServicecenterHomedecorationConsultationQueryRequest req = new TmallServicecenterHomedecorationConsultationQueryRequest();
req.setConsultationId("17216452354685345");
req.setWorkCardId(914332122L);
TmallServicecenterHomedecorationConsultationQueryResponse rsp = client.execute(req, sessionKey);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<tmall_servicecenter_homedecoration_consultation_query_response>
    <result>
        <success>true</success>
        <value>
            <consultation_list>
                <consultation_list>
                    <close_deadline>2024-08-27 19:15:39</close_deadline>
                    <issue_name>测试008</issue_name>
                    <service_code>卫浴小件安装</service_code>
                    <operation_dto_list>
                        <operation_d_t_o_list>
                            <action>close</action>
                            <content>1111111111111</content>
                        </operation_d_t_o_list>
                    </operation_dto_list>
                    <close_time>2024-08-27 18:55:39</close_time>
                    <response_deadline>2024-08-27 19:05:39</response_deadline>
                    <consultation_id>1765216791598690304</consultation_id>
                    <work_card_id>936515003</work_card_id>
                    <consultation_status>close</consultation_status>
                    <issue_code>000012</issue_code>
                </consultation_list>
            </consultation_list>
        </value>
    </result>
</tmall_servicecenter_homedecoration_consultation_query_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

返回
顶部