API接口
  1. 客户订单接口
API接口
  • 客户订单接口
    • 入库单创建接口
      POST
    • 出库单创建接口
      POST
    • 物权单创建接口
      POST
    • 运输单创建接口
      POST
    • 订单取消接口
      POST
    • 入库单确认接口
      POST
    • 入库单状态确认接口(分批回传使用)
      POST
    • 出库单确认接口
      POST
    • 出库单状态确认接口(分批回传使用)
      POST
    • 物权单确认接口
      POST
    • LPN接口
      POST
    • 库存查询接口
      POST
    • 路由推送接口
      POST
    • 签收信息推送接口
      POST
    • 入库单结果查询接口
      POST
    • 出库单结果查询接口
      POST
    • 路由查询接口
      POST
    • 签收图片推送接口
      POST
    • 车库存查询接口
      POST
    • 验车确认接口
      POST
    • 运输单单确认接口
      POST
    • 取消结果接口
      POST
    • 串码下发接口
      POST
  • 客户基础信息接口
    • 产品同步接口
      POST
    • 库存组织同步接口
      POST
    • 收货用户同步接口
      POST
    • 产品体积重量同步接口
      POST
  • 承运商接口
    • 路由推送接口
    • 签收图片推送接口
  • 附录
    • 附录一 签名规则
    • 附录二 订单类型
    • 附录三 路由节点类型
  • 设备接口
    • DWS包裹信息接口
  1. 客户订单接口

入库单确认接口

开发中
POST
入库单确认信息(鸿讯->客户)

请求参数

Body 参数application/json
createBy
string 
客户标识
必需
鸿讯提供
dataSource
string 
来源系统
必需
鸿讯提供
sign
string 
签名
必需
规则见附录一
timestamp
string 
时间戳
必需
格式为yyyy-MM-dd HH:mm:ss,例如:2011-06-16 13:23:30。服务端允许客户端请求时间误差为10分钟
request
object (入库确认信息 ) 
必需
customerNumber
string 
客户订单号
必需
客户单号
callbackBatchId
string 
批次号
必需
批次号
downstreamOrderCode
string 
仓库单号
可选
仓库单号
documentType
string 
单据类型
必需
单据类型
inventoryCode
string 
客户库存地编码(仓库编码)
必需
客户库存地编码(仓库编码)
subbaseCode
string 
客户子库编码(货主编码)
必需
客户子库编码(货主编码)
orderStatus
string 
单据状态
必需
(只传英文编码)1, 整单回传状态:FULFILLED-收货完成 ,2,分批回传状态: RECEIVING –收货中
actualTotalCapacity
null 
Double类型
可选
累计实际入库总体积(立方米)
actualTotalWeight
null 
Double类型
可选
累计实际入库总重量(公斤),
actualTotalQuantity
integer 
累计已入库数量
可选
累计已入库数量
totalQuantity
integer 
订单总数量
必需
actualQuantity
integer 
当前传递数量
必需
entryOrderTime
string 
入库作业时间
必需
operatorName
string 
操作员名称
可选
操作员名称
operateTime
string 
操作时间
可选
操作时间
remark
string 
备注
可选
备注
productList
array [object {17}] 
产品明细集合
必需
产品明细集合
示例
{
    "createBy": "string",
    "dataSource": "string",
    "sign": "string",
    "timestamp": "string",
    "request": {
        "customerNumber": "string",
        "callbackBatchId": "string",
        "downstreamOrderCode": "string",
        "documentType": "string",
        "inventoryCode": "string",
        "subbaseCode": "string",
        "orderStatus": "string",
        "actualTotalCapacity": null,
        "actualTotalWeight": null,
        "actualTotalQuantity": 0,
        "totalQuantity": 0,
        "actualQuantity": 0,
        "entryOrderTime": "string",
        "operatorName": "string",
        "operateTime": "string",
        "remark": "string",
        "productList": [
            {
                "customerLineNumber": "string",
                "customerProductCode": "string",
                "customerProductDescription": "string",
                "actualQty": 0,
                "unitWeight": null,
                "singlePieceVolume": null,
                "productData": "string",
                "validPeriod": "string",
                "productBatchNumber": "string",
                "specialInventoryFlag": "string",
                "associatedOrder": "string",
                "relatedItems": "string",
                "ebeln": "string",
                "ebelp": "string",
                "remark": "string",
                "vinNum": "string",
                "snList": [
                    {
                        "imei1": "string",
                        "imei2": "string",
                        "sn": "string",
                        "meid": "string"
                    }
                ]
            }
        ]
    }
}

示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '' \
--header 'Content-Type: application/json' \
--data-raw '{
    "createBy": "string",
    "dataSource": "string",
    "sign": "string",
    "timestamp": "string",
    "request": {
        "customerNumber": "string",
        "callbackBatchId": "string",
        "downstreamOrderCode": "string",
        "documentType": "string",
        "inventoryCode": "string",
        "subbaseCode": "string",
        "orderStatus": "string",
        "actualTotalCapacity": null,
        "actualTotalWeight": null,
        "actualTotalQuantity": 0,
        "totalQuantity": 0,
        "actualQuantity": 0,
        "entryOrderTime": "string",
        "operatorName": "string",
        "operateTime": "string",
        "remark": "string",
        "productList": [
            {
                "customerLineNumber": "string",
                "customerProductCode": "string",
                "customerProductDescription": "string",
                "actualQty": 0,
                "unitWeight": null,
                "singlePieceVolume": null,
                "productData": "string",
                "validPeriod": "string",
                "productBatchNumber": "string",
                "specialInventoryFlag": "string",
                "associatedOrder": "string",
                "relatedItems": "string",
                "ebeln": "string",
                "ebelp": "string",
                "remark": "string",
                "vinNum": "string",
                "snList": [
                    {
                        "imei1": "string",
                        "imei2": "string",
                        "sn": "string",
                        "meid": "string"
                    }
                ]
            }
        ]
    }
}'

返回响应

🟢200响应
application/json
Body
code
integer 
响应码
必需
message
string 
错误说明
必需
flag
boolean 
响应标识
必需
true-成功,false-失败
value
object 
响应内容
可选
示例
{
    "code": 200,
    "message": "响应成功",
    "flag": true
}
上一页
订单取消接口
下一页
入库单状态确认接口(分批回传使用)
Built with