Skip to content

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"
]
}
]
}

References

#/components/schemas/MaverickTicket

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

#/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

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