文档
测试

19-2.提交轮流订单

POST
https://{{domain}}:{{port}}/api/robot/order/submitTurns

接口描述

提交茶水订单

请求头

参数名
类型
描述
必填
Content-Type
string
application/json
必填
Request-Site
string
机器人编号
必填
Authorization
string
Authorization参数说明
必填

Authorization参数说明

请求token返回的**tokenHead**加**空格**加**toeken**

RequestParam

参数名
类型
描述
必填
firmid
int
门店编号
必填
bseqid
int
占用房间时的订单号
必填

RequestBody

参数名
类型
描述
必填
billlist
array
项目-点数-数量-轮流条件
必填
itemid
int
项目
必填
total
double
点数
必填
num
int
需要轮流几个技师
必填
stafflevels
array
限制的技师等级 可不传 不传不限
必填
stafflevelid
int
限制的技师等级
必填
sex
int
1男2女 -1不限 不传不限
必填
blind
int
1盲人0非盲人 -1不限 不传不限
必填
roomno
string
项目房间号
必填

响应参数

参数名
类型
描述
必填
code
int
成功1失败0
必填
errorcode
int
错误码
必填
message
string
错误信息
必填
data
array
等待列表
必填
itemid
int
必填
stafflevels
array
必填
stafflevelid
int
必填
blind
int
必填
sex
int
必填
roomno
string
必填
minwait
int
必填
maxwait
int
必填
count
int
必填