İçeriğe geç

Gets a single ticket by id, scoped to the token's permitted pools.

GET
/v1/integration/tickets/{id}
curl --request GET \
--url https://api.ornek.com/v1/integration/tickets/1

A ticket that exists but belongs to a pool outside the token’s scope answers 404, never 403 — a 403 would confirm the id is real. Carries an ETag; send it back as If-None-Match to get a 304 with no body. Unlike the list endpoint, this response is invalidated on every write, so it is never stale beyond the write that changed it.

id
required
integer format: int64
/^-?(?:0|[1-9]\d*)$/

OK

object
data
One of:
object
id
/^-?(?:0|[1-9]\d*)$/
trackingKey
string
subject
string
nullable
description
string
nullable
priority
string
ticketStatusId
/^-?(?:0|[1-9]\d*)$/
ticketStatusName
string
nullable
ticketSubStatusId
/^-?(?:0|[1-9]\d*)$/
requesterFullName
string
nullable
requesterEmailAddress
string
nullable
requesterPhoneNumber
string
nullable
createdAt
string format: date-time
completedAt
string format: date-time
nullable
eTag
string
success
boolean
error
One of:
object
status
/^-?(?:0|[1-9]\d*)$/
code
string
nullable
details
message
string

Not Modified

Not Found

object
type
string
nullable
title
string
nullable
status
nullable /^-?(?:0|[1-9]\d*)$/
detail
string
nullable
instance
string
nullable