Skip to content

Update Restaurant By Id #140

@MarkusMeyer13

Description

@MarkusMeyer13

Create PUT - Function for updating an Restaurant.
PUT http://localhost:7071/api/restaurants

Body:
{
"id": "Bieg-Aalen",
"url": null,
"name": "Bieg",
"street": null,
"phoneNumber": "0815",
"city": "Aalen",
"postalCode": null,
"emailAddress": "restaurant@example.com"
}

Please have a look at the Meal Implementation:
https://github.com/PlanBGmbH/PlanButlerV2/blob/dev/PlanB.Butler.Services/PlanB.Butler.Services/Controllers/MealService.cs

GET by ID:
http://localhost:7071/api/restaurants/Bieg-Aalen

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions