Update the Guest's Status
PUT api/guest/status/{event_id}
This is used to update a guest’s status in the event.
Example Request
curl -X 'PUT' \ 'http://localhost:8080/api/guest/status/<event_id>' \ -H 'accept: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' -d '{ "event_guest_status": <status> }'Request Body
Content Type: application/json
Content:
{ "event_guest_status": 0 // Required: Attended = 1, Invited = 2, Interested = 3, Accepted = 4, Going = 7}Responses
200 - OK
The request was successful
Content Type: text/plain
Content:
Guests status is successfully updated!400 - Bad Request
Validation Error
Content Type: application/json
Content:
{ "param_name": [ "string" ], "param_name_2": [ "string" ], "error": "The user is not invited in the event"}401 - Unauthorized
The request requires valid bearer token, but none were provided, or the bearer token is invalid.
429 - Too Many Requests
The user has exceeded the rate limit of 240 requests per minute.
500 - Internal Server Error
There is an issue with the backend. Sentry will provide a more detailed report on the problem.