to

offersList
Array
Object
id
integer
title
string
colorContainer
string
description
string
image
string
buttonText
string
url
string
Example 1
[
    {
        "id": 1,
        "title": "",
        "colorContainer": "",
        "description": "",
        "image": "",
        "buttonText": "",
        "url": ""
    }
]
interestingList
Array
Object
id
integer
Example:
1
name
string
Example:
Зачем нужен имбирь и надо ли разводить васаби в соевом соус
description
string
Example:
В Японии множество традиций и обычаев. Большинство из них стало вдохновением для лучших поваров мира. Одним из самых популярных японских блюд в нашей стране считаются суши. Бытует мнение, что русские суши очень далеки от своего японского предка. Давайте разберемся в культурных разночтениях двух стран и попробуем понять, так ли это на самом деле.
image
string
Example:
http://domen.ru/image.png
interestingArticle
Object
name
string

Зачем нужен имбирь и надо ли разводить васаби в соевом соусе?

image
string
description
string
Example:
В Японии множество традиций и обычаев. Большинство из них стало вдохновением для лучших поваров мира. Одним из самых популярных японских блюд в нашей стране считаются суши. Бытует мнение, что русские суши очень далеки от своего японского предка. Давайте разберемся в культурных разночтениях двух стран и попробуем понять, так ли это на самом деле
id
integer
themes
Array
Object
id
integer
Example:
1
title
string
Example:
НЕМНОГО ИСТОРИИ
description
string
Example:
Первые суши (или иначе их еще называли «суси») были абсолютно не похожи на современные. Их приготовление преследовало всего лишь одну цель — сохранить рыбу. Так, рыбу чистили, засаливали на несколько месяцев, потом промывали и сушили. Затем ее начиняли вареным рисом и снова солили. И только после этого оставляли в специально подготовленной воде примерно на год. Впоследствии же в пищу употребляли исключительно рыбу. А вот рис никто не ел. Его просто-напросто выбрасывали.
banquetsItem
Object
address
string
Example:
Просвещения пр., 48
id
integer
Example:
1
phone
string
Example:
88126772888
description
string
Example:
Идеальное место для уютных семейных вечеров: отличная кухня, приятные цены и огромный опыт в организации торжественных мероприятий. В ресторане предусмотрены комфортабельные залы для компаний от 8 до 40 человек.
workTime
string
Example:
ПН-ВС 12:00 — 03:00
capacity
string
Example:
320
seatingMainRoom
string
Example:
6-20
bonuses
integer
Example:
300
coords
Array

[60.049504, 30.353777] широта и долгота

number
Example:
60.049504
number
Example:
30.353777
closedHall
integer
Example:
130
images
Array
string
Example:
http://domen.ru/image.png
servicesList
Array of string
Example:
[
   "Банкетный зал", "Кальяны", "Комната для детей", "Терраса", "Парковка"
]
Example 1
{
    "address": "Просвещения пр., 48",
    "id": 1,
    "phone": "88126772888",
    "description": "Идеальное место для уютных семейных вечеров: отличная кухня, приятные цены и огромный опыт в организации торжественных мероприятий. В ресторане предусмотрены комфортабельные залы для компаний от 8 до 40 человек.",
    "workTime": "ПН-ВС 12:00 — 03:00",
    "capacity": "320",
    "seatingMainRoom": "6-20",
    "bonuses": 300,
    "coords": [
        60.049504
    ],
    "closedHall": 130,
    "images": [
        "http://domen.ru/image.png"
    ],
    "servicesList": [
        "Банкетный зал", "Кальяны", "Комната для детей", "Терраса", "Парковка"
    ]
}
banquetsList
Array
Object
id
integer
Example:
1
address
string
Example:
дальневосточный пр., 9 к1
description
string
Example:
Идеальное место для уютных семейных вечеров: отличная кухня, приятные цены и огромный опыт в организации торжественных мероприятий. В ресторане предусмотрены комфортабельные залы для компаний от 8 до 40 человек.
image
string
Example:
https://domen.ru/image.png
отправить номер карты лояльности
POST /profile/card

Если передается номер, то считываем номер. Если нет, то картинку в base64

Request headers

client-token
string optional

Request body

Example:
{
    "number": "123123123123",
    "photo": ""
}

Responses

201 Created
Body
Example:
{
    "number": "123123123123",
    "photo": ""
}
Изменение адресa для заказа
PATCH /profile/editAddresses/{id}

Path variables

id
integer required

Request headers

client-token
string optional

Request body

Example:
{
    "city": "Москва",
    "street": "Ленинградский проспект",
    "houseNumber": "37",
    "useAsDefault": "disabled",
    "flat": "567",
    "point": [
        55.792108
    ]
}

Responses

