查询桌台信息
测试环境
测试环境
POST
/open/v1/table/fetchTables
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://gldopenapi.keruyun.com/open/v1/table/fetchTables?appKey=&shopIdenty=&brandId=&version=×tamp=&sign=' \
--header 'Content-Type: application/json' \
--data-raw '{
"enabledTS": "true",
"enabledWM": "true"
}'
响应示例响应示例
{
"result": [
{
"tableID": "201725075570586624",
"tableNum": "105001",
"tableName": "桌台1",
"commercialId": 810094162,
"tableType": 1,
"tableArea": {
"areaCode": "105",
"areaName": "包厢区",
"id": 201724816828167170,
"floor": 3
},
"tablePersonCount": 18,
"minConsum": 0,
"canBooking": 0,
"isSmoke": null,
"floorId": null,
"sort": 1000,
"status": 0,
"tableStatus": 0,
"memo": null,
"modifyDateTime": 1567059254000,
"synFlag": "c054642f60a94183b3bf638eb8ead775"
},
{
"tableID": "201725075918713856",
"tableNum": "105002",
"tableName": "桌台2",
"commercialId": 810094162,
"tableType": 1,
"tableArea": {
"areaCode": "105",
"areaName": "包厢区",
"id": 201724816828167170,
"floor": 3
},
"tablePersonCount": 18,
"minConsum": 0,
"canBooking": 0,
"isSmoke": null,
"floorId": null,
"sort": 1000,
"status": 0,
"tableStatus": 0,
"memo": null,
"modifyDateTime": 1567059254000,
"synFlag": "5873f300be484368ab01045f5a6fb562"
}
],
"code": 0,
"message": "成功[OK]",
"messageUuid": "cfd7d95cf5e94f03b94fe36083cd935c",
"apiMessage": null
}
请求参数
Query 参数
appKey
string
必需
默认值:
{{appKey}}
shopIdenty
string
必需
默认值:
{{shopIdenty}}
brandId
string
必需
默认值:
{{brandId}}
version
string
必需
默认值:
2.0
timestamp
string
必需
默认值:
{{timestamp}}
sign
string
必需
默认值:
{{sign}}
Body 参数application/json
返回响应
修改于 2021-12-16 06:36:24