Repository navigation
Aroma V2
Aroma V2 has a slightly different API URLs.
You need menu URL, for example: https://aromimenu.cgisaas.fi/TampereAromieMenus/FI/Default/Tampere/JARVENSIPK/Default.aspx.
This link would not work out of the box, so it has to be slightly changed. Cut off the /Default.aspx from the suffix.
Like this:
https://aromimenu.cgisaas.fi/TampereAromieMenus/FI/Default/Tampere/JARVENSIPK
Now we're ready to insert our URL into Food Menu API.
REMEMBER TO URLENCODE YOUR URL BEFORE INSERTING AS PART OF THE URL!
To get all restaurants inside our menu, make this request below:
GET /aroma/<your_url_encoded>/restaurants should return:
{
"status": true,
"restaurants": [
{
"id": "b4e4b009-d755-4835-acb1-1dc04d2fb1de",
"name": "Amurin päiväkoti"
},
{
"id": "d9f1d42b-dafb-45c8-8173-1df7d5c6b12e",
"name": "Ankkarin päiväkoti"
},
{
"id": "05b25672-67b3-47b2-9c7d-31f906dad10b",
"name": "Annalan koulu"
},
{
"id": "71750e17-96a5-4b3c-844f-07913063be8b",
"name": "Annalan koulu / Karosen koulutalo"
}
]
}Pick your restaurant, we'll need its ID later.
Obviously you're waiting to get the menu of that restaurant, aren't you? Alright, let's do this.
Following request will return same response as basic menu's response. Take a look at the response here.
GET /aroma/<your_url_encoded>/restaurants/<restaurant_id>.
This should be enough to get restaurants list, and the restaurant menu. Currently API does not support anything else, but we're planning to expand its capabilities in future.
If you're looking for error responses, check Common Responses page.