Skip to main content
Validate Ticket Relation Definition

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

TicketRelationDefinitionId, SourceTicketTypeIds, DestinationTicketTypeIds, RelationType

ValidateTicketRelationDefinition: Validate a ticket relation definition against combinations of source and destination ticket types. Returns one result per source/destination pair.

TicketRelationDefinitionId
integer<int32>
SourceTicketTypeIds
integer<int32>[]
DestinationTicketTypeIds
integer<int32>[]
RelationType
enum<string>
Available options:
Related,
Parent,
Child

Response

OK

SourceTicketTypeId
integer<int32>

The source ticket type id this result applies to.

DestinationTicketTypeId
integer<int32>

The destination ticket type id this result applies to.

IsValid
boolean

True if no conflicting relation definition exists for this combination.

ExistingRelationDefinitionName
string

Name of the conflicting relation definition if IsValid is false.