文档中心 > API类目 > 五道口API

tmall.cityretail.fulfill.abnormal.center.abnormal.status.change (同城零售履约异常中心异常单处理结果回调接口)

同城零售履约异常中心异常单处理结果回调接口

公共参数

请求参数

名称 类型 是否必须 示例值 更多限制 描述
abnormal_status_change_dto AbnormalStatusChangeDto [] 可选
  • 最大列表长度:20
  • 入参
    • └ is_final
    • String
    • 可选
    • 是否终态
    • └ current_lng_lat
    • String
    • 可选
    • 当前经纬度
    • └ operate_time
    • String
    • 可选
    • 操作时间
    • └ operate_user_name
    • String
    • 可选
    • 处理人名称
    • └ operate_user_code
    • String
    • 可选
    • 处理人
    • └ node_code
    • String
    • 可选
    • 节点Code
    • └ node_type
    • String
    • 可选
    • 节点类型
    • └ abnormal_accept_id
    • String
    • 可选
    • 异常受理单ID
    • └ abnormal_order_id
    • String
    • 可选
    • 异常单ID
    • └ status_change_type
    • String
    • 可选
    • '
    • 状态变更类型
    • abnormal_content_dto
    • AbnormalContentDto
    • 可选
    • 参数
    • └ operate_desc
    • String
    • 可选
    • '
    • 操作描述
    • └ operate_result
    • String
    • 可选
    • '
    • 处理结果
    • └ abnormal_process_quantity
    • String
    • 可选
    • '
    • 处理数量
    • └ abnormal_quantity
    • String
    • 可选
    • '
    • 上报数量
    • └ abnormal_coordination_id
    • String
    • 可选
    • 异常协同单ID

    响应参数

    名称 类型 示例值 描述
    fulfill_single_result FulfillSingleResult 响应参数
    • └ result
    • Boolean
    • 处理结果
    • └ biz_exception
    • Boolean
    • 是否业务异常
    • └ error_msg
    • String
    • 异常信息
    • └ error_desc
    • String
    • 异常描述
    • └ error_code
    • String
    • 异常code
    • └ success
    • Boolean
    • 是否成功

    请求示例

    • JAVA
    • .NET
    • PHP
    • CURL
    • Python
    • C/C++
    • NodeJS
    TaobaoClient client = new DefaultTaobaoClient(url, appkey, secret);
    TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeRequest req = new TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeRequest();
    List<TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeRequest.AbnormalStatusChangeDto> list2 = new ArrayList<TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeRequest.AbnormalStatusChangeDto>();
    TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeRequest.AbnormalStatusChangeDto obj3 = new TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeRequest.AbnormalStatusChangeDto();
    list2.add(obj3);
    obj3.setIsFinal("‘");
    obj3.setCurrentLngLat("’");
    obj3.setOperateTime("‘");
    obj3.setOperateUserName("’");
    obj3.setOperateUserCode("‘");
    obj3.setNodeCode("’");
    obj3.setNodeType("‘");
    obj3.setAbnormalAcceptId("’");
    obj3.setAbnormalOrderId("’");
    obj3.setStatusChangeType("'");
    TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeRequest.AbnormalContentDto obj5 = new TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeRequest.AbnormalContentDto();
    obj5.setOperateDesc("'");
    obj5.setOperateResult("'");
    obj5.setAbnormalProcessQuantity("'");
    obj5.setAbnormalQuantity("'");
    list4.setAbnormalContentDto(obj5);
    obj3.setAbnormalCoordinationId("‘");
    req.setAbnormalStatusChangeDto(list2);
    TmallCityretailFulfillAbnormalCenterAbnormalStatusChangeResponse rsp = client.execute(req, sessionKey);
    System.out.println(rsp.getBody());

    响应示例

    • XML示例
    • JSON示例
    <tmall_cityretail_fulfill_abnormal_center_abnormal_status_change_response>
        <fulfill_single_result>
            <result>’</result>
            <biz_exception>‘</biz_exception>
            <error_msg>’</error_msg>
            <error_desc>‘</error_desc>
            <error_code>’</error_code>
            <success>‘</success>
        </fulfill_single_result>
    </tmall_cityretail_fulfill_abnormal_center_abnormal_status_change_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

    返回
    顶部