200 OK
Body
Example:
{
    "id": 1,
    "city": "Москва",
    "street": "Ленинградский проспект",
    "houseNumber": "37",
    "useAsDefault": "disabled",
    "flat": "567",
    "point": [
        55.792108,
        37.540748
    ]
}
500 Internal Server Error
Body
Example:
{
    "error_name": "Ошибка добавления",
    "error_description": "Товар отсутствует на складе"
}
Добавление адреса
POST /profile/setAddresses

Request parameters

client-token
string optional

Request body

Example:
{
    "city": "Москва",
    "street": "Ленинградский проспект",
    "houseNumber": "37",
    "useAsDefault": "disabled",
    "flat": "567",
    "point": [
        55.792108
    ]
}

Responses

201 Created
Body
Example:
{
    "id": 1,
    "city": "Москва",
    "street": "Ленинградский проспект",
    "houseNumber": "37",
    "useAsDefault": "disabled",
    "flat": "567",
    "point": [
        55.792108,
        37.540748
    ]
}
500 Internal Server Error
Получение адресов для заказа
GET /profile/getAddresses

Request headers

client-token
string optional

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "city": "Москва",
        "street": "Ленинградский проспект",
        "houseNumber": "37",
        "useAsDefault": "disabled",
        "flat": "567",
        "point": [
            55.792108,
            37.540748
        ]
    }
]
500 Internal Server Error
Получение зон доставки
GET /profile/territories

Authentication

Open

Request parameters

mode
string optional
Example:
day

Responses

200 OK
500 Internal Server Error
Получение бонусов пользователя
GET /profile/bonuses

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "name": "Cashbask",
        "desc": "desc",
        "quantity": 213
    }
]
500 Internal Server Error
Body
Example:
{
    "error_name": "Ошибка добавления",
    "error_description": "Товар отсутствует на складе"
}
Получение заказов пользователя
GET /profile/orders

Responses

200 OK
Body
Example:
{
    "id": 1,
    "typeOrder": "Ресторан",
    "date": "12 июня 2020",
    "quantity": 2,
    "rating": 5,
    "address": "Санкт-Петербург, пр. Стачек, 9 \"Кировский универмаг",
    "dishes": [
        {
            "name": "Роллы запеченные под сырным соусом кальмар",
            "price": 245,
            "quantity": 1,
            "isOnTheMenu": "true",
            "img": "https://domen.ru/image.png",
            "id": 1
        }
    ]
}
Изменения профиля
PATCH /profile

Request headers

client-token
string optional

Токен доступа

Example:
1d12rdsa465t43r3

Request body

Example:
{
    "name": "Ivan Ivanov",
    "email": "Ivanov@Ivanov.ru",
    "dateOfBirth": "02.06.2020",
    "phone": "77777777777",
    "gender": "male",
    "instagram": "instagram.com/myinstagram",
    "vk": "vk.com/myvk",
    "card": "123123123"
}

Responses

200 OK
Body
Example:
{
    "name": "Ivan Ivanov",
    "email": "Ivanov@Ivanov.ru",
    "dateOfBirth": "02.06.2020",
    "phone": "77777777777",
    "gender": "female",
    "instagram": "instagram.com/myinstagram",
    "vk": "vk.com/myvk",
    "card": "123123123"
}
500 Internal Server Error
Получение профиля
GET /profile

Request headers

client-token
string optional

токен доступа

Example:
a13d2f3s4da13sd4as5d...

Responses

200 OK
Body
Example:
{
    "name": "Ivan Ivanov",
    "email": "Ivanov@Ivanov.ru",
    "dateOfBirth": "02.06.2020",
    "phone": "77777777777",
    "gender": "female",
    "instagram": "instagram.com/myinstagram",
    "vk": "vk.com/myvk",
    "card": "123123123"
}
500 Internal Server Error
Body
Example:
{
    "error_name": "Ошибка добавления",
    "error_description": "Товар отсутствует на складе"
}
Это интересно
Получение статьи
GET /interesting/{id}

Authentication

Open

Path variables

id
integer required

Responses

200 OK
Body
Example:
{
    "name": "",
    "image": "",
    "description": "В Японии множество традиций и обычаев. Большинство из них стало вдохновением для лучших поваров мира. Одним из самых популярных японских блюд в нашей стране считаются суши. Бытует мнение, что русские суши очень далеки от своего японского предка. Давайте разберемся в культурных разночтениях двух стран и попробуем понять, так ли это на самом деле",
    "id": 1,
    "themes": [
        {
            "id": 1,
            "title": "НЕМНОГО ИСТОРИИ",
            "description": "Первые суши (или иначе их еще называли «суси») были абсолютно не похожи на современные. Их приготовление преследовало всего лишь одну цель — сохранить рыбу. Так, рыбу чистили, засаливали на несколько месяцев, потом промывали и сушили. Затем ее начиняли вареным рисом и снова солили. И только после этого оставляли в специально подготовленной воде примерно на год. Впоследствии же в пищу употребляли исключительно рыбу. А вот рис никто не ел. Его просто-напросто выбрасывали."
        }
    ]
}
Получение списка статей
GET /interesting

