Skip to main content

TicketSearchInput

Search and pagination parameters for retrieving tickets. Supports filtering by dates, pagination controls, and custom sorting options for comprehensive ticket management.

input TicketSearchInput {
page: Int!
offset: Int!
createdAt: DateSearchInput
lastModifiedAt: DateSearchInput
sortInputs: [TicketSortInput!]
ids: [String!]
types: [String!]
statuses: [TicketStatus!]
assignedToAdminUserIds: [Int!]
contactIds: [Int!]
customerIds: [Int!]
productIds: [Int!]
clusterIds: [Int!]
orderIds: [Int!]
companyIds: [Int!]
emails: [String!]
phones: [String!]
externalUrls: [String!]
pickedUpAt: DateSearchInput
completedAt: DateSearchInput
lastModifiedByAdminUserIds: [Int!]
createdByAdminUserIds: [Int!]
}

Fields

TicketSearchInput.page ● Int! non-null scalar

Pagination page number

TicketSearchInput.offset ● Int! non-null scalar

Pagination offset number

TicketSearchInput.createdAt ● DateSearchInput input

Search by date created

TicketSearchInput.lastModifiedAt ● DateSearchInput input

Search by date changed

TicketSearchInput.sortInputs ● [TicketSortInput!] list input

Inputs to sort by

TicketSearchInput.ids ● [String!] list scalar

Unique identifier for the ticket. Used for internal system references and relationships.

TicketSearchInput.types ● [String!] list scalar

Type of the ticket. Used for categorization and filtering purposes. Must be in SCREAMING_SNAKE_CASE.

TicketSearchInput.statuses ● [TicketStatus!] list enum

Status of the ticket. Used for tracking the lifecycle of the ticket. One of: [OPEN, IN_PROGRESS, COMPLETED, ARCHIVED

TicketSearchInput.assignedToAdminUserIds ● [Int!] list scalar

Identifier of the admin user assigned to this ticket. Used for task assignment and accountability.

TicketSearchInput.contactIds ● [Int!] list scalar

Identifier of the contact associated with this ticket. Used for customer context and communication.

TicketSearchInput.customerIds ● [Int!] list scalar

Identifier of the customer associated with this ticket. Used for customer context and communication.

TicketSearchInput.productIds ● [Int!] list scalar

Identifier of the product associated with this ticket. Used for product-specific context and support.

TicketSearchInput.clusterIds ● [Int!] list scalar

Identifier of the cluster associated with this ticket. Used for cluster-specific context and support.

TicketSearchInput.orderIds ● [Int!] list scalar

Identifier of the order associated with this ticket. Used for order-specific context and support.

TicketSearchInput.companyIds ● [Int!] list scalar

Identifier of the company associated with this ticket. Used for company-specific context and support.

TicketSearchInput.emails ● [String!] list scalar

Email address of the contact associated with this ticket. Used for customer communication.

TicketSearchInput.phones ● [String!] list scalar

Phone number of the contact associated with this ticket. Used for customer communication.

TicketSearchInput.externalUrls ● [String!] list scalar

External URL associated with this ticket. Used for linking to external resources or documentation.

TicketSearchInput.pickedUpAt ● DateSearchInput input

Timestamp when the ticket was picked up by an admin user. Updated automatically when the status changes to IN_PROGRESS.

TicketSearchInput.completedAt ● DateSearchInput input

Timestamp when the ticket was completed. Updated automatically when the status changes to COMPLETED.

TicketSearchInput.lastModifiedByAdminUserIds ● [Int!] list scalar

Identifier of the admin user who last modified this ticket. Used for audit trails and accountability.

TicketSearchInput.createdByAdminUserIds ● [Int!] list scalar

Identifier of the admin user who created this ticket. Used for audit trails and accountability.

Member Of

tickets query