Restaurant Features
Example API Request:
URL: https://www.api.123demo.co.in/api/restaurant_features
Method: POST
Request Parameters:
| Object |
Description |
device_token |
[Required] (Get during app installation) |
app_api_key |
[Required] (Get during app installation) |
token |
[Required] Bearer Token (Get during app login) |
restaurant_id |
[Required] |
output |
JSON formats. |
Response Body: Suceess
{
"success": true,
"data": [
{
"id": 2,
"features_id": 2,
"restaurant_id": 40,
"business_id": 1,
"created_at": "2022-01-13 15:23:26",
"feature": "Parking",
"description": "ParkingParkingParkingParkingParking",
"remarks": "ParkingParkingParkingParkingParking",
"font_icon": "fas fa-car",
"status": 1,
"updated_at": null
},
{
"id": 4,
"features_id": 4,
"restaurant_id": 40,
"business_id": 1,
"created_at": "2022-01-13 15:27:35",
"feature": "Outdoor seating",
"description": "Outdoor seatingOutdoor seatingOutdoor seating",
"remarks": "Outdoor seatingOutdoor seatingOutdoor seatingOutdoor seating",
"font_icon": "fas fa-chair",
"status": 1,
"updated_at": null
}
],
"message": "Get fetched restaurant food types."
}
Response Body: Failure
{
"success": false,
"message": "Unauthorized",
"data": "Unauthorized"
}