Skip to main content
Get Ticket Relations

Headers

Accept-Language
string

Convert string references and multi-language values into a specified language (iso2) code.

SO-Language
string

Convert string references and multi-language values into a specified language (iso2) code. Overrides Accept-Language value.

SO-Culture
string

Number, date formatting in a specified culture (iso2 language) code. Partially overrides SO-Language/Accept-Language value. Ignored if no Language set.

SO-TimeZone
string

Specify the timezone code that you would like date/time responses converted to.

SO-AppToken
string

The application token that identifies the partner app. Used when calling Online WebAPI from a server.

Query Parameters

$select
string

Optional comma separated list of properties to include in the result. Other fields are then nulled out to reduce payload size: "Name,department,category". Default = show all fields.

Body

TicketId

GetTicketRelations: Get all relations for a ticket.

TicketId
integer<int32>

Response

OK

TicketRelationId
integer<int32>

Primary key

RelationType
enum<string>

How this item relates to the source ticket: parent, child, or related.

Available options:
Related,
Parent,
Child
RelationComment
string

Free-text comment stored on the relation row.

HasParent
boolean

Whether the related ticket has a parent relation.

ChildCount
integer<int32>

Number of child relations the related ticket has.

Number of plain related relations the related ticket has.

RelationCreatedAt
string<date-time>

Registered when in UTC.

TicketId
integer<int32>

The primary key (auto-incremented)

Title
string

The title of the ticket.

IconHint
string

Icon representing the ticket's state.

CustId
integer<int32>

The reference to the customer. NULL or -1 if ticket is not connected to customer.

PersonFullname
string

Get the full name for the primary person (customer)

ContactId
integer<int32>

The company of the person in the cust_id field, if that person belongs to a company

ContactName
string

The name of the connected contact

BaseStatus
enum<string>

The status of the ticket. I.e. active/closed/postponed/deleted

Available options:
Unknown,
Active,
Closed,
Postponed,
Deleted,
Merged,
Spam,
PostponedSpecific,
Postponed1Hour,
Postponed2Hours,
Postponed3Hours,
Postponed4Hours,
PostponedDay,
PostponedWeek,
PostponedMonth
TicketStatus
integer<int32>

User defined ticket status

TicketStatusDisplayValue
string

Get the display name of the ticket status.

TicketCreatedAt
string<date-time>

When the ticket was created.