7.3获取预订单列表

优质
小牛编辑
125浏览
2023-12-01
用于批量获取指定日期预订单列表

请求参数说明

参数描述必填示例值类型最大长度
action接口参数组object
└action需要调用的接口名称bk_liststring
getGET参数组,本组参数需要参与签名object
└date日期20190821number

请求示例

{
	"action": {
		"action": "bk_list"
	},
	"get": {
		"date": "20190821"
	}
}

响应参数说明

参数描述必填示例值类型最大长度
status返回状态。接口成功时为1,出错为01number
list返回预订列表list
└id预订单id8601458771number
└time预订单下单时间2019-03-27 11:09:02string
└date预订日期2019-03-27string
└shift预订时间18:30string
└subject类型小桌(1-4)人string
└tables桌数1number
└state状态0number
└storestring
└name预订人姓名张三丰string
└title预订人称呼先生string
└phone联系电话13546422891number
└memo备注string
└type0number
└deposit预订金100.00number
└payid预订金支付流水号string
└doidstring

响应示例

{
	"status": "1",
	"list": [{
		"id": "8601458771",
		"time": "2019-03-27 11:09:02",
		"date": "2019-03-27",
		"shift": "18:30",
		"subject": "小桌(1-4)人",
		"tables": "1",
		"state": "0",
		"store": "",
		"name": "张三丰",
		"title": "先生",
		"phone": "13546422891",
		"memo": "",
		"type": "0",
		"date2": "",
		"deposit": "100.00",
		"payid": "",
		"doid": ""
	}]
}