简要描述:

  • 订单详情

请求URL:

  • getOrderDetail

请求参数:

此数据为业务数据,作为调用参数中data字段的内容。

订单信息表

参数名 是否必须 类型 说明
orderNo String 订单编号

入参示例:

  1. {
  2. apiKey : "test1",
  3. apisecret : "78FBB3D68B40A347644619ACF902CED3",
  4. currentTimeStamp : "20190929093750",
  5. sign : "6D156B3CE966627A76F02D31E1E70C28",
  6. uri : "http://localhost:39450/loneproduct/getOrderDetail",
  7. data :
  8. {
  9. orderNo : "LPO1909-0064"
  10. }
  11. }

返回示例:

正确时返回:

  1. {
  2. Code : 0,
  3. Success : true,
  4. Message : null,
  5. Data :
  6. {
  7. OrderNo : "LPO2003-0051",
  8. Amount : 220,
  9. CustomerRole : "Travel",
  10. CustomerOrgId : "TRA14-0007",
  11. Remark : "sadfsadf",
  12. Contact : "TESt",
  13. ContactTel : "124556",
  14. ContactEmail : null,
  15. DeliveryWay : 1,
  16. IsDelivered : true,
  17. AuditStatus : 1,
  18. TravelId : "TRA14-0007",
  19. DepartId : null,
  20. StockCate : 1,
  21. Qty : 1,
  22. UseDate : "2020-03-17T00:00:00",
  23. CreateBy : 0,
  24. CreateOn : "2020-03-09T11:35:42.76",
  25. UpdateBy : 0,
  26. UpdateOn : "2020-03-09T11:35:42.76",
  27. ConfirmStatus : null,
  28. ConfirmBy : null,
  29. ConfirmOn : null,
  30. OpRemark : null,
  31. OpRemarkBy : null,
  32. OpRemarkOn : null,
  33. SaleId : 1052,
  34. Apikey : "test1",
  35. CustomerName : "如诗如梦旅行社有限公司",
  36. LoneProductOrderDetails :
  37. [
  38. {
  39. Id : 143,
  40. OrderNo : "LPO2003-0051",
  41. ProductNo : "LOP20-0056",
  42. StockProductDetailId : 281,
  43. ShipRouteTime : "",
  44. Qty : 1,
  45. UnitPrice : 200,
  46. CostUnitPrice : 600,
  47. SupplierRole : "Hotel",
  48. SupplierId : "HOT-S19-0153",
  49. SupplierName : "珠海测试酒店",
  50. ServiceRole : "Hotel",
  51. ServiceId : "HOT-S19-0153",
  52. ServiceRoleName : "珠海测试酒店"
  53. },
  54. {
  55. Id : 144,
  56. OrderNo : "LPO2003-0051",
  57. ProductNo : "LOP20-0056",
  58. StockProductDetailId : 283,
  59. ShipRouteTime : "",
  60. Qty : 1,
  61. UnitPrice : 20,
  62. CostUnitPrice : 60,
  63. SupplierRole : "Restaurant",
  64. SupplierId : "RET-S19-0041",
  65. SupplierName : "邓泽军测试餐厅",
  66. ServiceRole : "Restaurant",
  67. ServiceId : "RET-S19-0046",
  68. ServiceRoleName : "餐厅测试"
  69. }
  70. ]
  71. }
  72. }

错误时返回:

  1. {
  2. "Code" : 100002,
  3. "Success" : false,
  4. "Message" : "应用认证错误",
  5. "Data" : ""
  6. }

返回参数说明:

参数名 是否必须 类型 说明
Success boolean 是否成功,成功返回true,失败返回false
Message String 错误信息,成功返回空
Data String JSON字符串

订单信息表

参数名 是否必须 类型 说明
OrderNo string 订单编号
Amount numeric 金额
CustomerRole string 客户角色
CustomerOrgId string 客户Id
Remark string 备注
Contact string 联系人
ContactTel string 联系人电话
ContactEmail string 联系人邮箱
DeliveryWay int 交收方式 1线下交收 2电邮通知 3手机短信通知 4邮递 5门店自提
CountryCode int 国家代码DeliveryWay=4的时候出现
ProvinceCode int 省代码DeliveryWay=4的时候出现
CityCode int 市代码DeliveryWay=4的时候出现
Address string 地址DeliveryWay=4的时候出现
IsDelivered bool 是否已交接 1已交接
AuditStatus int 审批状态 审核状态 1通过 2拒绝 3审批中
TravelId string 旅行社编号
DepartId uniqueidentifier 部门Id
StockCate int 采购类型 1采购库存 2虚拟库存
Qty int 数量
StockProductId int 入库产品Id
UseDate datatime 日期
CreateBy int 创建人Id
CreateOn datetime 创建时间
UpdateBy int 更新人Id
UpdateOn datetime 更新时间
ConfirmStatus int 二次确认状态 1通过 2退单
ConfirmBy int 二次确认人Id
ConfirmOn datetime 二次确认时间
OpRemark string 操作备注内容
OpRemarkBy string 操作备注人
OpRemarkOn datetime 操作备注时间
SaleId int 销售员Id
Apikey string 印迹apikey
CustomerName string 客户名称
LoneProductOrderDetails List< LoneProductOrderDetail> 订单详情

订单详情LoneProductOrderDetail

参数名 是否必须 类型 说明
Id int 详情Id
OrderNo string 订单编号
ProductNo string 产品编号
StockProductDetailId int 库存明细Id
ShipRouteTime string 航线航班时间
UnitPrice numeric 销售价
CostUnitPrice numeric 成本价
Qty int 数量
ServiceRole string 供应商角色
ServiceId string 供应商Id
ServiceName string 供应商名称
SupplierRole string 服务商角色
SupplierId string 服务商Id
SupplierName string 服务商名称

备注:

  • 更多返回错误代码请看首页的错误代码描述