Authentication

Open

Получение списка статей для страницы /interesting

Request parameters

page
string optional
Example:
'profile'

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "name": "Зачем нужен имбирь и надо ли разводить васаби в соевом соус",
        "description": "В Японии множество традиций и обычаев. Большинство из них стало вдохновением для лучших поваров мира. Одним из самых популярных японских блюд в нашей стране считаются суши. Бытует мнение, что русские суши очень далеки от своего японского предка. Давайте разберемся в культурных разночтениях двух стран и попробуем понять, так ли это на самом деле.",
        "image": "http://domen.ru/image.png"
    }
]
Получение списка предложений для маленьких контейнеров
GET /offers

Authentication

Open

Получение списка предложений для маленьких контейнеров

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "title": "",
        "colorContainer": "",
        "description": "",
        "image": "",
        "buttonText": "",
        "url": ""
    }
]
Получение адресов ресторанов, где есть банкетные залы
GET /banquet/addresses/{id}

Path variables

id
string required

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "address": "Большая Морская ул., 31"
    }
]
Получение условий бронирования
GET /banquets/bookingconditions

Responses

Получение популярных меню
GET /banquets/popular

Authentication

Open

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "price": 1500,
        "description": "Базовое меню с закусками. Алкоголь включен"
    }
]
Получение сезонного меню
GET /banquets/newmenu

Authentication

Open

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "name": "Банкетное",
        "description": "от 2700 ₽ на гостя",
        "image": "banquetsItemBackground"
    }
]
Заявка на бронирование банкета
POST /banquets/{id}

Authentication

Open

Path variables

id
integer required

Request body

Example:
{
    "name": "",
    "phone": "",
    "email": "",
    "date": "",
    "idTypeOfEvent": 1,
    "numberOfGuests": 1,
    "idRestaurant": 1,
    "comments": ""
}

Responses

201 Created
Получение списка банкетных залов
GET /banquets

Authentication

Open

Responses

200 OK
Body
Examples
[
    {
        "id": 1,
        "address": "дальневосточный пр., 9 к1",
        "description": "Идеальное место для уютных семейных вечеров: отличная кухня, приятные цены и огромный опыт в организации торжественных мероприятий. В ресторане предусмотрены комфортабельные залы для компаний от 8 до 40 человек.",
        "image": "https://domen.ru/image.png"
    }
]
Получение информации по конкретному бакетному залу
GET /banquets/{id}

Authentication

Open

Получение информации по конкретному бакетному залу

Path variables

id
integer required

Responses

200 OK
Body
Example:
{
    "address": "Просвещения пр., 48",
    "id": 1,
    "phone": "88126772888",
    "description": "Идеальное место для уютных семейных вечеров: отличная кухня, приятные цены и огромный опыт в организации торжественных мероприятий. В ресторане предусмотрены комфортабельные залы для компаний от 8 до 40 человек.",
    "workTime": "ПН-ВС 12:00 — 03:00",
    "capacity": "320",
    "seatingMainRoom": "6-20",
    "bonuses": 300,
    "coords": [
        60.049504, 30.353777,
    ],
    "closedHall": 130,
    "images": [
        "http://domen.ru/image.png","http://domen.ru/image.png","http://domen.ru/image.png",
    ],
    "servicesList": [
         "Банкетный зал", "Кальяны", "Комната для детей", "Терраса", "Парковка"
    ]
}
Запрос проверки промокода
POST /order/promocode

Responses

201 Created
Body
Example:
{
    "code": "1231234142"
}
Запрос отправки заказа еды
POST /order

Request body

Example:
{
    "payment": "cash",
    "datePickup": "Fri Nov 20 2020 12:16:42 GMT+0300 (Москва, стандартное время)",
    "dateDelivery": " Fri Nov 20 2020 12:16:42 GMT+0300 (Москва, стандартное время)",
    "deliveryInterval": "Тест 1",
    "address": "Тест 1",
    "bill": "5000",
    "comment": "комментарий"
}

Responses

201 Created
Body
Example:
{
    "payment": "cash",
    "datePickup": "Fri Nov 20 2020 12:16:42 GMT+0300 (Москва, стандартное время)",
    "dateDelivery": " Fri Nov 20 2020 12:16:42 GMT+0300 (Москва, стандартное время)",
    "deliveryInterval": "Тест 1",
    "address": "Тест 1",
    "bill": "5000",
    "comment": "комментарий"
}
Отправка заявки на партнерство
POST /partners

