Update special event

Update the details of a special event

SecurityHTTP: MuseumPlaceholderAuth
Request
path Parameters
eventId
required
string <uuid>

An identifier for a special event.

Example: dad4bce8-f5cb-4078-a211-995864315e39
Request Body schema: application/json
name
string (EventName)

Name of the special event

location
string (EventLocation)

Location where the special event is held

eventDescription
string (EventDescription)

Description of the special event

dates
Array of strings <date> (EventDates)

List of planned dates for the special event

price
number <float> (EventPrice)

Price of a ticket for the special event

patch
/special-events/{eventId}
Request samples
application/json
{ "location": "On the beach.", "price": 15 }
Responses

200

Success

Response Schema: application/json
eventId
required
string <uuid> (EventId)

Identifier for a special event.

name
required
string (EventName)

Name of the special event

location
required
string (EventLocation)

Location where the special event is held

eventDescription
required
string (EventDescription)

Description of the special event

dates
required
Array of strings <date> (EventDates)

List of planned dates for the special event

price
required
number <float> (EventPrice)

Price of a ticket for the special event

400

Bad request

404

Not found

Response samples
application/json
{ "eventId": "dad4bce8-f5cb-4078-a211-995864315e39", "name": "Mermaid Treasure Identification and Analysis", "location": "On the beach.", "eventDescription": "Join us as we review and classify a rare collection of 20 thingamabobs, gadgets, gizmos, whoosits, and whatsits, kindly donated by Ariel.", "dates": [ "2023-09-05T00:00:00.000Z", "2023-09-08T00:00:00.000Z" ], "price": 15 }