İçeriğe geç

Creates a ticket synchronously. NOT RECOMMENDED.

POST
/v1/integration/tickets/sync
curl --request POST \
--url https://api.ornek.com/v1/integration/tickets/sync \
--header 'Content-Type: application/json' \
--data '{ "poolId": "example", "subject": "example", "description": "example", "priority": "example", "requesterFullName": "example", "requesterEmailAddress": "example", "requesterPhoneNumber": "example" }'

Pool-default resolution, assignment and the welcome e-mail all run on your request path, so latency is materially worse and a slow dependency becomes your timeout. Use POST /v1/integration/tickets instead and resolve the returned trackingKey. This endpoint exists only for integrations that genuinely cannot poll. It does not accept an Idempotency-Key — a retried request creates a second ticket.

object
poolId
nullable /^-?(?:0|[1-9]\d*)$/
subject
string
nullable
description
string
nullable
priority
string
nullable
requesterFullName
string
nullable
requesterEmailAddress
string
nullable
requesterPhoneNumber
string
nullable
Examplegenerated
{
"poolId": "example",
"subject": "example",
"description": "example",
"priority": "example",
"requesterFullName": "example",
"requesterEmailAddress": "example",
"requesterPhoneNumber": "example"
}

Created

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

Unauthorized

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

Forbidden

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

Unprocessable Entity

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

Too Many Requests

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