Request body

Example:
{
    "nameCompany": "Моя Компания",
    "inn": "12312312321312312312",
    "shortDescription": "Описание",
    "contactPerson": "Иванов И",
    "contactPhone": "79271231212"
}

Responses

201 Created
Body
Example:
{
    "nameCompany": "Моя Компания",
    "inn": "12312312321312312312",
    "shortDescription": "Описание",
    "contactPerson": "Иванов И",
    "contactPhone": "79271231212"
}
Получение списка партнеров
GET /partners

Authentication

Open

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "name": "Капитан Морган",
        "type": "Парк отель",
        "image": "http://domen.ru/image.png"
    }
]
Вход в аккаунт
POST /oauth/token

Request body

Example:
{
    "username": "8123123213",
    "password": "",
    "grant_type": "password"
}

Responses

201 Created
Body
Example:
{
    "access_token": "GyJfO-8IOdiqmApvd_D0h8zNPwlCYUfF3oA",
    "expires_in": 300,
    "refresh_expires_in": 1800,
    "refresh_token": "fDAvYXV",
    "token_type": "bearer",
    "not-before-policy": 1,
    "session_state": "1f0428fa",
    "scope": ""
}
Рефреш токена
POST /oauth/token

Authentication

Open

Request headers

client-token
string optional

Responses

201 Created
Body
Example:
{
    "access_token": "GyJfO-8IOdiqmApvd_D0h8zNPwlCYUfF3oA",
    "expires_in": 300,
    "refresh_expires_in": 1800,
    "refresh_token": "fDAvYXV",
    "token_type": "bearer",
    "not-before-policy": 1,
    "session_state": "1f0428fa",
    "scope": ""
}
Проверка актуальности токена
POST /oauth/check_token

Authentication

Open

Request headers

client-token
string optional

Responses

201 Created
Body
Example:
{
    "access_token": "GyJfO-8IOdiqmApvd_D0h8zNPwlCYUfF3oA",
    "expires_in": 300,
    "refresh_expires_in": 1800,
    "refresh_token": "fDAvYXV",
    "token_type": "bearer",
    "not-before-policy": 1,
    "session_state": "1f0428fa",
    "scope": ""
}
GET /restaurants/search

Request parameters

searchString
string optional

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "address": "ДАЛЬНЕВОСТОЧНЫЙ ПР., 9 К1",
        "description": "500 +120 чел. (летняя терраса)",
        "image": "banquetsItemBackground",
        "coords": [
            59.900108
        ]
    }
]
Получение инорфмации о ресторане
GET /restaurants/{id}

Path variables

id
integer required

Responses

200 OK
Получение списка ресторанов
GET /restaurants

Authentication

Open

Request body

Example:
{
    "mode": "",
    "filter": ""
}

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "address": "ДАЛЬНЕВОСТОЧНЫЙ ПР., 9 К1",
        "description": "500 +120 чел. (летняя терраса)",
        "image": "banquetsItemBackground",
        "coords": [
            59.900108
        ]
    }
]
Отправка резюме
POST /career

Authentication

Open

Request body

Responses

201 Created
Body
Получение вакансий
GET /career/vacancies

Authentication

Open

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "name": "Менеджер ресторана",
        "city": "Москва",
        "duties": [
            "Организация бесперебойной работы ресторана (оперативное управление сменой – зал, касса, кухня)"
        ],
        "terms": [
            "Работа в стабильной компании со своевременной выплатой заработной платы"
        ],
        "jobRequirements": [
            "Опыт работы: от 2 лет"
        ]
    }
]
Получение историй успеха
GET /career/history

Authentication

Open

Responses

200 OK
Акции и новости
Получение акций с новостей
GET /promotionsandnews

Authentication

Open

Responses

Поддержка
POST /supports/feed
Отправка отзыва
POST /supports/feed

Authentication

Open

Request body

Example:
{
    "mode": "restaurant",
    "position": "Большая Морская ул., 31",
    "food": true,
    "comment": "asdasdas",
    "file": "File",
    "rating": 4
}

Responses

201 Created
Body
GET /food/search

Authentication

Open

Request parameters

searchString
string optional

Responses

200 OK
Body
Example:
[
    {
        "name": "Набор с пюре из брокколи, цуккини и брюссельской капустой в сливочном соусе",
        "type": "simple",
        "link": "Паста",
        "label": "Новинка",
        "weight": 200,
        "needSelector": true,
        "proteins": 10,
        "fat": 20,
        "carbohydrates": 1,
        "calories": 1,
        "price": 120,
        "oldPrice": 220,
        "composition": [
            "Картофель"
        ],
        "image": "image"
    }
]
Получение данных ланча
GET /food/lunches

Responses

200 OK
Body
Получение данных wok
GET /food/wok

Responses

