Update meetings response

This commit is contained in:
rui hildt 2020-05-04 16:03:39 +02:00
parent 42f8e00e51
commit 8f1947344d
1 changed files with 10 additions and 17 deletions

View File

@ -205,7 +205,7 @@ A json object for the meeting to add with **`title`**, `description`, `start_tim
"timezone": "Europe/Brussels",
"duration": 90,
"status": 0,
"password" "simple-meeting-password"
"password": "simple-meeting-password"
}
```
@ -232,12 +232,10 @@ A json object for the added meeting with `id`, `title`, `description`, `start_ti
##### Request
A json object for the meeting to update with `id`, `acount_id` and any of `title`, `description`, `start_time`, `timezone`, `duration`, `status` and `password`.
A json object for the meeting to update with any of `title`, `description`, `start_time`, `timezone`, `duration`, `status` and `password`.
```
{
"id": "f86983db-955e-43b8-be3e-bc92bbeb9b43",
"account_id": 5,
"start_time": "2022-02-16 20:00:00",
"timezone": "Europe/Brussels",
"status": 1
@ -250,15 +248,13 @@ A json object for the updated meeting with `id`, `title`, `description`, `start_
```
{
"data": {
"id": "f86983db-955e-43b8-be3e-bc92bbeb9b43",
"title": "Worldwide strategy meeting for growth",
"description": "Let's find the best ethical growth hacking technics together. Yeah, fun.",
"start_time": "2022-02-16 20:00:00",
"timezone": "Europe/Brussels",
"duration: 90,
"status": 1
}
"id": "f86983db-955e-43b8-be3e-bc92bbeb9b43",
"title": "Worldwide strategy meeting for growth",
"description": "Let's find the best ethical growth hacking technics together.Yeah, fun.",
"start_time": "2022-02-16 20:00:00",
"timezone": "Europe/Brussels",
"duration: 90,
"status": 1
}
```
@ -282,10 +278,7 @@ A json object for the deleted meeting with `id` and `meeting_title`.
```
{
"data": {
"id": "f86983db-955e-43b8-be3e-bc92bbeb9b43",
"meeting_title": "Worldwide strategy meeting for growth"
}
"message": "Meeting with id f86983db-955e-43b8-be3e-bc92bbeb9b43 successfully deleted."
}
```