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

# Post Ticket Type Entity

> Creates a new TicketTypeEntity

Calls the List agent service SaveTicketTypeEntity.
NsApiSlow threshold: 5000 ms.



## OpenAPI

````yaml /openapi/rest/openapi-v3-TicketType.json post /api/v1/TicketType
openapi: 3.0.0
info:
  version: v1-REST
  title: SuperOffice REST API v1
  description: SuperOffice REST API - TicketType
  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/TicketType:
    post:
      tags:
        - TicketType
      summary: Post Ticket Type Entity
      description: "Creates a new TicketTypeEntity\n\nCalls the List agent service SaveTicketTypeEntity.\r\nNsApiSlow threshold: 5000 ms."
      operationId: v1TicketTypeEntity_PostTicketTypeEntity
      parameters:
        - name: $select
          in: query
          description: >-
            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.
          required: false
          schema:
            type: string
        - 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
      requestBody:
        $ref: '#/components/requestBodies/SuperOffice.CRM.Services.TicketTypeEntity'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.ListCarriers.TicketTypeEntityWithLinks
            text/json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.ListCarriers.TicketTypeEntityWithLinks
            application/xml:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.ListCarriers.TicketTypeEntityWithLinks
            text/xml:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.ListCarriers.TicketTypeEntityWithLinks
            application/json-patch+json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.ListCarriers.TicketTypeEntityWithLinks
            application/merge-patch+json:
              schema:
                $ref: >-
                  #/components/schemas/SuperOffice.WebApi.v1.Carriers.ListCarriers.TicketTypeEntityWithLinks
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  requestBodies:
    SuperOffice.CRM.Services.TicketTypeEntity:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketTypeEntity'
        text/json:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketTypeEntity'
        application/xml:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketTypeEntity'
        text/xml:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketTypeEntity'
        application/x-www-form-urlencoded:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketTypeEntity'
        application/json-patch+json:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketTypeEntity'
        application/merge-patch+json:
          schema:
            $ref: '#/components/schemas/SuperOffice.CRM.Services.TicketTypeEntity'
      description: The TicketTypeEntity to be saved.
      required: true
  schemas:
    SuperOffice.WebApi.v1.Carriers.ListCarriers.TicketTypeEntityWithLinks:
      description: "Entity for a ticket (Request) type. This enables having diversified tickets needed for a specific process.\r\n<para />\r\nTicketTypeEntity entity with API _Links added."
      type: object
      properties:
        TicketTypeId:
          format: int32
          description: Primary key
          type: integer
        Name:
          description: The list item
          type: string
        Rank:
          format: int32
          description: Rank order
          type: integer
        Tooltip:
          description: Tooltip or other description
          type: string
        Icon:
          description: Name of the icon
          type: string
        DefaultTicketStatus:
          format: int32
          description: Default ticket status for new tickets
          type: integer
        TicketStatuses:
          description: >-
            Relevant/available ticket statuses for this Request type. Empty
            field means all statuses are available.
          type: array
          items:
            format: int32
            type: integer
        DefaultTicketPriority:
          format: int32
          description: Default ticket priority for new tickets
          type: integer
        TicketPriorities:
          description: >-
            Relevant/available ticket priorities for this Request type. Empty
            field means all priorities are available.
          type: array
          items:
            format: int32
            type: integer
        ReplyTemplate:
          format: int32
          description: Reply template to use when replying to a ticket of this type
          type: integer
        IsExternalVisible:
          description: >-
            Is this request type visible to external people and they can submit
            requests of this type
          type: boolean
        IsDefault:
          description: Is this Ticket Type marked as default
          type: boolean
        ShowInNew:
          description: Enables this request type to be accessible in +New in top bar
          type: boolean
        ExcludeSignature:
          description: Do not insert user signature automatically
          type: boolean
        ExcludeEmailRecipients:
          description: Create request without initially having to send outbound e-mail
          type: boolean
        ExternalAsDefault:
          description: Ability to set external access level for this request type
          type: boolean
        VisibleForGroups:
          description: Array of references to the visible for groups
          type: array
          items:
            format: int32
            type: integer
        ReplyForwardNoSignature:
          description: Do not insert user signature when replying or forwarding the message
          type: boolean
        ReplyExternalAsDefault:
          description: Set external access level when replying the message
          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'
        _Links:
          type: object
          additionalProperties:
            type: string
    SuperOffice.CRM.Services.TicketTypeEntity:
      description: "Entity for a ticket (Request) type. This enables having diversified tickets needed for a specific process.\r\n<para />\r\nCarrier object for TicketTypeEntity.\r\nServices for the TicketTypeEntity Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IListAgent\">List Agent</see>."
      type: object
      properties:
        TicketTypeId:
          format: int32
          description: Primary key
          type: integer
        Name:
          description: The list item
          type: string
        Rank:
          format: int32
          description: Rank order
          type: integer
        Tooltip:
          description: Tooltip or other description
          type: string
        Icon:
          description: Name of the icon
          type: string
        DefaultTicketStatus:
          format: int32
          description: Default ticket status for new tickets
          type: integer
        TicketStatuses:
          description: >-
            Relevant/available ticket statuses for this Request type. Empty
            field means all statuses are available.
          type: array
          items:
            format: int32
            type: integer
        DefaultTicketPriority:
          format: int32
          description: Default ticket priority for new tickets
          type: integer
        TicketPriorities:
          description: >-
            Relevant/available ticket priorities for this Request type. Empty
            field means all priorities are available.
          type: array
          items:
            format: int32
            type: integer
        ReplyTemplate:
          format: int32
          description: Reply template to use when replying to a ticket of this type
          type: integer
        IsExternalVisible:
          description: >-
            Is this request type visible to external people and they can submit
            requests of this type
          type: boolean
        IsDefault:
          description: Is this Ticket Type marked as default
          type: boolean
        ShowInNew:
          description: Enables this request type to be accessible in +New in top bar
          type: boolean
        ExcludeSignature:
          description: Do not insert user signature automatically
          type: boolean
        ExcludeEmailRecipients:
          description: Create request without initially having to send outbound e-mail
          type: boolean
        ExternalAsDefault:
          description: Ability to set external access level for this request type
          type: boolean
        VisibleForGroups:
          description: Array of references to the visible for groups
          type: array
          items:
            format: int32
            type: integer
        ReplyForwardNoSignature:
          description: Do not insert user signature when replying or forwarding the message
          type: boolean
        ReplyExternalAsDefault:
          description: Set external access level when replying the message
          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

- [Post Ticket Type Entity](/en/api/reference/restful/rest/list_tickettype/post-ticket-type-entity.md)
- [Post Ticket Type Entity Heading](/en/api/reference/restful/rest/list_tickettype/post-ticket-type-entity-heading.md)
- [Post Ticket Relation Entity](/en/api/reference/restful/rest/ticketrelation/post-ticket-relation-entity.md)
- [Post Ticket Category Entity](/en/api/reference/restful/rest/list_ticketcategory/post-ticket-category-entity.md)
- [Post Ticket Priority Entity](/en/api/reference/restful/rest/list_ticketpriority/post-ticket-priority-entity.md)
- [Post Ticket Status Entity](/en/api/reference/restful/rest/list_ticketstatus/post-ticket-status-entity.md)
