david-fisher / 320-S20-Track2

Integration Track 2
BSD 3-Clause "New" or "Revised" License
6 stars 0 forks source link

GET /appointments/{id} #67

Closed dergoose closed 4 years ago

dergoose commented 4 years ago

request: user_id in the URL

example response:

[
    [
        1,   (appointment id   0)
        1,   (user id  *supporters only*  1)
        "2020-04-20",  (date of appointment  2)
        "11:00:00", (start time  3)
        30, (duration in minutes  4)
        2, (appointment type id  5)
        true, (cancelled boolean  6)
        "Sally", (supporter first name  7)
        "Smith",  (supporter last name  8)
        "Resume Review",  (appointment type  9)
        "CICS 202"  (location  10)
        "false"  (rated boolean  11)
    ]
]
dergoose commented 4 years ago

needs more features to account for type of appointment, location, etc.