200 OK
Body
Получение данных еды
GET /food/{id}

Path variables

id
string required

Responses

200 OK
Body
Example:
{
    "name": "Набор с пюре из брокколи, цуккини и брюссельской капустой в сливочном соусе",
    "type": "simple",
    "link": "Паста",
    "label": "Новинка",
    "weight": 200,
    "needSelector": true,
    "proteins": 10,
    "fat": 20,
    "carbohydrates": 1,
    "calories": 1,
    "price": 120,
    "oldPrice": 220,
    "composition": [
        "Картофель"
    ],
    "image": "image"
}
catalogue
GET /catalogue/{id}

Path variables

Example:
{
    "totalPages": 1,
    "totalElements": 1,
    "pageSize": 1,
    "page": 1,
    "content": {
        "smallItems": [
            {
                "id": 1,
                "name": "Пицца Маргарита с классическими томатами",
                "weight": "200",
                "label": "Новинка",
                "stock": "x2",
                "typeLabel": "smallRed",
                "info": "false",
                "price": 245,
                "img": "https://domen.ru/image.img",
                "subinfo": "Акция! При покупке 2 позиций напиток в подарок"
            }
        ],
        "bigItem": [
            {
                "id": 1,
                "img": "https://asd.ru/Burger.img",
                "name": "Бургер к ланчу",
                "oldPrice": 1280,
                "newPrice": 970,
                "description": "Купите набор и получите огромный сет роллов и суши для вечера в теплой компании"
            }
        ]
    }
}

Request parameters

pageSize
integer optional
page
integer optional
Правила использования карт
Правила использования карт
GET /termsOfUseOfCards

Responses

200 OK
Body
Example:
{
    "description": "Карта лояльности Токио-City выдается при посещении ресторана к заказу на сумму от 1000 рублей",
    "regulations": [
        "С 3 февраля 2020 года мы перешли на бонусную программу лояльности. Уровни дисконтных карт сохранены и переведены в кэшбэк."
    ],
    "cashbackThresholds": {
        "first": 1
    }
}
Получение продуктов в корзине
GET /basket

Request headers

client-token
string optional

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "mode": "deliveryAndPickupBtn",
        "typeSelector": "delivery",
        "stock": 20,
        "eatList": [
            {
                "img": "",
                "name": "Пицца Маргарита",
                "calories": 1345,
                "price": 100,
                "description": "",
                "available": true,
                "pickupOnlyFrom": ""
            }
        ],
        "date": "26 мая 2020",
        "stockColor": "grey",
        "restaurant": "",
        "minimumOrder": 1
    }
]
Добавление продукта в корзину
POST /basket

id продукта

Request body

Example:
{
    "id": 1
}

Responses

200 OK
Удаление продукта из корзины
DELETE /basket/{id}

Path variables

id
string required

Responses

204 No Content
Body
Example:
{
    "id": 1
}
Загрузка категорий
Загрузка категорий
GET /categories/{id}

Path variables

id
integer required

Responses

200 OK
Body
Example:
[
    {
        "id": 2,
        "name": "Спайси"
    }
]
Установка города
POST /city

Request body

Example:
{
    "id": 1,
    "city": "Москва"
}

Responses

201 Created
Body
Example:
{
    "id": 1,
    "city": "Москва"
}
Загрузка выбранного города
GET /city

Authentication

Open

нужен ли токен?

Responses

200 OK
Body
Example:
{
    "id": 1,
    "city": "Москва"
}
Бронирование
Загрузка условий бронирования
GET /booking

Responses

200 OK
Обратный звонок
Заказ обратного звонка
POST /call

Request body

Example:
{
    "phone": "79277777777"
}

Responses

201 Created
Body
Example:
{
    "phone": "79277777777"
}
GET /banner

Responses

200 OK
Body
Example:
[
    {
        "text": "Мне пришел текст для баннера"
    }
]
Фильтр
Загрузка фильтров
GET /filters

Authentication

Open

Request body

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "name": "Острое",
        "value": ""
    }
]
Добавление недавно просмотренного товара
POST /history

Добавление будет автоматически после просмотра блюда

Загрузка блока недавно просмотренных товаров
GET /history

Request headers

client-token
string optional

Responses

200 OK
Body
Example:
[
    {
        "id": 1,
        "name": "Роллы запеченные",
        "img": "img",
        "price": 150,
        "isNew": true
    }
]
Рекомендации
Загрузка блока "С этим блюдом заказывают"
GET /recommendations/{id}

Authentication

Open

Path variables

id
integer required

Responses

