revocationAppointApp 撤销预约
施工中...(内容未经校验)
Note:
签到、签退、取消 这三个的请求相似,参数都是只有一个 id
请求 URL
POST https://aiot.fzu.edu.cn/api/ibs/spaceAppoint/app/revocationAppointApp
请求头
参数名 | 类型 | 必填 | 描述 |
---|---|---|---|
token | string | 是 | 用户认证令牌 |
请求参数
参数名 | 类型 | 必填 | 描述 |
---|---|---|---|
id | string | 是 | 预约记录的ID |
Note:
可在预约历史中查看到预约记录的ID
响应参数
参数名 | 类型 | 描述 |
---|---|---|
data | object | 数据对象(通常为null) |
dataList | object | 数据列表(通常为null) |
pageIndex | int | 页码(通常为null) |
pageSize | int | 每页大小(通常为null) |
currentPage | int | 当前页码(通常为null) |
total | int | 总记录数(通常为null) |
code | string | 响应代码(通常为0) |
msg | string | 响应消息 |
otherData | object | 其他数据(通常为null) |
请求示例
{
"id": "123456"
}
响应示例
{
"data": null,
"dataList": null,
"pageIndex": null,
"pageSize": null,
"currentPage": null,
"total": null,
"code": "0",
"msg": "成功",
"otherData": null
}
代码示例
import requests
url = 'https://aiot.fzu.edu.cn/api/ibs/spaceAppoint/app/revocationAppointApp'
payload = {
'id': '123456'
}
headers = {
'token': 'your_token_here'
}
response = requests.post(url, json=payload, headers=headers)
print(response.json())