Name |
Add OpeningDay |
Description |
Create an opening day |
URL |
api/v1/webapp/restaurant/<int:id> /opening/day/add |
Allowed methods |
POST |
Authorizations |
IsBusiness |
Name |
type |
Description |
<int:id> |
integer |
Restaurant ID |
Create an opening day object for the restaurant.
Name |
type |
required |
unique |
Description |
restaurant |
integer |
yes |
yes |
Restaurant ID |
day |
string |
yes |
yes |
DAYS |
Status |
Description |
HTTP_201_CREATED |
created |
HTTP_204_NO_CONTENT |
dayalready exists |
HTTP_404_NOT_FOUND |
restaurant or token not found |
HTTP_401_UNAUTHORIZED |
wrong token |