Deprecated, add facility_booking: 添加 `facility_booking` 資料 12-13 15:16
Deprecated, add facility_booking: 添加 facility_booking
資料
更新時間:2022-12-13 15:16:10
HTTP Request
POST: manager/facility_booking/add
Body Parameters
Parameter | Type | Status | Description |
---|---|---|---|
data | object | required | |
date | date | required | facility_booking.date |
timeslot | int | required | facility_booking.timeslot |
user | int | required | facility_booking.user |
Response Structure
Parameter | Type | Status | Description |
---|---|---|---|
status | int | required | 0: 成功, 非0: 失敗 |
data | object | optional | |
id | int | optional | facility_booking.id |
Example usage
Example #1
POST: manager/facility_booking/add
Body
{
"date": "2021-12-14",
"timeslot": 1,
"user": 22
}
Response(200,status=0)
{
"status": 0,
"data": {
"id": 1
}
}