33 lines
606 B
HTTP
33 lines
606 B
HTTP
### MyWMS接口测试
|
|
### 基础配置
|
|
@baseUrl = http://localhost:12325
|
|
|
|
### 1. 入库订单接口
|
|
POST {{baseUrl}}/mywms/orderIn
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"taskId": "testId1",
|
|
"vehicleNo": "1001"
|
|
}
|
|
|
|
### 2. 出库订单接口
|
|
POST {{baseUrl}}/mywms/orderOut
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"taskId": "testId1",
|
|
"vehicleNo": "1002"
|
|
}
|
|
|
|
### 3. 发送任务结果 - 任务完成
|
|
POST {{baseUrl}}/wms/task/sendTaskResult
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"taskId": "1758635063394010001",
|
|
"taskStatus": 100,
|
|
"vehicleNo": "1009",
|
|
"destination": "CR",
|
|
"message": "任务执行成功"
|
|
} |