> For the complete documentation index, see [llms.txt](https://docs.console.zenlayer.com/api-reference/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.console.zenlayer.com/api-reference/platform-service/zsp/datastructure.md).

# Data Types

## TicketItem

A ticket list item.

Referenced by：DescribeTickets

| Parameter Name | Type                          | Description                                                                                              |
| -------------- | ----------------------------- | -------------------------------------------------------------------------------------------------------- |
| ticketId       | String                        | Ticket ID.                                                                                               |
| ticketNumber   | String                        | <p>Ticket number.</p><p>It is null while the ticket is still being created (the status is CREATING).</p> |
| type           | [TicketType](#tickettype)     | Ticket type.                                                                                             |
| status         | [TicketStatus](#ticketstatus) | Ticket status.                                                                                           |
| description    | String                        | Issue description.                                                                                       |
| createTime     | String                        | Creation time.                                                                                           |

## TicketMessage

A ticket communication record.

Referenced by：DescribeTicketDetail

| Parameter Name | Type   | Description                                                                                                     |
| -------------- | ------ | --------------------------------------------------------------------------------------------------------------- |
| subject        | String | Email subject.                                                                                                  |
| content        | String | <p>Email body.</p><p>Only the content of the current reply is kept, excluding the quoted historical emails.</p> |
| fromName       | String | Sender name.                                                                                                    |
| fromAddress    | String | Sender email address.                                                                                           |
| toAddress      | String | Recipient email address.                                                                                        |
| ccAddress      | String | CC email address.                                                                                               |
| messageDate    | String | Email time.                                                                                                     |

## TicketStatus

Describes the status of a ticket.

Referenced by：DescribeTicketDetail, DescribeTickets

| Value                 | Description                                                                                                                                                           |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| CREATING              | Creating: the ticket has been accepted and stored and is being synchronized to the customer service system. The ticket number has not been generated yet.             |
| NEW                   | New: the ticket has been synchronized to the customer service system and is waiting to be picked up by customer support.                                              |
| PROCESSING            | Processing: customer support is handling the ticket, including the cases of waiting for the customer's reply and the customer having provided additional information. |
| UPGRADE\_IN\_PROGRESS | Upgrade in progress: the ticket has been escalated to a higher-level support team.                                                                                    |
| FINISHED              | Finished: the issue has been resolved or the ticket has been closed.                                                                                                  |
| MERGED                | Merged: the ticket has been merged into another ticket, and subsequent communication takes place in the merged ticket.                                                |

## TicketType

Describes the issue type of a ticket.

Referenced by：CreateTicket, DescribeTicketDetail, DescribeTickets

| Value                  | Description                                                                              |
| ---------------------- | ---------------------------------------------------------------------------------------- |
| SERVICE\_FAILURE       | Service failure: a purchased service is unavailable or malfunctioning.                   |
| FINANCIAL\_INQUIRIES   | Billing inquiry: financial issues such as billing amounts, billing cycles, and invoices. |
| ACCOUNT\_TEAM\_RELATED | Account inquiry: issues related to accounts, teams, and member permissions.              |
| PURCHASE\_CONSULTATION | Purchase consultation: pre-sales inquiries about prices, specifications, and solutions.  |
| PRODUCT\_SUGGESTIONS   | Product inquiry: inquiries about product features and suggestions for improvement.       |
| OTHERS                 | Others: issues that do not fall into the categories above.                               |
