Add missing room functionality

This commit is contained in:
2020-12-01 01:27:09 +01:00
committed by Oskar
parent d80497554e
commit 9622bfaf1d
3 changed files with 17 additions and 9 deletions

View File

@ -7,6 +7,7 @@ Arrival
POST /arrival
{
"room": "roomname",
"name": "Firstname Lastname",
"agreetoguidelines": true
}
@ -42,9 +43,10 @@ Authorization: Basic < base64 USER:PASSWORD >
[
{
'name': 'firstname-middlename-lastname',
'arrival': 'UTC-ISO-TIMESTAMP',
'departure': 'UTC-ISO-TIMESTAMP'
"room": "roomname",
"name": "firstname-middlename-lastname",
"arrival": "UTC-ISO-TIMESTAMP",
"departure": "UTC-ISO-TIMESTAMP" || null
},
...
]

View File

@ -5,6 +5,7 @@ Default table
```
[
{
'room': 'roomname',
'name': 'firstname-middlename-lastname',
'arrival': 'UTC-ISO-TIMESTAMP',
'departure': 'UTC-ISO-TIMESTAMP'