This is the API specification for the Node.js and Express web backend server for SFU Surge event check-in.
This request adds an attendee's check-in to a Google Sheets, given a valid event code.
The email will be changed to be all lowercase.
POST /event/checkin/{eventCode}
Key | Value |
---|---|
Content-Type |
application/json |
{
"firstName": string,
"lastName": string,
"email": string
}
Status | Meaning |
---|---|
201 Created |
Check-in successful. |
400 Bad Request |
A field in the request body was missing or invalid. |
409 Conflict |
Email already checked in. |
500 Internal Server Error |
The server made an error and was unable to recover. |
{}