Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To remove an existing eticket file simply send an empty value {"eticket":""}. Removing an eticket file will also remove the barcode as well. PUTting a new eticket file will overwrite an existing one as well as remove/overwrite the existing barcode.

To remove an existing barcode simply send an empty value {"barcode":""}.

You cannot add multiple etickets or barcodes in a single API call, you must make a separate PUT for every seat.

...

Name
Description
Type
Presence
LocationOther
ticket_idThe id of the individual ticket. It is the id for each item in the ticket_list available via Ticket Groups / Show - Removed with ticket_list=true set.IntegerRequiredURI 
eticketBase-64 encoded single page PDFStringOptionalBodyOnly one page per file allowed
barcodeThe ticket’s barcodeStringOptionalBody30 Characters max

...

RequestResponse
PUT /v9/tickets/123456 
Code Block
themeConfluence
languagejs
{
  "eticket": "<base-64 encoded single-page PDF>",
  "barcode": "4567-8731-5497-4859"
}
Code Block
themeConfluence
languagejs
{
  "barcode": "4567-8731-5497-4859",
  "eticket": {
    "eticket_pack_id": 457325456,
    "thumbnail": "https://s3.amazonaws.com/etickets.sandbox.ticketevolution.com/65478.png",
    "id": 65478
  },
  "id": 123456,
  "seat": 3
}

Remove an existing PDF (and barcode)

Code Block
themeConfluence
languagejs
{"eticket":""}
Code Block
themeConfluence
languagejs
{
  "barcode": "",
  "eticket": null,
  "id": 123456,
  "seat": 3
}

Remove an existing barcode

Code Block
themeConfluence
languagejs
{"barcode":""}


Code Block
themeConfluence
languagejs
{
  "barcode": null,
  "eticket": {
    "eticket_pack_id": 457325456,
    "thumbnail": "https://s3.amazonaws.com/etickets.sandbox.ticketevolution.com/65478.png",
    "id": 65478
  },
  "id": 123456,
  "seat": 3
}