Orders Test
TXN/Orders/{orderId}/PrintHtmlTickets
Returns a collection of tickets in HTML format for the order. Tickets are built using an HTML ticket template. Ticket number (Id) and Seat information are also included.

Composite tickets are not currently supported, so a request to print one will instead return ticket elements for each performance, as if no composite ticket design had been selected for the package.
Http Verb POST
Resource URL https://ts-stg-appgw.calacademy.org/TessituraService/TXN/Orders/{orderId}/PrintHtmlTickets

URI Parameters

Parameter Name Data Type Required Notes
orderId integer Y The order id.

Request Body

Request object type : PrintOrderHtmlTicketsRequest

Request object type PrintOrderHtmlTicketsRequest has the following properties.
Property Name Data Type Length Required Readonly Notes
PrintOrderTicketsRequest PrintOrderTicketsRequest
TemplateId integer N Template to use for rendering all tickets. If not specified, the template configured for the sublineitems will be used.
{
  "PrintOrderTicketsRequest": {
    "HeaderDesignId": 1,
    "IncludeReceipts": true,
    "ReprintTickets": true,
    "TicketDesignId": 1,
    "LineItems": "sample string 1",
    "SubLineItems": "sample string 2",
    "NewTicketNoForReprints": true,
    "PrinterType": "sample string 3",
    "BatchId": 1
  },
  "TemplateId": 1
}
<PrintOrderHtmlTicketsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <PrintOrderTicketsRequest>
    <BatchId>1</BatchId>
    <HeaderDesignId>1</HeaderDesignId>
    <IncludeReceipts>true</IncludeReceipts>
    <LineItems>sample string 1</LineItems>
    <NewTicketNoForReprints>true</NewTicketNoForReprints>
    <PrinterType>sample string 3</PrinterType>
    <ReprintTickets>true</ReprintTickets>
    <SubLineItems>sample string 2</SubLineItems>
    <TicketDesignId>1</TicketDesignId>
  </PrintOrderTicketsRequest>
  <TemplateId>1</TemplateId>
</PrintOrderHtmlTicketsRequest>

Response object type : PrintOrderHtmlTicketsResponse

Response object type PrintOrderHtmlTicketsResponse has the following properties.
Property Name Data Type Length Required Readonly Notes
OrderId integer
Tickets Collection of HtmlTicket
{
  "OrderId": 1,
  "Tickets": [
    {
      "Id": 1,
      "Html": "sample string 2",
      "Seat": {
        "Id": 1,
        "Row": "sample string 2",
        "Number": "sample string 3",
        "Section": {
          "Id": 1,
          "Description": "sample string 2",
          "ShortDescription": "sample string 3",
          "PrintDescription": "sample string 4"
        }
      }
    },
    {
      "Id": 1,
      "Html": "sample string 2",
      "Seat": {
        "Id": 1,
        "Row": "sample string 2",
        "Number": "sample string 3",
        "Section": {
          "Id": 1,
          "Description": "sample string 2",
          "ShortDescription": "sample string 3",
          "PrintDescription": "sample string 4"
        }
      }
    }
  ]
}
<PrintOrderHtmlTicketsResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
  <OrderId>1</OrderId>
  <Tickets>
    <HtmlTicket>
      <Html>sample string 2</Html>
      <Id>1</Id>
      <Seat>
        <Id>1</Id>
        <Number>sample string 3</Number>
        <Row>sample string 2</Row>
        <Section>
          <Description>sample string 2</Description>
          <Id>1</Id>
          <PrintDescription>sample string 4</PrintDescription>
          <ShortDescription>sample string 3</ShortDescription>
        </Section>
      </Seat>
    </HtmlTicket>
    <HtmlTicket>
      <Html>sample string 2</Html>
      <Id>1</Id>
      <Seat>
        <Id>1</Id>
        <Number>sample string 3</Number>
        <Row>sample string 2</Row>
        <Section>
          <Description>sample string 2</Description>
          <Id>1</Id>
          <PrintDescription>sample string 4</PrintDescription>
          <ShortDescription>sample string 3</ShortDescription>
        </Section>
      </Seat>
    </HtmlTicket>
  </Tickets>
</PrintOrderHtmlTicketsResponse>
Change Version Description Contract Old New
Parameter Added 15.1.3 request has changed from PrintOrderTicketsRequest to PrintOrderHtmlTicketsRequest PrintOrderTicketsRequest PrintOrderHtmlTicketsRequest
Parameter Removed 15.1.3 Parameter templateId removed. templateId
Operation Added 15.1.1 PrintHtmlTickets has been added. PrintHtmlTickets