Cart Test
Web/Cart/{sessionKey}/Print/TicketElements
Prints tickets for specified order, lineitems, or sublineitems and returns all ticket elements.

The method returns ticket data for unprinted fully-paid orders or reprints printed tickets specified via order number, one or more line item numbers, or one or more sub line item numbers. In the case of partially-paid orders, only line items or sub line items which have been fully-paid will be eligible for printing. Only tickets belonging to the customer associated via the current web session can be returned. Ticket information can be returned in the default design specified for the ticket price type, or you may specify a ticket design to utilize via the request parameters. After the ticket data has been returned via the API, seats will be flagged as Ticketed in Tessitura.

When reprinting tickets, one of the request parameters provides you with the option to regenerate the ticket number or reuse the current ticket number.
Http Verb POST
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/Web/Cart/{sessionKey}/Print/TicketElements

URI Parameters

Parameter Name Data Type Required Notes
sessionKey string Y

Request Body

Request object type : PrintOrderRequest

Request object type PrintOrderRequest has the following properties.
Property Name Data Type Length Required Readonly Notes
HeaderDesignId integer N Ticket design to use for headers. If included, header elements are returned by the service.
FK: T_DESIGN.deisgn_no   Resource: Designs
IncludeReceipts boolean N Pass True to include receipts for the order (default). Pass False to exclude receipts.
LineItems string N The li_seq_no of the line item(s) for which printed ticket information should be retrieved. Use a comma-delimited list of li_seq_nos to retrieve ticket information for multiple line items. If sublineitem number(s) or order ID is provided, leave blank. Parameter maps to li_seq_no column in the T_WEB_LINEITEM table. Only supported when Mode = 2.
FK: T_LINEITEM.li_seq_no
Mode integer 2 - Return ticket element data. 1 - Used by Print at Home (default).
NewTicketNoForReprints boolean Y Pass True if new ticket number should be created if order is reprinting (default). Pass False if existing ticket number should be used for reprinted order. This parameter is ignored, and treated as True if Mode = 1 (for Print at Home only).
OrderId integer N Order for which to retrieve ticket information. Leave blank if generating print information for single line item or sub line item. Required if Mode = 1.
FK: T_ORDER.order_no   Resource: Orders
PrinterType string "B" - Boca (default). "Z" - Zebra. This will choose the alternate zebra design for the returned elements.
ReprintTickets boolean Pass True to reprint already printed tickets. NewTicketNoForReprints controls if new ticket numbers are given when reprinting. Pass False to skip already printed tickets (default).
SubLineItems string N The sli_no of the sub line item(s) for which printed ticket information should be retrieved. Use a comma-delimited list of sli_nos to retrieve ticket information for multiple subline items. If line item number(s) or order ID is provided, leave blank. Only supported when Mode = 2.
FK: T_SUB_LINEITEM.sli_no   Resource: SubLineItems
TicketDesignId integer N Ticket design to use for retrieved ticket information. If design is specified, will override ticket design applied to order items.
FK: T_DESIGN.deisgn_no   Resource: Designs
{
  "OrderId": 1,
  "HeaderDesignId": 1,
  "IncludeReceipts": true,
  "ReprintTickets": true,
  "TicketDesignId": 1,
  "Mode": 1,
  "LineItems": "sample string 1",
  "SubLineItems": "sample string 2",
  "NewTicketNoForReprints": true,
  "PrinterType": "sample string 3"
}
<PrintOrderRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <HeaderDesignId>1</HeaderDesignId>
  <IncludeReceipts>true</IncludeReceipts>
  <LineItems>sample string 1</LineItems>
  <Mode>1</Mode>
  <NewTicketNoForReprints>true</NewTicketNoForReprints>
  <OrderId>1</OrderId>
  <PrinterType>sample string 3</PrinterType>
  <ReprintTickets>true</ReprintTickets>
  <SubLineItems>sample string 2</SubLineItems>
  <TicketDesignId>1</TicketDesignId>
