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

# Save Tab Order

> Saves the tab order.

The order is saved pr. user.
NsApiSlow threshold: 1000 ms.



## OpenAPI

````yaml /openapi/agent/openapi-v3-PreferenceAgent.json post /api/v1/Agents/Preference/SaveTabOrder
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - PreferenceAgent
  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/Agents/Preference/SaveTabOrder:
    post:
      tags:
        - Preference_Agent
      summary: Save Tab Order
      description: "Saves the tab order.\n\nThe order is saved pr. user.\r\nNsApiSlow threshold: 1000 ms."
      operationId: v1PreferenceAgent_SaveTabOrder
      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: 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:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PreferenceCarriers.SaveTabOrderRequest
          text/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PreferenceCarriers.SaveTabOrderRequest
          application/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PreferenceCarriers.SaveTabOrderRequest
          text/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PreferenceCarriers.SaveTabOrderRequest
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PreferenceCarriers.SaveTabOrderRequest
          application/json-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PreferenceCarriers.SaveTabOrderRequest
          application/merge-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.PreferenceCarriers.SaveTabOrderRequest
        description: TabOrder
        required: true
      responses:
        '204':
          description: No Content
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.WebApi.v1.Carriers.PreferenceCarriers.SaveTabOrderRequest:
      description: 'SaveTabOrder: Saves the tab order. The order is saved pr. user.'
      type: object
      properties:
        TabOrder:
          $ref: '#/components/schemas/SuperOffice.CRM.Services.TabOrder'
    SuperOffice.CRM.Services.TabOrder:
      description: "Carrier object for TabOrder.\r\nServices for the TabOrder Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.IPreferenceAgent\">Preference Agent</see>."
      type: object
      properties:
        TabOrderId:
          format: int32
          description: Primary key
          type: integer
        TabName:
          description: Name of tab control
          type: string
        Order:
          description: The actual tab order
          type: string
        AssociateId:
          format: int32
          description: Associate who owns this tab order
          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

- [Save Tab Orders](/en/api/reference/restful/agent/preference_agent/save-tab-orders.md)
- [SuperOffice.WebApi.Data.Preference SaveTabOrderRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Preference_SaveTabOrderRequest.md)
- [SuperOffice.WebApi.Data.Preference SaveTabOrdersRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Preference_SaveTabOrdersRequest.md)
- [NSPreferenceAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSPreferenceAgent.md)
- [SuperOffice.WebApi.Agents.IPreferenceAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IPreferenceAgent.md)
- [SuperOffice.WebApi.Agents.PreferenceAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.PreferenceAgent.md)
