Tickets

A ticket represents the type of ticket that a member can purchase.

Ticket

A ticket is a product that can be sold in a cinema.

ticket_id
required
string (Ticket_id)

The ticket_id is a unique identifier for a ticket across all tickets. It is case sensitive.

name
required
string

The name of the ticket.

tags
Array of strings (Tags) <= 10 items

A list of tags that are used to group items together.

{
  • "ticket_id": "adult_ticket",
  • "name": "Adult Ticket",
  • "type": "box_office",
  • "tags": [
    ]
}

Create / Update Tickets

Creates or updates a ticket in the system. This will create the ticket in Movio if the ticket does not exist. If the ticket exists, then the ticket with the same ticket_id will be one to one replaced with the new ticket.

SecurityOAuth2
Request
Request Body schema: application/json
required

The tickets to be created.

Array ([ 1 .. 5000 ] items)
ticket_id
required
string (Ticket_id)

The ticket_id is a unique identifier for a ticket across all tickets. It is case sensitive.

name
required
string

The name of the ticket.

tags
Array of strings (Tags) <= 10 items

A list of tags that are used to group items together.

Responses
202

The response to a bulk request that succeeded.

400

The response to a bulk request that failed.

401

The request has not been applied because it lacks valid authentication credentials for the target resource.

422

The request was well-formed but was unable to be followed due to semantic errors.

put/tickets
Request samples
application/json
[
  • {
    }
]
Response samples
application/json
{
  • "total": 3,
  • "created_count": 2,
  • "updated_count": 1
}

Delete Ticket

Deletes a ticket from the system. This effectively remove the ticket from Movio. Useful when a ticket is no longer available for purchase. Movio will keep the ticket in the system for historical purposes.

SecurityOAuth2
Request
path Parameters
ticket_id
required
string (Ticket_id)

The unique identifier for a ticket.

Example: adult_ticket
Responses
204

The ticket was deleted successfully.

400

The request could not be understood by the server due to malformed syntax.

401

The request has not been applied because it lacks valid authentication credentials for the target resource.

422

The request was well-formed but was unable to be followed due to semantic errors.

delete/tickets/{ticket_id}
Response samples
plain/text
The request could not be understood by the server due to
malformed syntax. The client should not repeat the request without
modifications.