200 OK
Body
Example:
[
    {
        "id": 2,
        "name": "Яичница с вялеными томатами и прошутто",
        "weight": "200",
        "stock": "",
        "label": "Новинка",
        "typeLabel": "smallRed",
        "info": true,
        "price": 245,
        "img": "",
        "subinfo": ""
    }
]
user
Object
name
string
Example:
Ivan Ivanov
email
string
Example:
Ivanov@Ivanov.ru
dateOfBirth
string
Example:
02.06.2020
phone
string
Example:
77777777777
gender
string
Examples:
malefemale
instagram
string
Example:
instagram.com/myinstagram
vk
string
Example:
vk.com/myvk
card
string
Example:
123123123
error-message
Object
error_name
string

Имя ошибки, которое увидит пользователь

Example:
Ошибка добавления
error_description
string

Описание ошибки, которую увидит пользователь

Example:
Товар отсутствует на складе
userorder
Object
id
integer
Example:
1
typeOrder
string
Example:
Ресторан
date
string
Example:
12 июня 2020
quantity
integer
Example:
2
rating
integer
Example:
5
address
string
Example:
Санкт-Петербург, пр. Стачек, 9 "Кировский универмаг
dishes
Array
Object
name
string
Example:
Роллы запеченные под сырным соусом кальмар
price
number
Example:
245
quantity
integer
Example:
1
isOnTheMenu
boolean
Example:
true
img
string
Example:
https://domen.ru/image.png
id
integer
Example:
1
bonuses
Array
Object
id
integer

1

name
string
Example:
Cashbask
desc
string
Example:
desc
quantity
integer
Example:
213
polygoneForMap
Object
type
string
Example:
FeatureCollection
metadata
Object
name
string
Example:
Сайт ТС день
creator
string
Example:
Yandex Map Constructor
features
Array
Object
type
string
Example:
Feature
id
integer
geometry
Object
type
string
Example:
Polygon
coordinates
Array

“coordinates”:[ [ [30.46045695717545,59.76825298761614],[30.451583884585247,59.761259354724075], ] ]

Array
Array
number
Example:
29.882929015511646
number
Example:
60.156219139958296
properties
Object
description
string
Example:
Доставка при заказе от 700 руб.
fill
string
Example:
#ed4543
fill-opacity
number
Example:
0.6
stroke
string
Example:
#ed4543
stroke-width
string
Example:
5
stroke-opacity
number
Example:
0.9
addressesForOrder
Object
id
integer
Example:
1
city
string
Example:
Москва
street
string
Example:
Ленинградский проспект
houseNumber
string
Example:
37
useAsDefault
string
Example:
disabled
flat
string
Example:
567
point
Array
number
Example:
55.792108
number
Example:
37.540748
addressesForOrderList
loyalty-card
Object
number
string
Example:
123123123123
photo
string

base64

addressWithoutId
Object
city
string
Example:
Москва
street
string
Example:
Ленинградский проспект
houseNumber
string
Example:
37
useAsDefault
string
Example:
disabled
flat
string
Example:
567
point
Array
Example:
[55.792108,37.540748]
number
Example:
55.792108
banquetBooking

Необходимо узнать у заказчика к чему будет привязан банкет. Каждый банкет проводится в отдельном ресторане. Соответственно выбор ресторана на фронте не нужен

Object
name
string
phone
string
email
string
date
string
idTypeOfEvent
integer
numberOfGuests
integer
idRestaurant
integer
comments
string
seasonMenu
Array
Object
id
integer
Example:
1
name
string
Example:
Банкетное
description
string
Example:
от 2700 ₽ на гостя
image
string
Example:
banquetsItemBackground
popularMenu
Array
Object
id
integer
Example:
1
price
integer
Example:
1500
description
string
Example:
Базовое меню с закусками. Алкоголь включен
check-promocode
Object
code
string
Example:
1231234142
send-order

Время можно передавать в виде Unix time В строке адреса можно передавать id вместо адреса

