orderlist/batch_get
目录 |
1.接口说明
1.1接口描述
U订货批量获取订单信息
1.2适用版本
U订货最新版
2.使用场景
U订货批量获取订单信息
3.接口调用说明
3.1请求说明
url | https://api.yonyouup.com/udh/orderlist/batch_get |
格式 | JSON |
https请求方式 | GET |
编码类型 | UTF-8 |
3.2url参数说明
参数 | 是否必填 | 类型 | 描述 |
---|---|---|---|
from_account | 是 | string | 调用方id |
to_account | 是 | string | 提供方id |
app_key | 是 | string | 应用编码 |
token | 是 | string | 全局访问唯一识别码 |
ds_sequence | 否 | number | 数据源序号(默认取应用的第一个数据源) |
page_index | 否 | string | 页号 |
rows_per_page | 否 | string | 每页行数 |
ordernos | 是 | string | U易联订单编号 |
3.3请求示例
GET https://api.yonyouup.com/udh/orderlist/batch_get?from_account=yangjqf&to_account=test_yangjqf&app_key=opa705f31281083360b&token=730d7b8cfb0a4a3bbc93a962660c8ce3&ds_sequence=1&id=UO806-43e01609080001
3.4返回参数说明
参数说明 | 类型 | 参数路径 | 描述 |
---|---|---|---|
errcode | string | 错误码,0 为正常。 | |
errmsg | string | 错误信息。 | |
page_index | string | 页号 | |
rows_per_page | string | 每页行数 | |
row_count | string | 总行数 | |
page_count | string | 页数 | |
cOrderNo | string | 订单编号 | |
iInvoiceMoney | string | 发票金额 | |
cBankName | string | 发票开户行 | |
cSubBankName | string | 发票开户支行 | |
cBankCode | string | 发票开户行编码 | |
cUserBankName | string | 发票开户名 | |
cInvoiceTitle | string | 发票抬头 | |
cInvoiceType | string | 发票类型 | |
cBankAccount | string | 发票开户账号 | |
cInvoiceContent | string | 发票内容 | |
cTaxNum | string | 税号 | |
cAddress | string | 发票注册地址 | |
cTelephone | string | 发票注册电话 | |
cReceiver | string | 收货人 | |
cReceiveMobile | string | 收货人手机号 | |
cReceiveTelePhone | string | 收货人电话 | |
cReceiveAddress | string | 收货地址 | |
cReceiveZipCode | string | 收货人邮编 | |
cReceiveContacter | string | 收货联系人 | |
cReceiveContacterPhone | string | 收货联系人电话 | |
dOrderDate | string | 订单日期 | |
dSendDate | string | 预交货日期 | |
dDeliveryDate | string | 实际发货日期 | |
dPayDate | string | 订单支付时间 | |
cStatusCode | string | 订单当前状态码 | |
cNextStatusName | date | 订单下个状态名称 | |
cNextStatus | number | 订单下个状态码 | |
cPayStatusCode | date | 订单支付状态码 | |
fTotalMoney | number | 订单总金额 | |
fPayMoney | string | 订单实际支付金额 | |
cNextStatus | string | 订单下个状态码 | |
cNextStatus | string | 订单下个状态码 | |
oSubmiter | string | 创建人 | |
cOrderNo | string | OrderDetail | 订单号 |
iQuantity | string | OrderDetail | 主计量数量 |
cProductUnitName | string | OrderDetail | 主计量单位名称 |
iAuxUnitQuantity | string | OrderDetail | 辅计量数量 |
cProductAuxUnitName | string | OrderDetail | 辅计量单位名称 |
iConversionRate | string | OrderDetail | 主辅计量转换率 |
cProductCode | string | OrderDetail | U订货商品编码 |
cSpecDescription | string | OrderDetail | 规格属性 |
fSaleCost | string | OrderDetail | 商品明细小计 |
fSalePayMoney | string | OrderDetail | 实付金额 |
cProductName | string | OrderDetail | 商品名称 |
iSendQuantity | string | OrderDetail | 已发货数量 |
fSalePrice | string | OrderDetail | 商品实际销售单价 |
cImgUrl | string | OrderDetail/oSKU | SKU图片地址 |
cImgUrl | string | OrderDetail/oSKU | SKU图片地址 |
cImgName | string | OrderDetail/oSKU | SKU图片名称 |
iMinOrderQuantity | string | OrderDetail/oSKU | SKU起订量 |
cCode | string | OrderDetail/oSKU | SKU编码 |
cErpCode | string | OrderDetail/oSKU | SKU对应ERP编码 |
cBarCode | string | OrderDetail/oSKU | SKU条码 |
fSalePrice | string | OrderDetail/oSKU | SKU销售价格 |
oProduct | string | OrderDetail/oSKU | SKU对应商品对象 |
iStatus | string | OrderDetail/oSKU | SKU上下架状态 |
cCode | string | oAgent | 客户编码 |
cCode | string | oAgent | 客户编码 |
cErpCode | string | oAgent | ERP编码 |
cName | string | oAgent | 名称 |
cTaxNo | string | oAgent | 税号 |
iAgentCategoryId | string | oAgent | 客户分类ID |
iAgentLevelId | string | oAgent | 客户级别ID |
iAgentIndustryId | string | oAgent | 客户行业ID |
iAgentAreaId | string | oAgent | 客户区域ID |
iAddressId | long | oAgent | 地址ID |
iCorprationContactsId | string | oAgent | 主联系人ID |
cUserName | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | 登陆名 |
cFullName | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | 姓名 |
cMobile | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | 手机号 |
cEmail | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | 邮箱 |
cDepartment | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | 部门 |
cQQ | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | |
bMobileValid | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | 手机是否验证通过 |
bEmailValid | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | 邮箱是否验证通过 |
bActivate | string | oAgent/oUser或OrderDetail/oProduct/oSubmiter | 是否开通 |
cName | string | oOrderDetails/oSKU/oProduct/ | 商品名称 |
cCode | string | oOrderDetails/oSKU/oProduct/ | 商品编码 |
cBarCode | string | oOrderDetails/oSKU/oProduct/ | 商品条码 |
PSPTemplate | string | oOrderDetails/oSKU/oProduct/ | 规格模版名称 |
props | string | oOrderDetails/oSKU/oProduct/ | 商品属性 |
bRecommended | string | oOrderDetails/oSKU/oProduct/ | 是否是推荐商品 |
cTitleMemo | string | oOrderDetails/oSKU/oProduct/ | 卖点 |
cERPCode | string | oOrderDetails/oSKU/oProduct/ | 商品ERPCode |
ClassCode | string | oOrderDetails/oSKU/oProduct/ | 商品类型的编码 |
SecondaryClasses | BulletinUser | oOrderDetails/oSKU/oProduct/ | 辅助分类的编码(多个辅助分类用‘|’隔开) |
ClassCode | Map |
oOrderDetails/oSKU/oProduct/ | 商品类型的编码 |
fSalePrice | Double | oOrderDetails/oSKU/oProduct/ | 价格 |
iMinOrderQuantity | Double | oOrderDetails/oSKU/oProduct/ | 最小起订量 |
iOrder | int | oOrderDetails/oSKU/oProduct/ | 排序优先级 |
oUnit | string | oOrderDetails/oSKU/oProduct/ | 计量单位名称 |
oAuxUnit | string | oOrderDetails/oSKU/oProduct/ | 辅计量单位名称 |
iConversionRate | Double | oOrderDetails/oSKU/oProduct/ | 换算率 |
iStatus | String | oOrderDetails/oSKU/oProduct/ | 状态(上、下架) |
3.5正确返回示例
JSON示例:
application/json;charset=UTF-8 { "errcode":"0", "data":{ "count":1, "data":[ { "bDownloadU8":true, "bOpenAuxUnit":false, "bSubmitEditing":false, "cBankAccount":"", "cBankCode":"", "cBankName":"", "cDownloadU8Date":"2016-09-08 08:51:16", "cExistPay":"", "cInvoiceAddress":"", "cInvoiceContent":"", "cInvoiceTelephone":"", "cInvoiceTitle":"", "cInvoiceType":"NONE", "cNextStatus":"CONFIRMORDER", "cNextStatusName":"订单确认", "cOccupyInventory":"SUBMIT", "cOrderNo":"UO806-43e01609080001", "cOrderPayType":"FIRSTPAY", "cPayStatusCode":"NOTPAYMENT", "cReceiveAddress":"中国 北京 北京市 海淀区", "cReceiveContacter":"sssss", "cReceiveContacterPhone":"13088888888", "cReceiveMobile":"13000000000", "cReceiveZipCode":"100089", "cReceiver":"c01", "cRemark":"", "cSource":0, "cStatusCode":"SUBMITORDER", "cSubBankName":"", "cTaxNum":"", "dConfirmDate":"2016-09-08 08:49:27", "dDeliveryDate":"2016-09-08 08:49:27", "dOrderDate":"2016-09-08 08:50:32", "dSendDate":"2016-09-23", "fDiscountFee":0, "fExchangeRate":0, "fMaxRebateMoney":0, "fParticularlyMoney":0, "fPayMoney":5820, "fPromotionMoney":0, "fRebateCashMoney":0, "fRebateMoney":0, "fTotalMoney":5820, "iAgentId":12469, "iAgentShipToAddressId":0, "iConfirmerId":0, "iCorpContactId":0, "iCorpId":2054, "iCurrentStatus":0, "iDelete":0, "iInvoiceMoney":0, "iReceiveId":15680, "iSettlementId":0, "iSubmitSource":1, "iSubmiterId":17373, "id":11021, "isAgentSubmit":true, "isCreateDelivery":false, "isDeliverying":false, "isEditInvoice":true, "isEditPayWay":true, "isEditReceiveAddress":true, "isFinishDelivery":false, "isSecondUser":false, "isShowDeliveryBtn":false, "isShowHopeReceiveDate":true, "isShowSaleReturnBtn":false, "oAgent":{ "bHiddenInList":false, "bValid":true, "cCode":"01", "cInvalidDate":"", "cName":"C01", "iAddressId":13840, "iAgentCategoryId":0, "iAgentIndustryId":0, "iAgentLevelId":0, "iCorpId":2054, "iCorprationContactsId":0, "iCreditValue":0, "iPrivateUserSize":0, "iUserId":17376, "id":12469, "isEnableAgent":true, "oAddress":{ "cArea":"海淀区", "cCity":"北京市", "cCountry":"中国", "cProvince":"北京", "cRegion":"110108", "cZipCode":"100089", "iCorpId":2054, "id":13840 }, "oUser":{ "bActivate":true, "bEmailValid":false, "bHiddenPrice":false, "bMobileValid":false, "cFullName":"c01", "cMobile":"13000000000", "cType":2, "cUserName":"01@yangyonyou", "iAgentId":12469, "iCorpId":2054, "iCorpRegister":2, "id":17376 } }, "oOrderDetails":[ { "aQuantity":0, "bSelectedGiveaway":false, "cErpCode":"HT0501S04A001I", "cOrderNo":"UO806-43e01609080001", "cOrderProductType":"SALE", "cProductCode":"HT0501S04A001I", "cProductName":"功能型不锈钢分集水器 FBHV-E-F-4 4回路", "cProductUnitName":"个", "cSkuCode":"HT0501S04A001I", "cSpecDescription":"", "dConsignTime":"2016-09-23", "dCreated":"2016-09-08 08:50:32", "fMarketPricie":0, "fParticularlyMoney":0, "fPromotionMoney":0, "fRebateMoney":0, "fSaleCost":5820, "fSalePayMoney":5820, "fSalePrice":1455, "fTransactionPrice":1455, "hasSpecs":false, "iApportionMaxMoney":0, "iAuxUnitQuantity":0, "iConversionRate":0, "iCorpId":2054, "iDelete":0, "iGroupId":0, "iGroupIndex":0, "iProductId":68681, "iPromotionType":0, "iQuantity":4, "iSKUId":109553, "iSendQuantity":0, "id":45540, "oOrderProductApportions":[ ], "oSKU":{ "cCode":"HT0501S04A001I", "cErpCode":"HT0501S04A001I", "cSpecDescription":"", "cSpecIds":"", "dCreateTime":"2016-09-08 08:48:54", "dUpdateTime":"2016-09-08 08:48:54", "fMarkPrice":0, "fSalePrice":1455, "iCorpId":2054, "iMinOrderQuantity":0, "iProductId":68681, "iStatus":1, "iUsedQuantity":0, "id":109553, "lInventoryCount":0, "oProduct":{ "bFavorited":false, "bRecommended":false, "bUsed":false, "cClassPath":"15820|15821|", "cCode":"HT0501S04A001I", "cERPCode":"HT0501S04A001I", "cName":"功能型不锈钢分集水器 FBHV-E-F-4 4回路", "dCreateTime":"2016-09-08 08:48:54", "dUpdateTime":"2016-09-08 08:48:54", "fMarkPrice":0, "fSalePrice":1455, "hasSpecs":false, "iCorpId":2054, "iCreateUserId":17373, "iDownCount":0, "iMaxPrice":1455, "iMinOrderQuantity":0, "iMinPrice":1455, "iOrder":999999, "iSales":4, "iStatus":1, "iUpCount":1, "iUpdateUserId":17373, "id":68681, "lInventoryCount":0, "maxPrice":0, "minPrice":0, "oProductClass":{ "cCode":"HT05", "cName":"分集水器", "cPath":"15820", "iCorpId":2054, "iDepth":2, "iOrder":1, "iParentClassid":15820, "id":15821 }, "oUnit":{ "cCode":"0101", "cName":"个", "iCorpId":2054, "id":2688 } } }, "thisQuantity":0 } ], "oOrderMemo":{ "bEnable":true, "cRemark":"", "dCreated":"2016-09-26 16:34:56", "dModified":"2016-09-26 16:34:56", "iCorpId":0, "iDelete":0, "iUserId":0, "isEdit":false }, "oOrderMemos":[ ], "oOrderPriceDetails":[ ], "oPayWayCode":{ "bDefault":false, "bEnable":false, "cCode":"FIRSTPAY", "cName":"款到发货", "iOrder":0 }, "oSubmiter":{ "bActivate":true, "bEmailValid":false, "bHiddenPrice":false, "bMobileValid":true, "cEmail":"yangjqf@yonyou.com", "cFullName":"yangjqf", "cMobile":"15801155883", "cType":1, "cUserName":"yangjqf", "iCorpId":2054, "iCorpRegister":1, "id":17373 }, "paidMoney":0, "payVerifications":[ ], "unConfirmMoney":0, "unPaidMoney":0 } ] } }
3.6错误返回示例
application/json;charset=UTF-8 { "errcode" : "30021", "errmsg" : "此应用未上线" }