> ## Documentation Index
> Fetch the complete documentation index at: https://docs.superoffice.com/llms.txt
> Use this file to discover all available pages before exploring further.

# SuperOffice.WebApi.Data.TicketRelationError

# <a id="SuperOffice_WebApi_Data_TicketRelationError" /> Enum TicketRelationError

Namespace: [SuperOffice.WebApi.Data](SuperOffice.WebApi.Data.md)\
Assembly: SuperOffice.WebApi.dll

Describes why a ticket relation is invalid.

```csharp theme={null}
public enum TicketRelationError
```

## Fields

`ParentExists = 0`

0: The source ticket already has a parent.

`RelationExists = 1`

1: A relation between the source and destination tickets already exists.

`SameTicket = 2`

2: Source and destination tickets are the same.


## Related topics

- [SuperOffice.WebApi.Data.TicketRelationResult](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationResult.md)
- [SuperOffice.WebApi.Data.TicketRelationType](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationType.md)
- [SuperOffice.WebApi.Data.TicketRelationEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationEntity.md)
- [SuperOffice.WebApi.Data.TicketRelationItem](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationItem.md)
- [SuperOffice.WebApi.Data.TicketRelationAction](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketRelationAction.md)
- [SuperOffice.WebApi.Data.Ticket ValidateTicketRelationsRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Ticket_ValidateTicketRelationsRequest.md)
