# ContractTicketPurchasesById - Catalog: `Autotask` - Schema: `ContractTicketPurchases` This is a read-only table function. The Autotask API may not support changing the data or the Invantive UniversalSQL driver for Autotask does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Autotask API. ## Parameters of Table Function | Name | Data Type | Required | Default Value | Documentation | |---|:---:|:---:|:---:|---| | `id` | `int64` | ☑ | | | ## Columns of Table Function The columns of the table function `ContractTicketPurchasesById` are shown below. Each column has an SQL data type. | Name | Data Type | Label | Required | Documentation | |---|:---:|---|:---:|---| | `contractID` | `int64` | Contract ID | ☐ | | | `datePurchased` | `datetime` | Purchase Date | ☐ | | | `endDate` | `datetime` | End Date | ☐ | | | `id` | `int64` | ID | ☐ | | | `invoiceNumber` | `string` | Invoice Number | ☐ | | | `isPaid` | `boolean` | Is Paid | ☐ | | | `paymentNumber` | `string` | Payment Number | ☐ | | | `paymentType` | `int32` | Payment Type | ☐ | | | `perTicketRate` | `double` | Per Ticket Rate | ☐ | | | `soapParentPropertyId_body_canReduce` | `boolean` | | ☐ | | | `soapParentPropertyId_body_nodeType` | `string` | | ☐ | | | `soapParentPropertyId_body_type` | `string` | | ☐ | | | `soapParentPropertyId_canReduce` | `boolean` | | ☐ | | | `soapParentPropertyId_name` | `string` | | ☐ | | | `soapParentPropertyId_nodeType` | `string` | | ☐ | | | `soapParentPropertyId_returnType` | `string` | | ☐ | | | `soapParentPropertyId_tailCall` | `boolean` | | ☐ | | | `soapParentPropertyId_type` | `string` | | ☐ | | | `startDate` | `datetime` | Start Date | ☐ | | | `status` | `int32` | Status | ☐ | | | `ticketsPurchased` | `double` | Tickets Purchased | ☐ | | | `ticketsUsed` | `double` | Tickets Used | ☐ | |