文档
测试

订单管理

GET
ip:port/api/task_orders

接口描述

获取任务订单

响应参数

参数名
类型
描述
必填
data
list
订单记录
必填
task_order_id
str
主单id
必填
material
str
物料信息
必填
total
int
总量
必填
status
int
运行状态: wait_scheduling = 1【等待调度】 wait_running=2【等待运行】 running = 3【运行中】 fail = 4【失败】 success = 5【成功】 error=6【异常】
必填
create_time
datetime
创建时间
必填
update_time
datetime
更新时间
必填
task_order_details
list
必填
_id
string
必填
materials
str
物料名称
必填
from_location
str
运输起点
必填
cache_location
str
缓存点
必填
to_location
str
终点
必填
run_task_count
int
累计拖数
必填
total
int
数量
必填
status
int
状态,同上
必填
create_time
datetime
创建时间
必填
update_time
datetime
更新时间
必填
task_id
string
主任务的id
必填
errorno
int
必填
errormsg
string
必填

说明 / 示例

{data:[{"task_order_id":'','material':'','total':3,'status':1,'create_time':"",'update_time':"","task_order_details":[{"materials":"","from_location":"","cache_location":"","to_location":"","run_task_count":1,"total":10,"status":11,"create_time":xx,"update_time":""}]}], "errono":"", "errormsg":""}