cristighr1995 / Holiholic

A trip planner and travel guide application which offers activity suggestions and personalized day plans based on user’s preferences and profile.
Apache License 2.0
2 stars 0 forks source link

[HH-23][PLANNER] Consider visiting interval when retrieving places information #26

Closed cristighr1995 closed 5 years ago

cristighr1995 commented 5 years ago

When an user wants to plan a trip, we should complete the city, tags and visiting interval fields to get a list of places which he can visit.

This can be done with a HTTP POST request.

Request example http://localhost:8090/getPlaces and the body in json format

{
  "city": "bucharest",
  "uid": "6753a27847d7e4e3518b1837c2f0e716",
  "tags": [
    "local",
    "art"
  ],
  "visitingInterval": [
    {
      "close": {
        "time": "2359",
        "day": 2
      },
      "open": {
        "time": "0900",
        "day": 2
      }
    }
  ]
}