Buy museum tickets

Purchase museum tickets for general entry or special events.

SecurityHTTP: MuseumPlaceholderAuth
Request
Request Body schema: application/json
ticketType
required
string (TicketType)

Type of ticket being purchased. Use general for regular museum entry and event for tickets to special events.

Enum: "event" "general"
eventId
string <uuid> (EventId)

Identifier for a special event.

ticketDate
required
string <date> (Date)

Date that the ticket is valid for.

email
required
string <email> (Email)

Email address for ticket purchaser.

phone
string (Phone)

Phone number for the ticket purchaser (optional).

post
/tickets
Request samples
application/json
{ "ticketType": "general", "ticketDate": "2023-09-07T00:00:00.000Z", "email": "todd@example.com" }
Responses

200

Success

Response Schema: application/json
message
required
string (TicketMessage)

Confirmation message after a ticket purchase.

eventName
string (EventName)

Name of the special event

ticketId
required
string <uuid> (TicketId)

Unique identifier for museum ticket. Generated when purchased.

ticketType
required
string (TicketType)

Type of ticket being purchased. Use general for regular museum entry and event for tickets to special events.

Enum: "event" "general"
ticketDate
required
string <date> (Date)

Date the ticket is valid for.

confirmationCode
required
string (TicketConfirmation)

Unique confirmation code used to verify ticket purchase.

400

Bad request

404

Not found

Response samples
application/json
{ "message": "Museum general entry ticket purchased", "ticketId": "382c0820-0530-4f4b-99af-13811ad0f17a", "ticketType": "general", "ticketDate": "2023-09-07T00:00:00.000Z", "confirmationCode": "ticket-general-e5e5c6-dce78" }