返回订单API

dangdang.orders.orderCancelRequest.get

获取取消申请单详情 -- 新增接口

  • 接口名称:获取取消申请单详情

    功能描述:获取取消申请单详情

    请求方式:GET

    编辑格式:GBK

    返回类型:xml

    版本:1.0

  • 系统级输入参数:

    请参考系统级输入参数

    应用级输入参数:

    变量名称 变量命名 变量类型 是否必填 示例 说明
    店铺编号 gShopID int 489 系统级输入参数
    订单编号 orderId Long 100001
    申请方 applySource int 3 1:商家,2:客服,3:顾客
    申请状态 applyStatus int 100 0, 提交申请;100, 审核通过;-100, 审核不通过;1100, 撤销申请单
    创建时间-开始 creationDateBegin String 2015-06-05 16:52:12 yyyy-MM-dd HH:mm:ss
    创建时间-结束 creationDateEnd
    String
    2015-06-05 16:52:12
    yyyy-MM-dd HH:mm:ss

  • 商家接收到的XML文件格式说明:

  • 商家接收到的XML文件实例:

    <?xml version="1.0" encoding="GBK" standalone="yes"?>
    <reponse>
        <result>true</result>
        <resultMessage>查询成功</resultMessage>
        <xmlData>
            <orderCancelApplyRemote>
                <applyId>3168</applyId>
                <orderId>12775874305</orderId>
                <applySource>3</applySource>
                <applierId>27606155</applierId>
                <applierName>顾客</applierName>
                <applyStatus>100</applyStatus>
                <checkSource>1</checkSource>
                <checkerId>140982933</checkerId>
                <checkerName>邱刚毅</checkerName>
                <cancelReason>现在不想购买</cancelReason>
                <checkRemark>审核通过</checkRemark>
                <shopId>11111</shopId>
                <checkDate>2015-07-10 14:03:57</checkDate>
                <creationDate>2015-07-10 13:53:43</creationDate>
                <lastChangeDate>2015-07-10 14:03:57</lastChangeDate>
            </orderCancelApplyRemote>
            <orderCancelApplyRemote>
                <applyId>4134</applyId>
                <orderId>12777451146</orderId>
                <applySource>3</applySource>
                <applierId>166199796</applierId>
                <applierName>顾客</applierName>
                <applyStatus>100</applyStatus>
                <checkSource>1</checkSource>
                <checkerId>140982933</checkerId>
                <checkerName>邱刚毅</checkerName>
                <cancelReason>其它,无货</cancelReason>
                <checkRemark>审核通过</checkRemark>
                <shopId>11111</shopId>
                <checkDate>2015-07-10 17:27:30</checkDate>
                <creationDate>2015-07-10 17:25:15</creationDate>
                <lastChangeDate>2015-07-10 17:27:30</lastChangeDate>
            </orderCancelApplyRemote>
        </xmlData>
    </reponse>




  • java版

    SdkClient sdkClient= new SdkClient(appKey, appSecret, session, version) ;
    OrderCancelApplyDetailsGetRequest request=new OrderCancelApplyDetailsGetRequest();
    OrderCancelDetails cancelDetails=new  OrderCancelDetails();
    cancelDetails.setOrderId("38081041620");
    request.setOrderCancelDetails(cancelDetails);
    OrderCancelApplyDetailsGetResponse response=sdkClient.excute(request);
    System.out.println(response.toString());


    php版

    $sdkClient = new DDHttpClient(appkey,appSecret,session);
    $ordersOrderCancelRequestGetRequest = new OrdersOrderCancelRequestGetRequest();;
    $ordersOrderCancelRequestGetRequest->setOrderId("1013037670387");
    $sdkResponse = $sdkClient->execute($ordersOrderCancelRequestGetRequest);