Skip to content

Latest commit

 

History

History
77 lines (58 loc) · 946 Bytes

attendeeCheckOut.md

File metadata and controls

77 lines (58 loc) · 946 Bytes

Attendee Check Out

Allows the attendee to checkout.

URL: /attendee/:id/check-out

Method: POST

Auth Required: NO

Data Constraints

{
    "fullName": "[fullName]",
    "email": "[Email Address]",
    "lat": "[lat]",
    "long": "[long]",
    "checkIn": "[checkOut]"
}

Data Example

{
    "email": "[email protected]",
    "password": "f$1F-(9>?",
}

Success Response

Code: 200

Content Example

{ 
    "Response": "5688788bdc6754f7854a68ec5643" 
}

Error Response

Condition: "If there is missing information."

Code: 400

Content Example

{ 
    "Response": "Input missing" 
}

Condition: "If User email is not found"

Code: 404

Content Example

{ 
    "Response": "No User Found" 
}

Condition: "If User password does not match"

Code: 403

Content Example

{ 
    "Response": "Auth Error" 
}