QimenClient client = new DefaultQimenClient(url, appkey, secret);
OrderprocessReportRequest req = new OrderprocessReportRequest();
req.setCustomerId("stub-cust-code");
req.setVersion("2.0");
Order obj1 = new Order();
obj1.setWarehouseName("奇门仓储字段,说明,string(50),,");
OrderInfo obj2 = new OrderInfo();
obj2.setPage("奇门仓储字段,说明,string(50),,");
obj2.setTotalPage("奇门仓储字段,说明,string(50),,");
obj2.setPosCode("奇门仓储字段,说明,string(50),,");
obj2.setStoreCode("奇门仓储字段,说明,string(50),,");
obj2.setTotalAmount("奇门仓储字段,说明,string(50),,");
obj2.setOrderCreateTime("奇门仓储字段,说明,string(50),,");
obj2.setOperatorCode("奇门仓储字段,说明,string(50),,");
obj2.setOperatorName("奇门仓储字段,说明,string(50),,");
obj2.setIPCode("奇门仓储字段,说明,string(50),,");
obj2.setIPCardNo("奇门仓储字段,说明,string(50),,");
obj2.setIPName("奇门仓储字段,说明,string(50),,");
obj2.setTotalQty("奇门仓储字段,说明,string(50),,");
obj2.setTargetStoreCode("奇门仓储字段,说明,string(50),,");
obj2.setTotalPlanQty("奇门仓储字段,说明,string(50),,");
obj2.setTotalStockInQty("奇门仓储字段,说明,string(50),,");
obj2.setStockInTime("奇门仓储字段,说明,string(50),,");
obj2.setOrderCode("奇门仓储字段,说明,string(50),,");
obj2.setOrderType("奇门仓储字段,说明,string(50),,");
obj2.setOrderStatus("奇门仓储字段,说明,string(50),,");
obj2.setTotalStockOutQty("奇门仓储字段,说明,string(50),,");
obj2.setStockOutTime("奇门仓储字段,说明,string(50),,");
obj2.setTaobaoStoreCode("奇门仓储字段,说明,string(50),,");
obj2.setSalesPersonCode("奇门仓储字段,说明,string(50),,");
obj2.setSalesPersonName("奇门仓储字段,说明,string(50),,");
obj2.setSalesPersonTaobaoNick("奇门仓储字段,说明,string(50),,");
obj2.setIPMobilePhone("奇门仓储字段,说明,string(50),,");
obj2.setTotalAmountBeforeDiscount("奇门仓储字段,说明,string(50),,");
obj2.setPaidAmount("奇门仓储字段,说明,string(50),,");
obj2.setPaymentType("奇门仓储字段,说明,string(50),,");
obj2.setPaymentAccount("奇门仓储字段,说明,string(50),,");
obj2.setDeliveryOrderId("奇门仓储字段,说明,string(50),,");
obj2.setWarehouseCode("奇门仓储字段,说明,string(50),,");
obj2.setLogisticsCode("奇门仓储字段,说明,string(50),,");
obj2.setOrgCode("奇门仓储字段,说明,string(50),,");
obj2.setDiscount("奇门仓储字段,说明,string(50),,");
obj2.setStandardAmount("奇门仓储字段,说明,string(50),,");
obj2.setRoundingAmount("奇门仓储字段,说明,string(50),,");
obj2.setChange("奇门仓储字段,说明,string(50),,");
obj2.setSaleDate("奇门仓储字段,说明,string(50),,");
obj2.setOrderDate("奇门仓储字段,说明,string(50),,");
obj2.setPreOrderCode("奇门仓储字段,说明,string(50),,");
obj2.setTotalActualQty("奇门仓储字段,说明,string(50),,");
obj2.setTotalActualAmount("奇门仓储字段,说明,string(50),,");
obj2.setRemark("备注");
obj1.setOrderInfo(obj2);
OrderLine obj3 = new OrderLine();
obj3.setOrderLineNo("奇门仓储字段,说明,string(50),,");
obj3.setOrderSourceCode("奇门仓储字段,说明,string(50),,");
obj3.setSubSourceCode("奇门仓储字段,说明,string(50),,");
obj3.setItemCode("奇门仓储字段,说明,string(50),,");
obj3.setItemId("奇门仓储字段,说明,string(50),,");
obj3.setItemName("奇门仓储字段,说明,string(50),,");
obj3.setPlanQty("奇门仓储字段,说明,string(50),,");
obj3.setSkuProperty("奇门仓储字段,说明,string(50),,");
obj3.setPurchasePrice("奇门仓储字段,说明,string(50),,");
obj3.setRetailPrice("奇门仓储字段,说明,string(50),,");
obj3.setInventoryType("奇门仓储字段,说明,string(50),,");
obj3.setProductDate("奇门仓储字段,说明,string(50),,");
obj3.setExpireDate("奇门仓储字段,说明,string(50),,");
obj3.setProduceCode("奇门仓储字段,说明,string(50),,");
obj3.setBatchCode("奇门仓储字段,说明,string(50),,");
obj3.setActualQty("奇门仓储字段,说明,string(50),,");
obj3.setSourceOrderCode("奇门仓储字段,说明,string(50),,");
obj3.setSubSourceOrderCode("奇门仓储字段,说明,string(50),,");
obj3.setExtCode("奇门仓储字段,说明,string(50),,");
obj3.setActualPrice("奇门仓储字段,说明,string(50),,");
obj3.setDiscountAmount("奇门仓储字段,说明,string(50),,");
obj3.setOwnerCode("奇门仓储字段,说明,string(50),,");
obj3.setQuantity("奇门仓储字段,说明,string(50),,");
obj3.setOutBizCode("奇门仓储字段,说明,string(50),,");
obj3.setProductCode("奇门仓储字段,说明,string(50),,");
obj3.setStockInQty("奇门仓储字段,说明,string(50),,");
obj3.setStockOutQty("奇门仓储字段,说明,string(50),,");
obj3.setWarehouseCode("奇门仓储字段,说明,string(50),,");
obj3.setDeliveryOrderId("奇门仓储字段,说明,string(50),,");
obj3.setStatus("奇门仓储字段,说明,string(50),,");
obj3.setQrCode("奇门仓储字段,说明,string(50),,");
Batch obj4 = new Batch();
obj4.setBatchCode("奇门仓储字段,说明,string(50),,");
obj4.setProductDate("奇门仓储字段,说明,string(50),,");
obj4.setExpireDate("奇门仓储字段,说明,string(50),,");
obj4.setProduceCode("奇门仓储字段,说明,string(50),,");
obj4.setInventoryType("奇门仓储字段,说明,string(50),,");
obj4.setActualQty("奇门仓储字段,说明,string(50),,");
obj4.setQuantity("奇门仓储字段,说明,string(50),,");
obj4.setRemark("备注");
obj3.setBatchs(obj4);
obj3.setPayNo("奇门仓储字段,说明,string(50),,");
obj3.setTaobaoItemCode("奇门仓储字段,说明,string(50),,");
obj3.setDiscountPrice("奇门仓储字段,说明,string(50),,");
obj3.setColor("奇门仓储字段,说明,string(50),,");
obj3.setSize("奇门仓储字段,说明,string(50),,");
obj3.setStandardPrice("奇门仓储字段,说明,string(50),,");
obj3.setReferencePrice("奇门仓储字段,说明,string(50),,");
obj3.setDiscount("奇门仓储字段,说明,string(50),,");
obj3.setStandardAmount("奇门仓储字段,说明,string(50),,");
obj3.setSettlementAmount("奇门仓储字段,说明,string(50),,");
obj3.setLocationCode("奇门仓储字段,说明,string(50),,");
obj3.setAmount("奇门仓储字段,说明,string(50),,");
obj3.setMoveOutLocation("奇门仓储字段,说明,string(50),,");
obj3.setMoveInLocation("奇门仓储字段,说明,string(50),,");
obj3.setExceptionQty("奇门仓储字段,说明,string(50),,");
obj3.setSubDeliveryOrderId("奇门仓储字段,说明,string(50),,");
obj3.setRemark("备注");
obj1.setOrderLines(obj3);
obj1.setOrderCode("D1234");
obj1.setOrderId("W1234");
obj1.setOrderType("JYCK");
obj1.setWarehouseCode("W1234");
obj1.setRemark("备注");
obj1.setOwnerCode("Owner1234");
req.setOrder(obj1);
Process obj5 = new Process();
obj5.setProcessStatus("ACCEPT");
obj5.setOperatorCode("O1234");
obj5.setOperatorName("老王");
obj5.setOperateTime("2016-09-09 12:00:00");
obj5.setOperateInfo("处理中");
obj5.setRemark("备注信息");
obj5.setExpressCode("123456789");
req.setProcess(obj5);
req.setRemark("备注");
OrderprocessReportResponse rsp = client.execute(req);
System.out.println(rsp.getBody());
IQimenClient client = new DefaultQimenClient(url, appkey, secret);
OrderprocessReportRequest req = new OrderprocessReportRequest();
req.CustomerId = "stub-cust-code";
req.Version = "2.0";
OrderprocessReportRequest.OrderDomain obj1 = new OrderprocessReportRequest.OrderDomain();
req.Order_= obj1;
obj1.WarehouseName = "奇门仓储字段,说明,string(50),,";
List<OrderprocessReportRequest.OrderInfoDomain> list3 = new List<OrderprocessReportRequest.OrderInfoDomain>();
OrderprocessReportRequest.OrderInfoDomain obj4 = new OrderprocessReportRequest.OrderInfoDomain();
list3.Add(obj4);
obj1.OrderInfo_ = list3;
obj4.Page = "奇门仓储字段,说明,string(50),,";
obj4.TotalPage = "奇门仓储字段,说明,string(50),,";
obj4.PosCode = "奇门仓储字段,说明,string(50),,";
obj4.StoreCode = "奇门仓储字段,说明,string(50),,";
obj4.TotalAmount = "奇门仓储字段,说明,string(50),,";
obj4.OrderCreateTime = "奇门仓储字段,说明,string(50),,";
obj4.OperatorCode = "奇门仓储字段,说明,string(50),,";
obj4.OperatorName = "奇门仓储字段,说明,string(50),,";
obj4.IPCode = "奇门仓储字段,说明,string(50),,";
obj4.IPCardNo = "奇门仓储字段,说明,string(50),,";
obj4.IPName = "奇门仓储字段,说明,string(50),,";
obj4.TotalQty = "奇门仓储字段,说明,string(50),,";
obj4.TargetStoreCode = "奇门仓储字段,说明,string(50),,";
obj4.TotalPlanQty = "奇门仓储字段,说明,string(50),,";
obj4.TotalStockInQty = "奇门仓储字段,说明,string(50),,";
obj4.StockInTime = "奇门仓储字段,说明,string(50),,";
obj4.OrderCode = "奇门仓储字段,说明,string(50),,";
obj4.OrderType = "奇门仓储字段,说明,string(50),,";
obj4.OrderStatus = "奇门仓储字段,说明,string(50),,";
obj4.TotalStockOutQty = "奇门仓储字段,说明,string(50),,";
obj4.StockOutTime = "奇门仓储字段,说明,string(50),,";
obj4.TaobaoStoreCode = "奇门仓储字段,说明,string(50),,";
obj4.SalesPersonCode = "奇门仓储字段,说明,string(50),,";
obj4.SalesPersonName = "奇门仓储字段,说明,string(50),,";
obj4.SalesPersonTaobaoNick = "奇门仓储字段,说明,string(50),,";
obj4.IPMobilePhone = "奇门仓储字段,说明,string(50),,";
obj4.TotalAmountBeforeDiscount = "奇门仓储字段,说明,string(50),,";
obj4.PaidAmount = "奇门仓储字段,说明,string(50),,";
obj4.PaymentType = "奇门仓储字段,说明,string(50),,";
obj4.PaymentAccount = "奇门仓储字段,说明,string(50),,";
obj4.DeliveryOrderId = "奇门仓储字段,说明,string(50),,";
obj4.WarehouseCode = "奇门仓储字段,说明,string(50),,";
obj4.LogisticsCode = "奇门仓储字段,说明,string(50),,";
obj4.OrgCode = "奇门仓储字段,说明,string(50),,";
obj4.Discount = "奇门仓储字段,说明,string(50),,";
obj4.StandardAmount = "奇门仓储字段,说明,string(50),,";
obj4.RoundingAmount = "奇门仓储字段,说明,string(50),,";
obj4.Change = "奇门仓储字段,说明,string(50),,";
obj4.SaleDate = "奇门仓储字段,说明,string(50),,";
obj4.OrderDate = "奇门仓储字段,说明,string(50),,";
obj4.PreOrderCode = "奇门仓储字段,说明,string(50),,";
obj4.TotalActualQty = "奇门仓储字段,说明,string(50),,";
obj4.TotalActualAmount = "奇门仓储字段,说明,string(50),,";
obj4.Remark = "备注";
obj1.OrderInfo= list5;
List<OrderprocessReportRequest.OrderLineDomain> list7 = new List<OrderprocessReportRequest.OrderLineDomain>();
OrderprocessReportRequest.OrderLineDomain obj8 = new OrderprocessReportRequest.OrderLineDomain();
list7.Add(obj8);
obj1.OrderLines_ = list7;
obj8.OrderLineNo = "奇门仓储字段,说明,string(50),,";
obj8.OrderSourceCode = "奇门仓储字段,说明,string(50),,";
obj8.SubSourceCode = "奇门仓储字段,说明,string(50),,";
obj8.ItemCode = "奇门仓储字段,说明,string(50),,";
obj8.ItemId = "奇门仓储字段,说明,string(50),,";
obj8.ItemName = "奇门仓储字段,说明,string(50),,";
obj8.PlanQty = "奇门仓储字段,说明,string(50),,";
obj8.SkuProperty = "奇门仓储字段,说明,string(50),,";
obj8.PurchasePrice = "奇门仓储字段,说明,string(50),,";
obj8.RetailPrice = "奇门仓储字段,说明,string(50),,";
obj8.InventoryType = "奇门仓储字段,说明,string(50),,";
obj8.ProductDate = "奇门仓储字段,说明,string(50),,";
obj8.ExpireDate = "奇门仓储字段,说明,string(50),,";
obj8.ProduceCode = "奇门仓储字段,说明,string(50),,";
obj8.BatchCode = "奇门仓储字段,说明,string(50),,";
obj8.ActualQty = "奇门仓储字段,说明,string(50),,";
obj8.SourceOrderCode = "奇门仓储字段,说明,string(50),,";
obj8.SubSourceOrderCode = "奇门仓储字段,说明,string(50),,";
obj8.ExtCode = "奇门仓储字段,说明,string(50),,";
obj8.ActualPrice = "奇门仓储字段,说明,string(50),,";
obj8.DiscountAmount = "奇门仓储字段,说明,string(50),,";
obj8.OwnerCode = "奇门仓储字段,说明,string(50),,";
obj8.Quantity = "奇门仓储字段,说明,string(50),,";
obj8.OutBizCode = "奇门仓储字段,说明,string(50),,";
obj8.ProductCode = "奇门仓储字段,说明,string(50),,";
obj8.StockInQty = "奇门仓储字段,说明,string(50),,";
obj8.StockOutQty = "奇门仓储字段,说明,string(50),,";
obj8.WarehouseCode = "奇门仓储字段,说明,string(50),,";
obj8.DeliveryOrderId = "奇门仓储字段,说明,string(50),,";
obj8.Status = "奇门仓储字段,说明,string(50),,";
obj8.QrCode = "奇门仓储字段,说明,string(50),,";
List<OrderprocessReportRequest.BatchDomain> list10 = new List<OrderprocessReportRequest.BatchDomain>();
OrderprocessReportRequest.BatchDomain obj11 = new OrderprocessReportRequest.BatchDomain();
list10.Add(obj11);
obj8.Batchs_ = list10;
obj11.BatchCode = "奇门仓储字段,说明,string(50),,";
obj11.ProductDate = "奇门仓储字段,说明,string(50),,";
obj11.ExpireDate = "奇门仓储字段,说明,string(50),,";
obj11.ProduceCode = "奇门仓储字段,说明,string(50),,";
obj11.InventoryType = "奇门仓储字段,说明,string(50),,";
obj11.ActualQty = "奇门仓储字段,说明,string(50),,";
obj11.Quantity = "奇门仓储字段,说明,string(50),,";
obj11.Remark = "备注";
obj8.Batchs= list12;
obj8.PayNo = "奇门仓储字段,说明,string(50),,";
obj8.TaobaoItemCode = "奇门仓储字段,说明,string(50),,";
obj8.DiscountPrice = "奇门仓储字段,说明,string(50),,";
obj8.Color = "奇门仓储字段,说明,string(50),,";
obj8.Size = "奇门仓储字段,说明,string(50),,";
obj8.StandardPrice = "奇门仓储字段,说明,string(50),,";
obj8.ReferencePrice = "奇门仓储字段,说明,string(50),,";
obj8.Discount = "奇门仓储字段,说明,string(50),,";
obj8.StandardAmount = "奇门仓储字段,说明,string(50),,";
obj8.SettlementAmount = "奇门仓储字段,说明,string(50),,";
obj8.LocationCode = "奇门仓储字段,说明,string(50),,";
obj8.Amount = "奇门仓储字段,说明,string(50),,";
obj8.MoveOutLocation = "奇门仓储字段,说明,string(50),,";
obj8.MoveInLocation = "奇门仓储字段,说明,string(50),,";
obj8.ExceptionQty = "奇门仓储字段,说明,string(50),,";
obj8.SubDeliveryOrderId = "奇门仓储字段,说明,string(50),,";
obj8.Remark = "备注";
obj1.OrderLines= list13;
obj1.OrderCode = "D1234";
obj1.OrderId = "W1234";
obj1.OrderType = "JYCK";
obj1.WarehouseCode = "W1234";
obj1.Remark = "备注";
obj1.OwnerCode = "Owner1234";
req.Order_ = obj1;
OrderprocessReportRequest.ProcessDomain obj14 = new OrderprocessReportRequest.ProcessDomain();
req.Process_= obj14;
obj14.ProcessStatus = "ACCEPT";
obj14.OperatorCode = "O1234";
obj14.OperatorName = "老王";
obj14.OperateTime = "2016-09-09 12:00:00";
obj14.OperateInfo = "处理中";
obj14.Remark = "备注信息";
obj14.ExpressCode = "123456789";
req.Process_ = obj14;
req.Remark = "备注";
OrderprocessReportResponse rsp = client.Execute(req);
Console.WriteLine(rsp.Body);
$c = new TopClient;
$c->appkey = $appkey;
$c->secretKey = $secret;
$req = new QimenOrderprocessReportRequest;
$request = new OrderProcessReportRequest;
$order = new Order;
$order->warehouse_name="奇门仓储字段,说明,string(50),,";
$orderInfo = new OrderInfo;
$orderInfo->page="奇门仓储字段,说明,string(50),,";
$orderInfo->total_page="奇门仓储字段,说明,string(50),,";
$orderInfo->pos_code="奇门仓储字段,说明,string(50),,";
$orderInfo->store_code="奇门仓储字段,说明,string(50),,";
$orderInfo->total_amount="奇门仓储字段,说明,string(50),,";
$orderInfo->order_create_time="奇门仓储字段,说明,string(50),,";
$orderInfo->operator_code="奇门仓储字段,说明,string(50),,";
$orderInfo->operator_name="奇门仓储字段,说明,string(50),,";
$orderInfo->v_i_p_code="奇门仓储字段,说明,string(50),,";
$orderInfo->v_i_p_card_no="奇门仓储字段,说明,string(50),,";
$orderInfo->v_i_p_name="奇门仓储字段,说明,string(50),,";
$orderInfo->total_qty="奇门仓储字段,说明,string(50),,";
$orderInfo->target_store_code="奇门仓储字段,说明,string(50),,";
$orderInfo->total_plan_qty="奇门仓储字段,说明,string(50),,";
$orderInfo->total_stock_in_qty="奇门仓储字段,说明,string(50),,";
$orderInfo->stock_in_time="奇门仓储字段,说明,string(50),,";
$orderInfo->order_code="奇门仓储字段,说明,string(50),,";
$orderInfo->order_type="奇门仓储字段,说明,string(50),,";
$orderInfo->order_status="奇门仓储字段,说明,string(50),,";
$orderInfo->total_stock_out_qty="奇门仓储字段,说明,string(50),,";
$orderInfo->stock_out_time="奇门仓储字段,说明,string(50),,";
$orderInfo->taobao_store_code="奇门仓储字段,说明,string(50),,";
$orderInfo->sales_person_code="奇门仓储字段,说明,string(50),,";
$orderInfo->sales_person_name="奇门仓储字段,说明,string(50),,";
$orderInfo->sales_person_taobao_nick="奇门仓储字段,说明,string(50),,";
$orderInfo->v_i_p_mobile_phone="奇门仓储字段,说明,string(50),,";
$orderInfo->total_amount_before_discount="奇门仓储字段,说明,string(50),,";
$orderInfo->paid_amount="奇门仓储字段,说明,string(50),,";
$orderInfo->payment_type="奇门仓储字段,说明,string(50),,";
$orderInfo->payment_account="奇门仓储字段,说明,string(50),,";
$orderInfo->delivery_order_id="奇门仓储字段,说明,string(50),,";
$orderInfo->warehouse_code="奇门仓储字段,说明,string(50),,";
$orderInfo->logistics_code="奇门仓储字段,说明,string(50),,";
$orderInfo->org_code="奇门仓储字段,说明,string(50),,";
$orderInfo->discount="奇门仓储字段,说明,string(50),,";
$orderInfo->standard_amount="奇门仓储字段,说明,string(50),,";
$orderInfo->rounding_amount="奇门仓储字段,说明,string(50),,";
$orderInfo->change="奇门仓储字段,说明,string(50),,";
$orderInfo->sale_date="奇门仓储字段,说明,string(50),,";
$orderInfo->order_date="奇门仓储字段,说明,string(50),,";
$orderInfo->pre_order_code="奇门仓储字段,说明,string(50),,";
$orderInfo->total_actual_qty="奇门仓储字段,说明,string(50),,";
$orderInfo->total_actual_amount="奇门仓储字段,说明,string(50),,";
$orderInfo->remark="备注";
$orderInfo->extend_props="";
$order->orderInfo = $orderInfo;
$orderLines = new OrderLine;
$orderLines->order_line_no="奇门仓储字段,说明,string(50),,";
$orderLines->order_source_code="奇门仓储字段,说明,string(50),,";
$orderLines->sub_source_code="奇门仓储字段,说明,string(50),,";
$orderLines->item_code="奇门仓储字段,说明,string(50),,";
$orderLines->item_id="奇门仓储字段,说明,string(50),,";
$orderLines->item_name="奇门仓储字段,说明,string(50),,";
$orderLines->plan_qty="奇门仓储字段,说明,string(50),,";
$orderLines->sku_property="奇门仓储字段,说明,string(50),,";
$orderLines->purchase_price="奇门仓储字段,说明,string(50),,";
$orderLines->retail_price="奇门仓储字段,说明,string(50),,";
$orderLines->inventory_type="奇门仓储字段,说明,string(50),,";
$orderLines->product_date="奇门仓储字段,说明,string(50),,";
$orderLines->expire_date="奇门仓储字段,说明,string(50),,";
$orderLines->produce_code="奇门仓储字段,说明,string(50),,";
$orderLines->batch_code="奇门仓储字段,说明,string(50),,";
$orderLines->actual_qty="奇门仓储字段,说明,string(50),,";
$orderLines->source_order_code="奇门仓储字段,说明,string(50),,";
$orderLines->sub_source_order_code="奇门仓储字段,说明,string(50),,";
$orderLines->ext_code="奇门仓储字段,说明,string(50),,";
$orderLines->actual_price="奇门仓储字段,说明,string(50),,";
$orderLines->discount_amount="奇门仓储字段,说明,string(50),,";
$orderLines->owner_code="奇门仓储字段,说明,string(50),,";
$orderLines->quantity="奇门仓储字段,说明,string(50),,";
$orderLines->out_biz_code="奇门仓储字段,说明,string(50),,";
$orderLines->product_code="奇门仓储字段,说明,string(50),,";
$orderLines->stock_in_qty="奇门仓储字段,说明,string(50),,";
$orderLines->stock_out_qty="奇门仓储字段,说明,string(50),,";
$orderLines->warehouse_code="奇门仓储字段,说明,string(50),,";
$orderLines->delivery_order_id="奇门仓储字段,说明,string(50),,";
$orderLines->status="奇门仓储字段,说明,string(50),,";
$orderLines->qr_code="奇门仓储字段,说明,string(50),,";
$batchs = new Batch;
$batchs->batch_code="奇门仓储字段,说明,string(50),,";
$batchs->product_date="奇门仓储字段,说明,string(50),,";
$batchs->expire_date="奇门仓储字段,说明,string(50),,";
$batchs->produce_code="奇门仓储字段,说明,string(50),,";
$batchs->inventory_type="奇门仓储字段,说明,string(50),,";
$batchs->actual_qty="奇门仓储字段,说明,string(50),,";
$batchs->quantity="奇门仓储字段,说明,string(50),,";
$batchs->remark="备注";
$orderLines->batchs = $batchs;
$orderLines->pay_no="奇门仓储字段,说明,string(50),,";
$orderLines->taobao_item_code="奇门仓储字段,说明,string(50),,";
$orderLines->discount_price="奇门仓储字段,说明,string(50),,";
$orderLines->color="奇门仓储字段,说明,string(50),,";
$orderLines->size="奇门仓储字段,说明,string(50),,";
$orderLines->standard_price="奇门仓储字段,说明,string(50),,";
$orderLines->reference_price="奇门仓储字段,说明,string(50),,";
$orderLines->discount="奇门仓储字段,说明,string(50),,";
$orderLines->standard_amount="奇门仓储字段,说明,string(50),,";
$orderLines->settlement_amount="奇门仓储字段,说明,string(50),,";
$orderLines->location_code="奇门仓储字段,说明,string(50),,";
$orderLines->amount="奇门仓储字段,说明,string(50),,";
$orderLines->move_out_location="奇门仓储字段,说明,string(50),,";
$orderLines->move_in_location="奇门仓储字段,说明,string(50),,";
$orderLines->exception_qty="奇门仓储字段,说明,string(50),,";
$orderLines->sub_delivery_order_id="奇门仓储字段,说明,string(50),,";
$orderLines->remark="备注";
$orderLines->extend_props="";
$order->orderLines = $orderLines;
$order->order_code="D1234";
$order->order_id="W1234";
$order->order_type="JYCK";
$order->warehouse_code="W1234";
$order->remark="备注";
$order->owner_code="Owner1234";
$order->extend_props="";
$request->order = $order;
$process = new Process;
$process->process_status="ACCEPT";
$process->operator_code="O1234";
$process->operator_name="老王";
$process->operate_time="2016-09-09 12:00:00";
$process->operate_info="处理中";
$process->remark="备注信息";
$process->express_code="123456789";
$process->extend_props="";
$request->process = $process;
$request->extend_props="";
$request->remark="备注";
$req->setRequest(json_encode($request));
$resp = $c->execute($req);
curl -X POST 'http://qimenapi.tbsandbox.com/router/qimen/service?app_key=testerp_appkey&customerId=stub-cust-code&format=xml&method=taobao.qimen.orderprocess.report&sign=4E52D1B91627944AE25739F156B4B979&sign_method=md5×tamp=2025-04-28+18%3A19%3A52&v=2.0&version=1' \
-H 'Content-Type:application/x-www-form-urlencoded;charset=utf-8' \
--data \
'<request>
<process>
<operateInfo>处理中</operateInfo>
<processStatus>ACCEPT</processStatus>
<operateTime>2016-09-09 12:00:00</operateTime>
<expressCode>123456789</expressCode>
<remark>备注信息</remark>
<operatorCode>O1234</operatorCode>
<operatorName>老王</operatorName>
</process>
<remark>备注</remark>
<order>
<orderType>JYCK</orderType>
<orderLines>
<itemCode>奇门仓储字段,说明,string(50),,</itemCode>
<discountAmount>奇门仓储字段,说明,string(50),,</discountAmount>
<discount>奇门仓储字段,说明,string(50),,</discount>
<purchasePrice>奇门仓储字段,说明,string(50),,</purchasePrice>
<itemName>奇门仓储字段,说明,string(50),,</itemName>
<qrCode>奇门仓储字段,说明,string(50),,</qrCode>
<orderSourceCode>奇门仓储字段,说明,string(50),,</orderSourceCode>
<deliveryOrderId>奇门仓储字段,说明,string(50),,</deliveryOrderId>
<inventoryType>奇门仓储字段,说明,string(50),,</inventoryType>
<stockInQty>奇门仓储字段,说明,string(50),,</stockInQty>
<subSourceCode>奇门仓储字段,说明,string(50),,</subSourceCode>
<productDate>奇门仓储字段,说明,string(50),,</productDate>
<itemId>奇门仓储字段,说明,string(50),,</itemId>
<batchs>
<produceCode>奇门仓储字段,说明,string(50),,</produceCode>
<inventoryType>奇门仓储字段,说明,string(50),,</inventoryType>
<quantity>奇门仓储字段,说明,string(50),,</quantity>
<batchCode>奇门仓储字段,说明,string(50),,</batchCode>
<expireDate>奇门仓储字段,说明,string(50),,</expireDate>
<remark>备注</remark>
<productDate>奇门仓储字段,说明,string(50),,</productDate>
<actualQty>奇门仓储字段,说明,string(50),,</actualQty>
</batchs>
<extCode>奇门仓储字段,说明,string(50),,</extCode>
<size>奇门仓储字段,说明,string(50),,</size>
<sourceOrderCode>奇门仓储字段,说明,string(50),,</sourceOrderCode>
<locationCode>奇门仓储字段,说明,string(50),,</locationCode>
<status>奇门仓储字段,说明,string(50),,</status>
<planQty>奇门仓储字段,说明,string(50),,</planQty>
<color>奇门仓储字段,说明,string(50),,</color>
<actualPrice>奇门仓储字段,说明,string(50),,</actualPrice>
<ownerCode>奇门仓储字段,说明,string(50),,</ownerCode>
<discountPrice>奇门仓储字段,说明,string(50),,</discountPrice>
<stockOutQty>奇门仓储字段,说明,string(50),,</stockOutQty>
<remark>备注</remark>
<actualQty>奇门仓储字段,说明,string(50),,</actualQty>
<warehouseCode>奇门仓储字段,说明,string(50),,</warehouseCode>
<skuProperty>奇门仓储字段,说明,string(50),,</skuProperty>
<produceCode>奇门仓储字段,说明,string(50),,</produceCode>
<payNo>奇门仓储字段,说明,string(50),,</payNo>
<referencePrice>奇门仓储字段,说明,string(50),,</referencePrice>
<taobaoItemCode>奇门仓储字段,说明,string(50),,</taobaoItemCode>
<expireDate>奇门仓储字段,说明,string(50),,</expireDate>
<orderLineNo>奇门仓储字段,说明,string(50),,</orderLineNo>
<amount>奇门仓储字段,说明,string(50),,</amount>
<quantity>奇门仓储字段,说明,string(50),,</quantity>
<exceptionQty>奇门仓储字段,说明,string(50),,</exceptionQty>
<batchCode>奇门仓储字段,说明,string(50),,</batchCode>
<standardPrice>奇门仓储字段,说明,string(50),,</standardPrice>
<subDeliveryOrderId>奇门仓储字段,说明,string(50),,</subDeliveryOrderId>
<subSourceOrderCode>奇门仓储字段,说明,string(50),,</subSourceOrderCode>
<moveOutLocation>奇门仓储字段,说明,string(50),,</moveOutLocation>
<standardAmount>奇门仓储字段,说明,string(50),,</standardAmount>
<productCode>奇门仓储字段,说明,string(50),,</productCode>
<outBizCode>奇门仓储字段,说明,string(50),,</outBizCode>
<moveInLocation>奇门仓储字段,说明,string(50),,</moveInLocation>
<settlementAmount>奇门仓储字段,说明,string(50),,</settlementAmount>
<retailPrice>奇门仓储字段,说明,string(50),,</retailPrice>
</orderLines>
<orderId>W1234</orderId>
<ownerCode>Owner1234</ownerCode>
<orderInfo>
<orderType>奇门仓储字段,说明,string(50),,</orderType>
<roundingAmount>奇门仓储字段,说明,string(50),,</roundingAmount>
<totalQty>奇门仓储字段,说明,string(50),,</totalQty>
<VIPCardNo>奇门仓储字段,说明,string(50),,</VIPCardNo>
<orderStatus>奇门仓储字段,说明,string(50),,</orderStatus>
<discount>奇门仓储字段,说明,string(50),,</discount>
<totalActualAmount>奇门仓储字段,说明,string(50),,</totalActualAmount>
<remark>备注</remark>
<VIPMobilePhone>奇门仓储字段,说明,string(50),,</VIPMobilePhone>
<saleDate>奇门仓储字段,说明,string(50),,</saleDate>
<operatorCode>奇门仓储字段,说明,string(50),,</operatorCode>
<operatorName>奇门仓储字段,说明,string(50),,</operatorName>
<totalPlanQty>奇门仓储字段,说明,string(50),,</totalPlanQty>
<totalActualQty>奇门仓储字段,说明,string(50),,</totalActualQty>
<stockInTime>奇门仓储字段,说明,string(50),,</stockInTime>
<warehouseCode>奇门仓储字段,说明,string(50),,</warehouseCode>
<paymentType>奇门仓储字段,说明,string(50),,</paymentType>
<targetStoreCode>奇门仓储字段,说明,string(50),,</targetStoreCode>
<orgCode>奇门仓储字段,说明,string(50),,</orgCode>
<salesPersonName>奇门仓储字段,说明,string(50),,</salesPersonName>
<VIPName>奇门仓储字段,说明,string(50),,</VIPName>
<stockOutTime>奇门仓储字段,说明,string(50),,</stockOutTime>
<deliveryOrderId>奇门仓储字段,说明,string(50),,</deliveryOrderId>
<preOrderCode>奇门仓储字段,说明,string(50),,</preOrderCode>
<totalPage>奇门仓储字段,说明,string(50),,</totalPage>
<orderCreateTime>奇门仓储字段,说明,string(50),,</orderCreateTime>
<change>奇门仓储字段,说明,string(50),,</change>
<logisticsCode>奇门仓储字段,说明,string(50),,</logisticsCode>
<totalStockOutQty>奇门仓储字段,说明,string(50),,</totalStockOutQty>
<taobaoStoreCode>奇门仓储字段,说明,string(50),,</taobaoStoreCode>
<totalAmount>奇门仓储字段,说明,string(50),,</totalAmount>
<standardAmount>奇门仓储字段,说明,string(50),,</standardAmount>
<totalStockInQty>奇门仓储字段,说明,string(50),,</totalStockInQty>
<totalAmountBeforeDiscount>奇门仓储字段,说明,string(50),,</totalAmountBeforeDiscount>
<posCode>奇门仓储字段,说明,string(50),,</posCode>
<salesPersonTaobaoNick>奇门仓储字段,说明,string(50),,</salesPersonTaobaoNick>
<orderCode>奇门仓储字段,说明,string(50),,</orderCode>
<page>奇门仓储字段,说明,string(50),,</page>
<VIPCode>奇门仓储字段,说明,string(50),,</VIPCode>
<paidAmount>奇门仓储字段,说明,string(50),,</paidAmount>
<paymentAccount>奇门仓储字段,说明,string(50),,</paymentAccount>
<orderDate>奇门仓储字段,说明,string(50),,</orderDate>
<storeCode>奇门仓储字段,说明,string(50),,</storeCode>
<salesPersonCode>奇门仓储字段,说明,string(50),,</salesPersonCode>
</orderInfo>
<orderCode>D1234</orderCode>
<remark>备注</remark>
<warehouseName>奇门仓储字段,说明,string(50),,</warehouseName>
<warehouseCode>W1234</warehouseCode>
</order>
</request>'
# -*- coding: utf-8 -*-
import top.api
req=top.api.QimenOrderprocessReportRequest(url,port)
req.set_app_info(top.appinfo(appkey,secret))
req.request="数据结构示例JSON格式"
try:
resp= req.getResponse()
print(resp)
except Exception,e:
print(e)
pTopRequest pRequest = alloc_top_request();
pTopResponse pResponse = NULL;
pTaobaoClient pClient = alloc_taobao_client(url, appkey, appsecret);
set_api_name(pRequest,"taobao.qimen.orderprocess.report");
add_param(pRequest,"request","数据结构JSON示例");
pResponse = top_execute(pClient,pRequest,NULL);
printf("ret code:%d\n",pResponse->code);
if(pResponse->code == 0){
pTopResponseIterator ite = init_response_iterator(pResponse);
pResultItem pResultItem = alloc_result_item();
while(parseNext(ite, pResultItem) == 0){
printf("%s:%s\n",pResultItem->key,pResultItem->value);
}
destroy_response_iterator(ite);
destroy_result_item(pResultItem);
}
destroy_top_request(pRequest);
destroy_top_response(pResponse);
destroy_taobao_client(pClient);
TopClient = require('./topClient').TopClient;
var client = new TopClient({
'appkey': 'appkey',
'appsecret': 'secret',
'REST_URL': 'http://gw.api.taobao.com/router/rest'
});
client.execute('taobao.qimen.orderprocess.report', {
'request':'数据结构JSON示例'
}, function(error, response) {
if (!error) console.log(response);
else console.log(error);
})