</PrintOrderRequest>

Response object type : Collection of TicketElement

Response object type Collection of TicketElement has the following properties.
Property Name Data Type Length Required Readonly Notes
BarcodeExpand integer
BarcodeHeight integer
BarcodeImage Collection of byte This field is not used when called from TXN/Orders/PrintTicketElements.
BarcodeInd string
BarcodeInterpInd string
BarcodeTypeNo integer
BoxX integer
BoxY integer
CompositeTicketNo integer
DataLen integer
DataType string
Description string
DesignNo integer
EleHeight integer
ElementType string
EleNo integer
EleSlNo integer
EleType string
EleWidth integer
EleX1 integer
EleY1 integer
FontNo integer
FontRotation string
FontX integer
FontY integer
IdentId integer
JustifyText string
LineHeight integer
LineThick integer
LineWidth integer
Mask string
NegPrintInd string
OrderNo integer
QrScaling integer
RectHeight integer
RectWidth integer
ReprintInd string
SliNo integer
TextHeight integer
TextWidth integer
Val string
[
  {
    "SliNo": 1,
    "Val": "sample string 2",
    "EleNo": 1,
    "EleSlNo": 3,
    "EleType": "sample string 4",
    "EleX1": 1,
    "EleY1": 1,
    "Mask": "sample string 5",
    "FontNo": 1,
    "FontRotation": "sample string 6",
    "FontX": 1,
    "FontY": 1,
    "BoxX": 1,
    "BoxY": 1,
    "LineWidth": 1,
    "NegPrintInd": "sample string 7",
    "DataLen": 1,
    "DataType": "sample string 8",
    "RectHeight": 1,
    "RectWidth": 1,
    "LineHeight": 1,
    "LineThick": 1,
    "TextWidth": 1,
    "TextHeight": 1,
    "ReprintInd": "sample string 9",
    "EleHeight": 1,
    "EleWidth": 1,
    "JustifyText": "sample string 10",
    "BarcodeInd": "sample string 11",
    "BarcodeTypeNo": 1,
    "BarcodeInterpInd": "sample string 12",
    "BarcodeExpand": 1,
    "BarcodeHeight": 1,
    "BarcodeImage": "QEA=",
    "DesignNo": 1,
    "Description": "sample string 13",
    "ElementType": "sample string 14",
    "OrderNo": 1,
    "IdentId": 1,
    "CompositeTicketNo": 1,
    "QrScaling": 1
  },
  {
    "SliNo": 1,
    "Val": "sample string 2",
    "EleNo": 1,
    "EleSlNo": 3,
    "EleType": "sample string 4",
    "EleX1": 1,
    "EleY1": 1,
    "Mask": "sample string 5",
    "FontNo": 1,
    "FontRotation": "sample string 6",
    "FontX": 1,
    "FontY": 1,
    "BoxX": 1,
    "BoxY": 1,
    "LineWidth": 1,
    "NegPrintInd": "sample string 7",
    "DataLen": 1,
    "DataType": "sample string 8",
    "RectHeight": 1,
    "RectWidth": 1,
    "LineHeight": 1,
    "LineThick": 1,
    "TextWidth": 1,
    "TextHeight": 1,
    "ReprintInd": "sample string 9",
    "EleHeight": 1,
    "EleWidth": 1,
    "JustifyText": "sample string 10",
    "BarcodeInd": "sample string 11",
    "BarcodeTypeNo": 1,
    "BarcodeInterpInd": "sample string 12",
    "BarcodeExpand": 1,
    "BarcodeHeight": 1,
    "BarcodeImage": "QEA=",
    "DesignNo": 1,
    "Description": "sample string 13",
    "ElementType": "sample string 14",
    "OrderNo": 1,
    "IdentId": 1,
    "CompositeTicketNo": 1,
    "QrScaling": 1
  }
]
<TicketElements xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <TicketElement>
    <BarcodeExpand>1</BarcodeExpand>
    <BarcodeHeight>1</BarcodeHeight>
    <BarcodeImage>QEA=</BarcodeImage>
    <BarcodeInd>sample string 11</BarcodeInd>
    <BarcodeInterpInd>sample string 12</BarcodeInterpInd>
    <BarcodeTypeNo>1</BarcodeTypeNo>
    <BoxX>1</BoxX>
    <BoxY>1</BoxY>
    <CompositeTicketNo>1</CompositeTicketNo>
    <DataLen>1</DataLen>
    <DataType>sample string 8</DataType>
    <Description>sample string 13</Description>
    <DesignNo>1</DesignNo>
    <EleHeight>1</EleHeight>
    <EleNo>1</EleNo>
    <EleSlNo>3</EleSlNo>
    <EleType>sample string 4</EleType>
    <EleWidth>1</EleWidth>
    <EleX1>1</EleX1>
    <EleY1>1</EleY1>
    <ElementType>sample string 14</ElementType>
    <FontNo>1</FontNo>
    <FontRotation>sample string 6</FontRotation>
    <FontX>1</FontX>
    <FontY>1</FontY>
    <IdentId>1</IdentId>
    <JustifyText>sample string 10</JustifyText>
    <LineHeight>1</LineHeight>
    <LineThick>1</LineThick>
    <LineWidth>1</LineWidth>
    <Mask>sample string 5</Mask>
    <NegPrintInd>sample string 7</NegPrintInd>
    <OrderNo>1</OrderNo>
    <QrScaling>1</QrScaling>
    <RectHeight>1</RectHeight>
    <RectWidth>1</RectWidth>
    <ReprintInd>sample string 9</ReprintInd>
    <SliNo>1</SliNo>
    <TextHeight>1</TextHeight>
    <TextWidth>1</TextWidth>
    <Val>sample string 2</Val>
  </TicketElement>
  <TicketElement>
    <BarcodeExpand>1</BarcodeExpand>
    <BarcodeHeight>1</BarcodeHeight>
    <BarcodeImage>QEA=</BarcodeImage>
    <BarcodeInd>sample string 11</BarcodeInd>
    <BarcodeInterpInd>sample string 12</BarcodeInterpInd>
    <BarcodeTypeNo>1</BarcodeTypeNo>
    <BoxX>1</BoxX>
    <BoxY>1</BoxY>
    <CompositeTicketNo>1</CompositeTicketNo>
    <DataLen>1</DataLen>
    <DataType>sample string 8</DataType>
    <Description>sample string 13</Description>
    <DesignNo>1</DesignNo>
    <EleHeight>1</EleHeight>
    <EleNo>1</EleNo>
    <EleSlNo>3</EleSlNo>
    <EleType>sample string 4</EleType>
    <EleWidth>1</EleWidth>
    <EleX1>1</EleX1>
    <EleY1>1</EleY1>
    <ElementType>sample string 14</ElementType>
    <FontNo>1</FontNo>
    <FontRotation>sample string 6</FontRotation>
    <FontX>1</FontX>
    <FontY>1</FontY>
    <IdentId>1</IdentId>
    <JustifyText>sample string 10</JustifyText>
    <LineHeight>1</LineHeight>
    <LineThick>1</LineThick>
    <LineWidth>1</LineWidth>
    <Mask>sample string 5</Mask>
    <NegPrintInd>sample string 7</NegPrintInd>
    <OrderNo>1</OrderNo>
    <QrScaling>1</QrScaling>
    <RectHeight>1</RectHeight>
    <RectWidth>1</RectWidth>
    <ReprintInd>sample string 9</ReprintInd>
    <SliNo>1</SliNo>
    <TextHeight>1</TextHeight>
    <TextWidth>1</TextWidth>
    <Val>sample string 2</Val>
  </TicketElement>
</TicketElements>
Change Version Description Contract Old New
Property Added 15.0.0 EleNo has been added to TicketElement TicketElement TicketElement.EleNo
Parameter Changed 15.0.0 sessionKey has been marked as required. Required