Object
payment
string
Example:
cash
datePickup
string
Example:
Fri Nov 20 2020 12:16:42 GMT+0300 (Москва, стандартное время)
dateDelivery
string
Example:
Fri Nov 20 2020 12:16:42 GMT+0300 (Москва, стандартное время)
deliveryInterval
string
Example:
Тест 1
address
string
Example:
Тест 1
bill
string
Example:
5000
comment
string
Example:
комментарий
addPartner
Object
nameCompany
string
Example:
Моя Компания
inn
string
Example:
12312312321312312312
shortDescription
string
Example:
Описание
contactPerson
string
Example:
Иванов И
contactPhone
string
Example:
79271231212
partnersList
Array
Object
id
integer
Example:
1
name
string
Example:
Капитан Морган
type
string
Example:
Парк отель
image
string
Example:
http://domen.ru/image.png
currentCity
Object
id
integer
Example:
1
city
string
Example:
Москва
wok
Object
background
string
Example:
WokBackground
description
string
Example:
Wok — это возможность прямо сейчас придумать свое собственное блюдо. 30 ингредиентов для вашего кулинарного шедевра в азиатском стиле.
additives
Array
Object
id
integer
Example:
1
name
string
Example:
Основа
list
Array
Object
id
integer
Example:
1
name
string
Example:
Сыр Моцарелла рассольный
price
integer
Example:
50
image
string
Example:
imageTopping.png
categories_chema
Array
Object
id
integer
Example:
2
name
string
Example:
Спайси
phone
Object
phone
string
Example:
79277777777
banquets-booking-conditions
Array
Object
id
integer
Example:
1
title
string
Example:
Каковы условия бронирования столиков в сети Токио-City?
paragraphs
Array
Object
title
string
text
string
Example:
Уважаемые Гости! Обращаем ваше внимание, что 14.02 – 15.02, 21.02 – 23.02, 06.03 – 08.03 бронирование не осуществляется!
list
Array
Object
text
string
addresses-of-restaurant-for-banquets
Array
Object
id
integer
Example:
1
address
string
Example:
Большая Морская ул., 31
restaurantsList
Array
Object
id
integer
Example:
1
address
string
Example:
ДАЛЬНЕВОСТОЧНЫЙ ПР., 9 К1
description
string
Example:
500 +120 чел. (летняя терраса)
image
string
Example:
banquetsItemBackground
coords
Array
Example:
[59.900108,30.273301]
number
Example:
59.900108
modeRestaurants
Object
mode
string
filter
string
vacancies
Array
Object
id
integer
Example:
1
name
string
Example:
Менеджер ресторана
city
string
Example:
Москва
duties
Array
Example:
["Организация бесперебойной работы ресторана (оперативное управление сменой – зал, касса, кухня)","Управление персоналом ресторана / контроль качества выполнения работ"]
string
Example:
Организация бесперебойной работы ресторана (оперативное управление сменой – зал, касса, кухня)
terms
Array
Example:
["Работа в стабильной компании со своевременной выплатой заработной платы","Достойный заработок"]
string
Example:
Работа в стабильной компании со своевременной выплатой заработной платы
jobRequirements
Array
Example:
["Опыт работы: от 2 лет","Образование: высшее"]
string
Example:
Опыт работы: от 2 лет
history-success
Array
Object
id
integer
Example:
1
name
string
Example:
Наталья Локтева
position
string
Example:
Менеджер ресторана
img
string
Example:
img
text
string
Example:
Моя история в ТС началась в 2013 году..
summery
Object
fullName
string
Example:
фыв
age
integer
Example:
19
phoneNumber
string
Example:
12312312312
email
string
Example:
asdasd@asdasd.com
salary
string
Example:
123
experience
string
Example:
123
position
string
Example:
Тест 1
subway
string
Example:
Тест 1
isEducation
string
Example:
Да
educationType
string
Example:
Тест 2
howToFindUs
string
Example:
Тест 2
comment
string
Example:
asd
termsOfUse
boolean
Example:
true
file
string
promotionsandnews-schema
Array
Object
id
integer
Example:
1
date
string
Example:
01.04.2020—30.04.2020
title
string
Example:
ОХ УЖ ЭТИ «ГОЛОДНЫЕ ИГРЫ». ОТ НИХ НЕ СКРЫТЬСЯ!
picture
string
Example:
Picture
text
string
Example:
Только сегодня, ровно на один день, мы активируем огненные скидки
sendReview
Object
mode
string
Example:
restaurant
position
string
Example:
Большая Морская ул., 31
food
boolean
Example:
true
comment
string
Example:
asdasdas
file
string
Example:
File
rating
integer
Example:
4
recommendations-schema
Array
Object
id
integer
Example:
2
name
string
Example:
Яичница с вялеными томатами и прошутто
weight
string
Example:
200
stock
string
label
string
Example:
Новинка
typeLabel
string
Example:
smallRed
info
boolean
price
integer
Example:
245
img
string
subinfo
string
gethistory
Array
Object
id
integer
Example:
1
name
string
Example:
Роллы запеченные
img
string
Example:
img
price
integer
Example:
150
isNew
boolean
Example:
true
filterslist
Array
Object
id
integer
Example:
1
name
string
Example:
Острое
value
string
request-filters
Object
page
string
idDishes
integer
bannerList
Array
Object
text
string
Example:
Мне пришел текст для баннера
booking-conditions
Array
Object
id
integer
Example:
1
title
string
Example:
ДЕпозит
regulations
Array
Example:
["Бронирование столов в ресторанах Токио-City осуществляется по депозитной системе. Минимальная сумма заказа на одного гостя при этом составляет 800 рублей с понедельника по четверг, 1000 рублей с пятницы по воскресенье.","Важно! При условии, если ребенок занимает отдельное место, за него вносится депозит в размере 800 рублей с понедельника по четверг, 1000 рублей с пятницы по воскресенье.","Минимальная сумма депозита составляет 4800 рублей (понедельник-четверг) / 6000 рублей (пятница-воскресенье)","Бронирование столов производится исключительно с составлением предварительного заказа (выбор блюд и напитков по меню).","Бронирование столов возможно для компаний от 6 человек (для компаний до 6 человек минимальная сумма депозита составляет 4800 рублей и 6000 рублей).","В случаях опоздания резерв стола сохраняется НЕ БОЛЕЕ 30 МИНУТ, после чего бронирование аннулируется, и за стол могут быть приглашены любые пришедшие в ресторан гости. При опоздании более 30 минут сумма предоплаты не возвращается, оплаченный предварительный заказ может быть собран с собой."]
string
Example:
Бронирование столов в ресторанах Токио-City осуществляется по депозитной системе. Минимальная сумма заказа на одного гостя при этом составляет 800 рублей с понедельника по четверг, 1000 рублей с пятницы по воскресенье.
text
string
regulationsUseCards
Object
description
string
Example:
Карта лояльности Токио-City выдается при посещении ресторана к заказу на сумму от 1000 рублей
regulations
Array
Example:
["С 3 февраля 2020 года мы перешли на бонусную программу лояльности. Уровни дисконтных карт сохранены и переведены в кэшбэк.","Стать участником программы лояльности и получить бонусную карту в ресторане можно при сумме чека от 1000 рублей."]
string
Example:
С 3 февраля 2020 года мы перешли на бонусную программу лояльности. Уровни дисконтных карт сохранены и переведены в кэшбэк.
cashbackThresholds
Object
first
integer
Example:
1
basket
Array
Object
id
integer
Example:
1
mode
string
Example:
deliveryAndPickupBtn
typeSelector
string
Example:
delivery
stock
integer
Example:
20
eatList
Array
Object
img
string
name
string
Example:
Пицца Маргарита
calories
integer
Example:
1345
price
integer
Example:
100
description
string
available
boolean
Example:
true
pickupOnlyFrom
string
date
string
Example:
26 мая 2020
stockColor
string
Example:
grey
restaurant
string
minimumOrder
number
eatItem
Object
name
string
Example:
Набор с пюре из брокколи, цуккини и брюссельской капустой в сливочном соусе
type
string
Example:
simple
link
string
Example:
Паста
label
string
Example:
Новинка
weight
integer
Example:
200
needSelector
boolean
proteins
integer
Example:
10
fat
integer
Example:
20
carbohydrates
integer
calories
number
price
integer
Example:
120
oldPrice
integer
Example:
220
composition
Array
Example:
["Картофель","огурцы соленые","ветчина","охотничьи колбаски"]
string
Example:
Картофель
image
string
Example:
image
eat-list
Array of eatItem
get-lunch
Object
priceList
Array
Object
id
integer
Example:
1
price
integer
Example:
195
quantityDishes
integer
Example:
1
groups
Array
Object
nameGroup
string
Example:
Салаты
list
Array
Object
id
integer
Example:
1
label
string
Example:
Новинка
present
string
description
string
Example:
Роллы запеченные под сырным соусом кальмар. Салат с обжаренным картофелем, беконом, охотничьими колбасками, солёными огурцами, микс-салатом и ...
image
string
token
Object
access_token
string
Example:
GyJfO-8IOdiqmApvd_D0h8zNPwlCYUfF3oA
expires_in
integer
Example:
300
refresh_expires_in
integer
Example:
1800
refresh_token
string
Example:
fDAvYXV
token_type
string
Example:
bearer
not-before-policy
integer
session_state
string
Example:
1f0428fa
scope
string
auth
Object
username
string
Example:
admin
password
string
grant_type
string
Example:
password

Пагинация нужна в small-items - это список товаров. big-items - это карточки в баннере

Object
totalPages
integer
totalElements
integer
pageSize
integer
page
integer
content
Object
smallItems
Array
Object
id
integer
Example:
1
name
string
Example:
Пицца Маргарита с классическими томатами
weight
string
Example:
200
label
string
Example:
Новинка
stock
string
Example:
x2
typeLabel
string
Example:
smallRed
info
boolean
Example:
false
price
integer
Example:
245
img
string
Example:
https://domen.ru/image.img
subinfo
string
Example:
Акция! При покупке 2 позиций напиток в подарок
bigItem
Array
Object
id
integer
Example:
1
img
string
Example:
https://asd.ru/Burger.img
name
string
Example:
Бургер к ланчу
oldPrice
integer
Example:
1280
newPrice
integer
Example:
970
description
string
Example:
Купите набор и получите огромный сет роллов и суши для вечера в теплой компании
add-eat-basket
Object
id
integer
Example:
1