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

# Create Default Ticket Category Entity

> Gets a default TicketCategoryEntity list item.



## OpenAPI

````yaml /openapi/rest/openapi-v3-List.json get /api/v1/List/TicketCategory/Items/Default
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/TicketCategory/Items/Default:
    get:
      tags:
        - List_TicketCategory
      summary: Create Default Ticket Category Entity
      description: Gets a default TicketCategoryEntity list item.
      operationId: v1TicketCategoryList_CreateDefaultTicketCategoryEntity
      parameters:
        - 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.TicketCategoryEntity
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketCategoryEntity
            application/xml:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketCategoryEntity
            text/xml:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketCategoryEntity
            application/json-patch+json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketCategoryEntity
            application/merge-patch+json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.CRM.Services.TicketCategoryEntity
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.CRM.Services.TicketCategoryEntity:
      description: "This entity describes the meta data for a ticket category, and provides special operations on it.\r\n<para />\r\nCarrier object for TicketCategoryEntity.\r\nServices for the TicketCategoryEntity Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IListAgent\">List Agent</see>."
      type: object
      properties:
        TicketCategoryId:
          format: int32
          description: The id of the ticket category. (primary key)
          type: integer
        ParentId:
          format: int32
          description: >-
            The parent category for this category. -1 if this is a toplevel
            category.
          type: integer
        Name:
          description: The (short) name of this category. E.g. &apos;support&apos;.
          type: string
        Fullname:
          description: >-
            The fullname (compiled from parents&apos; names) for this category.
            E.g. &apos;norway/product A/support&apos;.
          type: string
        CategoryMaster:
          format: int32
          description: The user associated with this category.
          type: integer
        Flags:
          description: A bitmask representing flags for this category.
          enum:
            - Unknown
            - Internal
            - OnlyLoggedInUsers
            - DefaultToCategoryMaster
            - ListInMain
            - RedelegateNewMsg
            - DelegateToOurContact
            - PropagateReplyTemplate
            - MembersOnly
            - NotifyMembers
            - AcceptWhenReplying
          type: string
        DelegateMethod:
          description: An integer indicating the delegation method for this category.
          enum:
            - Unknown
            - Even
            - Weighted
            - Unfair
            - Not
          type: string
        ExternalName:
          description: The external name for this category, used for the customer frontend.
          type: string
        ClosingStatus:
          description: Determines the default status used in the GUI when creating a ticket
          enum:
            - UserDefined
            - Active
            - Closed
            - Postponed
          type: string
        MsgClosingStatus:
          description: >-
            Determines the default status used in the GUI when adding a request
            to a ticket
          enum:
            - UserDefined
            - Active
            - Closed
            - Postponed
          type: string
        AssignmentLag:
          format: int32
          description: >-
            Number of minutes we shall override the assignment if a customer
            sends consecutive messages to this category
          type: integer
        ReplyTemplate:
          format: int32
          description: Reply template to merge with messages posted in this category
          type: integer
        NotificationEmail:
          description: >-
            Comma separated list of addresses to notify when requests are
            redelegated to (unassigned) in this category.
          type: string
        DefaultTicketStatus:
          $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketStatusEntity'
        DefaultMessageStatus:
          $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketStatusEntity'
        EffectiveReplyTemplateId:
          format: int32
          description: >-
            Id of reply template to merge into messages, whose ticket belongs to
            this category. Also takes into account 'Apply to subcategories' on
            parent categories. This is a calculated, readonly field.
          type: integer
        ExtraFields:
          description: "Deprecated: Use {SuperOffice.CRM.Services.TicketCategoryEntity.CustomFields} instead.\r\nExtra fields added to the carrier. This could be data from Plug-ins, the foreign key system, external applications, etc."
          type: object
          additionalProperties:
            type: string
        CustomFields:
          description: "Udef + Extra fields added to the carrier. Extra fields as defined by changes to database schema + user-defined fields as defined by admin.\r\nCustom fields combines user defined fields and extra fields into one bucket. \r\nThe individual {SuperOffice.CRM.Services.TicketCategoryEntity.ExtraFields} and <see cref=\"!:UserDefinedFields\">UserDefinedFields</see> properties are deprecated in favor of this\r\ncombined collection."
          type: object
          additionalProperties:
            type: string
        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.TicketStatusEntity:
      description: "Entity for a ticket status. This entity describes the meta data for a ticket status, and provides special operations on it.\r\n<para />\r\nCarrier object for TicketStatusEntity.\r\nServices for the TicketStatusEntity Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IListAgent\">List Agent</see>."
      type: object
      properties:
        TicketStatusId:
          format: int32
          description: The primary key (auto-incremented)
          type: integer
        Name:
          description: Name of user defined ticket status
          type: string
        Status:
          description: >-
            The &apos;classic&apos; ticket status. I.e.
            active/closed/postponed/deleted
          enum:
            - Unknown
            - Active
            - Closed
            - Postponed
            - Deleted
            - Merged
            - Spam
            - PostponedSpecific
            - Postponed1Hour
            - Postponed2Hours
            - Postponed3Hours
            - Postponed4Hours
            - PostponedDay
            - PostponedWeek
            - PostponedMonth
          type: string
        TimeCounter:
          description: >-
            Which field in ticket we count time spent on (queue, internal,
            external)
          enum:
            - None
            - Internally
            - Externally
            - Queue
          type: string
        NoEmailReopen:
          description: Whether inbound emails can reopen requests with this status or not
          type: boolean
        IsDefault:
          description: >-
            Indicates if status is default one as there might be more than one
            status with same internal status
          type: boolean
        UsedInQueue:
          description: If set, status is used in GetNext calculations
          type: boolean
        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

- [Create Default Ticket Category Entity](/en/api/reference/restful/agent/list_agent/create-default-ticket-category-entity.md)
- [NSListAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSListAgent.md)
- [SuperOffice.WebApi.Agents.IListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IListAgent.md)
- [SuperOffice.WebApi.Agents.ListAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ListAgent.md)
- [Create Default Ticket Entity](/en/api/reference/restful/agent/ticket_agent/create-default-ticket-entity.md)
- [Create Default For Ticket Type](/en/api/reference/restful/agent/ticket_agent/create-default-for-ticket-type.md)
