文档中心 > API类目 > 交易猫API

alibaba.jym.servicecenter.aiagent.aiagentorderservice.getorderinfo (AI换绑查询订单信息)

AI换绑查询订单信息服务接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
get_order_info_param GetOrderInfoParam 必须 get_order_info_param
  • └ order_id
  • String
  • 必须
  • xxx
  • order_id
  • └ query_insurance_info
  • Boolean
  • 必须
  • true
  • query_insurance_info
  • └ query_operator_info
  • Boolean
  • 必须
  • true
  • query_operator_info

响应参数

名称 类型 示例值 描述
result ResultDTO result
  • result
  • GetOrderInfoResult
  • result
  • operator_info_dto
  • OderOperatorInfoDTO
  • operatorInfoDTO
  • └ operator_no
  • Number
  • 1
  • /
  • └ operator_na
  • String
  • xxx
  • operator_name
  • └ operator_acc
  • String
  • xxx
  • operator_account
  • insurance_info_dto
  • AIOrderInsuranceInfoDTO
  • insuranceInfoDTO
  • └ insurance_type
  • Number
  • 1
  • insurance_type
  • └ premium_source
  • Number
  • 1
  • premium_source
  • └ sub_code_alias
  • String
  • sub_code_alias
  • sub_code_alias
  • └ success_alias
  • Boolean
  • true
  • success_alias
  • └ sub_extra_err_msg
  • String
  • sub_extra_err_msg
  • sub_extra_err_msg
  • └ state_code
  • String
  • state_code
  • state_code
  • └ extra_err_msg
  • String
  • extra_err_msg
  • extra_err_msg

请求示例

  • JAVA
  • .NET
  • PHP
  • CURL
  • Python
  • C/C++
  • NodeJS
TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
AlibabaJymServicecenterAiagentAiagentorderserviceGetorderinfoRequest req = new AlibabaJymServicecenterAiagentAiagentorderserviceGetorderinfoRequest();
AlibabaJymServicecenterAiagentAiagentorderserviceGetorderinfoRequest.GetOrderInfoParam obj1 = new AlibabaJymServicecenterAiagentAiagentorderserviceGetorderinfoRequest.GetOrderInfoParam();
obj1.setOrderId("xxx");
obj1.setQueryInsuranceInfo(true);
obj1.setQueryOperatorInfo(true);
req.setGetOrderInfoParam(obj1);
AlibabaJymServicecenterAiagentAiagentorderserviceGetorderinfoResponse rsp = client.execute(req);
System.out.println(rsp.getBody());

响应示例

  • XML示例
  • JSON示例
<alibaba_jym_servicecenter_aiagent_aiagentorderservice_getorderinfo_response>
    <result>
        <result>
            <operator_info_dto>
                <operator_no>1</operator_no>
                <operator_na>xxx</operator_na>
                <operator_acc>xxx</operator_acc>
            </operator_info_dto>
            <insurance_info_dto>
                <insurance_type>1</insurance_type>
                <premium_source>1</premium_source>
            </insurance_info_dto>
        </result>
        <sub_code_alias>sub_code_alias</sub_code_alias>
        <success_alias>true</success_alias>
        <sub_extra_err_msg>sub_extra_err_msg</sub_extra_err_msg>
        <state_code>state_code</state_code>
        <extra_err_msg>extra_err_msg</extra_err_msg>
    </result>
</alibaba_jym_servicecenter_aiagent_aiagentorderservice_getorderinfo_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

返回
顶部