Versions Compared

Key

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

...

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
}