GET /tickets/maverick/{ticketId}
Get Maverick ticket
Get a specific Maverick ticket by ID (read-only)
Required Parameters
ticketId
path string Maverick ticket ID
Try it out
Loading...
Output:
Responses
Description
Ticket retrieved successfully
{ "id": "string", "externalTicketId": "string", "externalUrl": "string", "category": "string", "status": "string", "priority": "string", "subject": "string", "requesterName": "string", "requesterEmail": "string", "lastSyncedFromSource": "string", "lastSyncedToSource": "string", "syncStatus": "string", "locallyModified": false, "customFields": { "maverickTicketId": "string", "maverickDbaId": "string", "maverickCategoryId": "string", "notifyMerchant": false, "attentionMerchant": false }, "createdAt": "string", "updatedAt": "string", "description": "string", "maverickData": {}, "syncHistory": [ { "syncedAt": "string", "direction": "string", "success": false, "changes": [ "string" ] } ]}Description
Insufficient permissions
Description
Ticket not found
References
#/components/schemas/MaverickTicket
type: objectproperties: id: type: string description: Pulse ticket ID externalTicketId: type: string description: Original Maverick ticket ID externalUrl: type: string description: Link to Maverick ticket category: type: string description: Ticket category status: type: string enum: - open - in_progress - waiting_customer - resolved - closed priority: type: string enum: - urgent - high - medium - low subject: type: string description: Ticket subject requesterName: type: string requesterEmail: type: string lastSyncedFromSource: type: string format: date-time description: Last inbound sync timestamp lastSyncedToSource: type: string format: date-time nullable: true description: Last outbound sync timestamp syncStatus: type: string enum: - synced - conflict - error - pending locallyModified: type: boolean description: Whether ticket was modified in Pulse customFields: type: object properties: maverickTicketId: type: string maverickDbaId: type: string maverickCategoryId: type: string notifyMerchant: type: boolean attentionMerchant: type: boolean createdAt: type: string format: date-time updatedAt: type: string format: date-time|export interface MaverickTicket { /** Pulse ticket ID */ id?: string; /** Original Maverick ticket ID */ externalTicketId?: string; /** Link to Maverick ticket */ externalUrl?: string; /** Ticket category */ category?: string; status?: "open" | "in_progress" | "waiting_customer" | "resolved" | "closed"; priority?: "urgent" | "high" | "medium" | "low"; /** Ticket subject */ subject?: string; requesterName?: string; requesterEmail?: string; /** Last inbound sync timestamp */ lastSyncedFromSource?: Date; /** Last outbound sync timestamp */ lastSyncedToSource?: Date; syncStatus?: "synced" | "conflict" | "error" | "pending"; /** Whether ticket was modified in Pulse */ locallyModified?: boolean; customFields?: { maverickTicketId?: string; maverickDbaId?: string; maverickCategoryId?: string; notifyMerchant?: boolean; attentionMerchant?: boolean; }; createdAt?: Date; updatedAt?: Date;}#/components/schemas/MaverickTicketDetailed
allOf: - type: object properties: id: type: string description: Pulse ticket ID externalTicketId: type: string description: Original Maverick ticket ID externalUrl: type: string description: Link to Maverick ticket category: type: string description: Ticket category status: type: string enum: - open - in_progress - waiting_customer - resolved - closed priority: type: string enum: - urgent - high - medium - low subject: type: string description: Ticket subject requesterName: type: string requesterEmail: type: string lastSyncedFromSource: type: string format: date-time description: Last inbound sync timestamp lastSyncedToSource: type: string format: date-time nullable: true description: Last outbound sync timestamp syncStatus: type: string enum: - synced - conflict - error - pending locallyModified: type: boolean description: Whether ticket was modified in Pulse customFields: type: object properties: maverickTicketId: type: string maverickDbaId: type: string maverickCategoryId: type: string notifyMerchant: type: boolean attentionMerchant: type: boolean createdAt: type: string format: date-time updatedAt: type: string format: date-time fromRef: "#/components/schemas/MaverickTicket" - type: object properties: description: type: string maverickData: type: object description: Complete Maverick ticket data syncHistory: type: array items: type: object properties: syncedAt: type: string format: date-time direction: type: string enum: - inbound - outbound success: type: boolean changes: type: array items: type: string|export interface MaverickTicketDetailed_AllOf_0 { /** Pulse ticket ID */ id?: string; /** Original Maverick ticket ID */ externalTicketId?: string; /** Link to Maverick ticket */ externalUrl?: string; /** Ticket category */ category?: string; status?: "open" | "in_progress" | "waiting_customer" | "resolved" | "closed"; priority?: "urgent" | "high" | "medium" | "low"; /** Ticket subject */ subject?: string; requesterName?: string; requesterEmail?: string; /** Last inbound sync timestamp */ lastSyncedFromSource?: Date; /** Last outbound sync timestamp */ lastSyncedToSource?: Date; syncStatus?: "synced" | "conflict" | "error" | "pending"; /** Whether ticket was modified in Pulse */ locallyModified?: boolean; customFields?: { maverickTicketId?: string; maverickDbaId?: string; maverickCategoryId?: string; notifyMerchant?: boolean; attentionMerchant?: boolean; }; createdAt?: Date; updatedAt?: Date;}
export interface MaverickTicketDetailed_AllOf_1 { description?: string; /** Complete Maverick ticket data */ maverickData?: {}; syncHistory?: { syncedAt?: Date; direction?: "inbound" | "outbound"; success?: boolean; changes?: string[]; }[];}
export type MaverickTicketDetailed = MaverickTicketDetailed_AllOf_0 & MaverickTicketDetailed_AllOf_1;Route Source Code
Check out the source code for this route entrypoint here: /tickets/maverick/[ticketId]/route.ts
Or the swagger.yaml spec this documentation was generated from:
/tickets/maverick/swagger.yaml