Closed rsbaher1 closed 3 years ago
A Guest List could be added during the creation of an Event or after an Event is created.
A Guest List is a list of the model Guest:
{ "invitationID": "<number>", "fullname": "<full name>", "email": "<email>", "isUnderage": "<0 or 1>", "isUnder12": "<0 or 1>", "inWeddingParty": "<0 or 1>", "weddingPartyPosition": "<one of [0, 1, 2, 3, 4]>", "rsvpStatus": "<0 or 1>", "rsvpMeal": "meal option" }
This Request should be done via an HTTP POST request, with the body as follows:
{ "eventID": "1", "guestList": [ { "invitationID": "1", "fullname": "Guest 1", "email": "guest1@test.com", "isUnderage": 0, "isUnder12": 0, "inWeddingParty": 0, "weddingPartyPosition": 0, "rsvpStatus": "", "rsvpMeal": "", }, { "invitationID": "1", "fullname": "Guest 2", "email": "", "isUnderage": 0, "isUnder12": 0, "inWeddingParty": 0, "weddingPartyPosition": 0, "rsvpStatus": "", "rsvpMeal": "", }, { "invitationID": "1", "fullname": "Guest 3", "email": "", "isUnderage": 1, "isUnder12": 1, "inWeddingParty": 1, "weddingPartyPosition": 4, "rsvpStatus": "", "rsvpMeal": "", }, { "invitationID": "2", "fullname": "Guest 4", "email": "guest4@test.com", "isUnderage": 0, "isUnder12": 0, "inWeddingParty": 1, "weddingPartyPosition": 1, "rsvpStatus": "", "rsvpMeal": "", }, { "invitationID": "3", "fullname": "Guest 5", "email": "guest5@test.com", "isUnderage": 0, "isUnder12": 0, "inWeddingParty": 1, "weddingPartyPosition": 2, "rsvpStatus": "", "rsvpMeal": "", }, ] }
incorrect format
Feature Goal
A Guest List could be added during the creation of an Event or after an Event is created.
Guest Model
A Guest List is a list of the model Guest:
Guest Model Explanation:
Request Format
This Request should be done via an HTTP POST request, with the body as follows: