> ## 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.

# Get Ticket Priority Entity

> Gets a TicketPriorityEntity list item.

Calls the List agent service GetTicketPriorityEntity.



## OpenAPI

````yaml /openapi/rest/openapi-v3-List.json get /api/v1/List/TicketPriority/Items/{id}
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - List
  contact:
    name: SuperOffice DevNet
    url: https://docs.superoffice.com/en/api/index.html
    email: sdk@superoffice.com
servers:
  - url: http://localhost:56350
  - url: https://localhost:56350
security: []
tags: []
externalDocs:
  description: >-
    The SuperOffice DevNet Community has more documentation, examples, and
    discussion forums.
  url: https://community.superoffice.com/en/developer/
paths:
  /api/v1/List/TicketPriority/Items/{id}:
    get:
      tags:
        - List_TicketPriority
      summary: Get Ticket Priority Entity
      description: |-
        Gets a TicketPriorityEntity list item.

        Calls the List agent service GetTicketPriorityEntity.
      operationId: v1TicketPriorityList_GetTicketPriorityEntity
      parameters:
        - name: id
          in: path
          description: The id of the TicketPriority to return.
          required: true
          schema:
            format: int32
            type: integer
        - name: Accept-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code.
          required: false
          schema:
            type: string
        - name: SO-Language
          in: header
          description: >-
            Convert string references and multi-language values into a specified
            language (iso2) code. Overrides Accept-Language value.
          required: false
          schema:
            type: string
        - name: SO-Culture
          in: header
          description: >-
            Number, date formatting in a specified culture (iso2 language) code.
            Partially overrides SO-Language/Accept-Language value. Ignored if no
            Language set.
          required: false
          schema:
            type: string
        - name: SO-TimeZone
          in: header
          description: >-
            Specify the timezone code that you would like date/time responses
            converted to.
          required: false
          schema:
            type: string
        - name: SO-AppToken
          in: header
          description: >-
            The application token that identifies the partner app. Used when
            calling Online WebAPI from a server.
          required: false
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketPriorityEntity
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketPriorityEntity
            application/xml:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketPriorityEntity
            text/xml:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketPriorityEntity
            application/json-patch+json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketPriorityEntity
            application/merge-patch+json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketPriorityEntity
        '404':
          description: Not Found.
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.CRM.Services.TicketPriorityEntity:
      description: "Entity for a ticket priority. This entity describes the meta data for a ticket priority, and provides special operations on it.\r\n<para />\r\nCarrier object for TicketPriorityEntity.\r\nServices for the TicketPriorityEntity Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IListAgent\">List Agent</see>."
      type: object
      properties:
        TicketPriorityId:
          format: int32
          description: The primary key (auto-incremented)
          type: integer
        Name:
          description: The name of the priority.
          type: string
        Status:
          description: The status (normal/deleted) of the priority.
          enum:
            - Unknown
            - Normal
            - Deleted
          type: string
        Flags:
          description: A bitmask of flags.
          enum:
            - Unknown
            - External
            - Default
            - AlertSchedule
          type: string
        SortOrder:
          format: int32
          description: Indicates the sort order for this priority. 1 is first, 100 is last
          type: integer
        TicketRead:
          description: >-
            This field indicates what to do with the escalation chain when the
            request is read
          enum:
            - None
            - Stop
            - Continue
            - Restart
          type: string
        ChangedOwner:
          description: >-
            This field indicates what to do with the escalation chain when the
            request changes owner (manually)
          enum:
            - None
            - Stop
            - Continue
            - Restart
          type: string
        TicketNewinfo:
          description: >-
            This field indicates what to do with the escalation chain when the
            request gets new info
          enum:
            - None
            - Stop
            - Continue
            - Restart
          type: string
        TicketClosed:
          description: >-
            This field indicates what to do with the escalation chain when the
            request is closed
          enum:
            - None
            - Stop
            - Continue
            - Restart
          type: string
        TicketChangedPriority:
          description: >-
            This field indicates what to do with the escalation chain when the
            request is changed into this priority
          enum:
            - None
            - Stop
            - Continue
            - Restart
          type: string
        TicketNew:
          description: >-
            This field indicates what to do with the escalation chain when a new
            request is registered
          enum:
            - None
            - Stop
            - Continue
            - Restart
          type: string
        Deadline:
          format: int32
          description: Deadline to add if escalated (minutes)
          type: integer
        MonStart:
          format: date-time
          description: >-
            The work hour start for Mondays. Note that only the time part of the
            DateTime is used
          type: string
        MonStop:
          format: date-time
          description: >-
            The work hour start for Mondays. Note that only the time part of the
            DateTime is used
          type: string
        TueStart:
          format: date-time
          description: >-
            The work hour start for Tuesdays. Note that only the time part of
            the DateTime is used
          type: string
        TueStop:
          format: date-time
          description: >-
            The work hour stop for Tuesdays. Note that only the time part of the
            DateTime is used
          type: string
        WedStart:
          format: date-time
          description: >-
            The work hour start for Wednesdays. Note that only the time part of
            the DateTime is used
          type: string
        WedStop:
          format: date-time
          description: >-
            The work hour stop for Wednesdays. Note that only the time part of
            the DateTime is used
          type: string
        ThuStart:
          format: date-time
          description: >-
            The work hour start for Thursdays. Note that only the time part of
            the DateTime is used
          type: string
        ThuStop:
          format: date-time
          description: >-
            The work hour stop for Thursdays. Note that only the time part of
            the DateTime is used
          type: string
        FriStart:
          format: date-time
          description: >-
            The work hour start for Fridays. Note that only the time part of the
            DateTime is used
          type: string
        FriStop:
          format: date-time
          description: >-
            The work hour stop for Fridays. Note that only the time part of the
            DateTime is used
          type: string
        SatStart:
          format: date-time
          description: >-
            The work hour start for Saturdays. Note that only the time part of
            the DateTime is used
          type: string
        SatStop:
          format: date-time
          description: >-
            The work hour stop for Saturdays. Note that only the time part of
            the DateTime is used
          type: string
        SunStart:
          format: date-time
          description: >-
            The work hour start for Sundays. Note that only the time part of the
            DateTime is used
          type: string
        SunStop:
          format: date-time
          description: >-
            The work hour stop for Sundays. Note that only the time part of the
            DateTime is used
          type: string
        NonDates:
          description: >-
            Dates which the escalation time should not be running. Note that
            only the day of the year (day and month) is used. So the year and
            time part is not used even if this is a DateTime. Exception - it IS
            possible to include a year here, for dates that should not repeat
            every year
          type: array
          items:
            format: date-time
            type: string
        EscalationLevels:
          description: Escalation levels bound to the parent priority
          type: array
          items:
            $ref: >-
              #/components/schemas/SuperOffice.CRM.Services.TicketPriorityEscalationLevelEntity
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
    SuperOffice.CRM.Services.TicketPriorityEscalationLevelEntity:
      description: "Entity for ticket priority escalation level. Entity describes properties/actions when escalation(alert) happens. Alert is raised according to TicketPriority timing intervals\r\n<para />\r\nCarrier object for TicketPriorityEscalationLevelEntity.\r\nServices for the TicketPriorityEscalationLevelEntity Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IListAgent\">List Agent</see>."
      type: object
      properties:
        TicketAlertId:
          format: int32
          description: The primary key (auto-incremented)
          type: integer
        AlertLevel:
          format: int32
          description: The alert level (strictly ascending number).
          type: integer
        AlertTimeout:
          format: int32
          description: The time (in minutes) before ticket is escalated to next level.
          type: integer
        Action:
          format: int32
          description: >-
            Bitmap indicating what should be done when escalating *to* this
            level.
          type: integer
        DelegateTo:
          format: int32
          description: >-
            If ticket should be redelegated on escalation, this field contains
            the id of the target user.
          type: integer
        ScriptId:
          format: int32
          description: Script that can be executed then the ticket alert action occur.
          type: integer
        EmailTo:
          description: >-
            If an email should be sent when escalating, this field will contain
            the recipient email address.
          type: string
        SmsTo:
          description: >-
            If an sms should be sent when escalating, this field will contain
            the recipient email address.
          type: string
        ReplyTemplateIdCustomer:
          format: int32
          description: >-
            Reference to the reply template used in this alert, for mail to
            customer
          type: integer
        ReplyTemplateIdUser:
          format: int32
          description: >-
            Reference to the reply template used in this alert, for mail to
            owner of ticket
          type: integer
        ReplyTemplateIdCatmast:
          format: int32
          description: >-
            Reference to the reply template used in this alert, for mail to
            category master
          type: integer
        ReplyTemplateIdEmail:
          format: int32
          description: >-
            Reference to the reply template used in this alert, for mail to
            custom address
          type: integer
        RtiCustomerSms:
          format: int32
          description: >-
            Reference to the reply template used in this alert, for sms to
            customer
          type: integer
        ReplyTemplateIdUserSms:
          format: int32
          description: >-
            Reference to the reply template used in this alert, for sms to owner
            of ticket
          type: integer
        ReplyTemplateIdCatmastSms:
          format: int32
          description: >-
            Reference to the reply template used in this alert, for sms to
            category master
          type: integer
        ReplyTemplateIdSms:
          format: int32
          description: >-
            Reference to the reply template used in this alert, for sms to
            custom address
          type: integer
        TableRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.TableRight'
        FieldProperties:
          description: >-
            Field property dictionary mapping field names to field access
            rights.
          type: object
          additionalProperties:
            $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldProperty'
    SuperOffice.CRM.Security.TableRight:
      description: "Wraps a table right together with an explanatory reason.\r\nCode can indicate why access is restricted."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string
    SuperOffice.CRM.Security.FieldProperty:
      description: >-
        Class holding properties like field length, field type about a field in
        the carrier.
      type: object
      properties:
        FieldRight:
          $ref: '#/components/schemas/SuperOffice.CRM.Security.FieldRight'
        FieldType:
          type: string
        FieldLength:
          format: int32
          description: ''
          type: integer
    SuperOffice.CRM.Security.FieldRight:
      description: "Wraps the field right together with an explanatory reason.\r\nAlso adds logical operators to the field rights so that they can be easily combined."
      type: object
      properties:
        Mask:
          type: string
        Reason:
          type: string

````

## Related topics

- [Get Ticket Priority Entity](/en/api/reference/restful/agent/list_agent/get-ticket-priority-entity.md)
- [Get Ticket Priority Entity Headings](/en/api/reference/restful/rest/list_ticketpriority/get-ticket-priority-entity-headings.md)
- [SuperOffice.WebApi.Data.TicketPriorityEntity](/en/api/reference/webapi/SuperOffice.WebApi.Data.TicketPriorityEntity.md)
- [Get All Ticket Priority Entity](/en/api/reference/restful/rest/list_ticketpriority/get-all-ticket-priority-entity.md)
- [NSTicketPriorityEntity](/en/automation/crmscript/reference/CRMScript.NetServer.NSTicketPriorityEntity.md)
- [Create Default Ticket Priority Entity](/en/api/reference/restful/rest/list_ticketpriority/create-default-ticket-priority-entity.md)
