meal planning

Generate Shopping List

Changed on

Generate the shopping list for a user from the meal planner in a given time frame.

post/mealplanner/{username}/shopping-list/{start-date}/{end-date}

Request

Path parameters

usernamestring required
Example:dsky

The username.

start-datestring required
Example:2020-06-01

The start date in the format yyyy-mm-dd.

end-datestring required
Example:2020-06-07

The end date in the format yyyy-mm-dd.

Query parameters

hashstring required

The private hash for the username.

Request body

usernamestring required

The username.

start-datestring required

The start date in the format yyyy-mm-dd.

end-datestring required

The end date in the format yyyy-mm-dd.

hashstring required

The private hash for the username.

Example request

{
  "username": "dsky",
  "start-date": "2020-06-01",
  "end-date": "2020-06-07",
  "hash": "4b5v4398573406"
}

Response

Success

costnumber required
startDatenumber required
endDatenumber required

Changes

    • info

      api tag meal planning added

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status