大货中转创建入库:[ createGStorage]
POST
http://yqbug.kingtrans.net/PostInterfaceService
请求参数
Query 参数
method
string
必需
示例值:
createGStorage
Header 参数
Content-Type
string
可选
默认值:
application/json;charset=UTF-8
Body 参数application/json
Verify
object
验证信息
Clientid
string
必需
Token
string
必需
StorageAr
object
可传多个入库订单
StorageId
string
传入入库主键ID
HouseId
string
仓库编码
HeadwayType
string
必需
ContainerNumber
string
可选
SingleNumber
string
头程单号
Refernumb
string
客户订单号
Etd
string
预计发货时间
Eta
string
预计到货时间
StorageAr
array [object {9}]
可传多个明细
示例
{
"Verify": {
"Clientid": "XC",
"Token": "WVFCVUc=ng7kbKSHS6gV0nJvkf8j"
},
"StorageAr": [
{
"StorageId": "zsy1001010100",
"BusinessType": "0",
"HeadwayType": "0",
"SingleNumber": "111222",
"ContainerNumber": "222333",
"Refernumb": "",
"RetId": "",
"Etd": "",
"Eta": "",
"HouseId": "xh",
"StorageItemAr": [
{
"StorageItemId": "zsy100011",
"GoodsName": "手机",
"Specification": "规格",
"Num": "7",
"Weight": "2",
"Length": "30",
"Width": "22",
"Height": "22"
},
{
"StorageItemId": "zsy100012",
"GoodsName": "数据线",
"Specification": "1",
"Num": "2",
"Weight": "0.2",
"Length": "3",
"Width": "4",
"Height": "5"
}
]
},
{
"StorageId": "zsy100020",
"BusinessType": "0",
"HeadwayType": "0",
"SingleNumber": "1112222",
"ContainerNumber": "2223323",
"HouseId": "moscow",
"StorageItemAr": [
{
"StorageItemId": "zsy100021",
"GoodsName": "手机 02",
"Specification": "规格",
"Num": "7",
"Weight": "2",
"Length": "30",
"Width": "22",
"Height": "22"
},
{
"StorageItemId": "zsy100022",
"GoodsName": "数据线 02",
"Specification": "1",
"Num": "2",
"Weight": "0.2",
"Length": "3",
"Width": "4",
"Height": "5"
}
]
}
]
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'http://yqbug.kingtrans.net/PostInterfaceService?method=createGStorage' \
--header 'Content-Type: application/json;charset=UTF-8' \
--data-raw '{
"Verify": {
"Clientid": "XC",
"Token": "WVFCVUc=ng7kbKSHS6gV0nJvkf8j"
},
"StorageAr": [{
"StorageId": "zsy1001010100",
"BusinessType": "0",
"HeadwayType": "0",
"SingleNumber": "111222",
"ContainerNumber": "222333",
"Refernumb": "",
"RetId": "",
"Etd": "",
"Eta": "",
"HouseId": "xh",
"StorageItemAr": [{
"StorageItemId": "zsy100011",
"GoodsName": "手机",
"Specification": "规格",
"Num": "7",
"Weight": "2",
"Length": "30",
"Width": "22",
"Height": "22"
},
{
"StorageItemId": "zsy100012",
"GoodsName": "数据线",
"Specification": "1",
"Num": "2",
"Weight": "0.2",
"Length": "3",
"Width": "4",
"Height": "5"
}
]
},
{
"StorageId": "zsy100020",
"BusinessType": "0",
"HeadwayType": "0",
"SingleNumber": "1112222",
"ContainerNumber": "2223323",
"HouseId": "moscow",
"StorageItemAr": [{
"StorageItemId": "zsy100021",
"GoodsName": "手机 02",
"Specification": "规格",
"Num": "7",
"Weight": "2",
"Length": "30",
"Width": "22",
"Height": "22"
},
{
"StorageItemId": "zsy100022",
"GoodsName": "数据线 02",
"Specification": "1",
"Num": "2",
"Weight": "0.2",
"Length": "3",
"Width": "4",
"Height": "5"
}
]
}
]
}'
返回响应
🟢200成功
application/json
Body
statusCode
string
可选
returnDatas
array [object {5}]
可选
statusCode
string
可选
StorageId
string
对接方入库主键
boxurl
string
箱唛标签打印地址
MergeSheetId
string
入库主键编码
itemReultAr
object
可选
示例
{
"statusCode": "string",
"returnDatas": [
{
"statusCode": "string",
"StorageId": "string",
"boxurl": "string",
"MergeSheetId": "string",
"itemReultAr": {
"statusCode": "string",
"StorageItemId": "string",
"SheetId": "string",
"BoxCode": "string"
}
}
]
}
修改于 2023-09-13 06:31:55