Restaurant Banner
Example API Request:
URL: https://www.api.123demo.co.in/api/restaurant_banner
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": {
"public_root_url": "http://superadmin.123demo.co.in/storage/app/public/restaurant/banner/mid/",
"data": [
{
"id": 6,
"restaurant_id": 40,
"banner": "6206525404e691644581460.jpg",
"sequence": 1,
"status": 0,
"created_at": "2022-02-11 17:41:00"
}
]
},
"message": "Get fetched restaurant banner."
}
Response Body: Failure
{
"success": false,
"message": "Unauthorized",
"data": "Unauthorized"
}