> ## 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 Status Monitor

> Loading default values into a new StatusMonitor.

NsApiSlow threshold: 5000 ms.



## OpenAPI

````yaml /openapi/agent/openapi-v3-SaintAgent.json post /api/v1/Agents/Saint/CreateDefaultStatusMonitor
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - SaintAgent
  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/Saint/CreateDefaultStatusMonitor:
    post:
      tags:
        - Saint_Agent
      summary: Create Default Status Monitor
      description: |-
        Loading default values into a new StatusMonitor.

        NsApiSlow threshold: 5000 ms.
      operationId: v1SaintAgent_CreateDefaultStatusMonitor
      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.StatusMonitor'
            text/json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.StatusMonitor'
            application/xml:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.StatusMonitor'
            text/xml:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.StatusMonitor'
            application/json-patch+json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.StatusMonitor'
            application/merge-patch+json:
              schema:
                $ref: '#/components/schemas/SuperOffice.CRM.Services.StatusMonitor'
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.CRM.Services.StatusMonitor:
      description: "Definition of all properties for a status monitor\r\n<para />\r\nCarrier object for StatusMonitor.\r\nServices for the StatusMonitor Carrier is available from the <see cref=\"T:SuperOffice.CRM.Services.ISaintAgent\">Saint Agent</see>."
      type: object
      properties:
        OwnerTable:
          format: int32
          description: Id of table that owns the status monitor
          type: integer
        Rank:
          format: int32
          description: >-
            Priority rank, in case more than one status is signalled. Lowest
            wins
          type: integer
        DefaultTask:
          format: int32
          description: >-
            "Default task type for this status; the default task text is in the
            text table (since it can be long), and may contain template
            variables"
          type: integer
        DefaultTaskText:
          description: Default task text for this status
          type: string
        IsVisual:
          description: Should the status be visualized (active) in the client
          type: boolean
        LastGenerated:
          format: date-time
          description: When was this status last generated (i.e., statusValue rows created)
          type: string
        Description:
          description: Description of the status monitor
          type: string
        Name:
          description: Name of status monitor
          type: string
        StatusMonitorId:
          format: int32
          description: Primary key
          type: integer
        PictureId:
          format: int32
          description: Id of BinaryObject row that contains image for status monitor
          type: integer
        NeedsUpdate:
          description: >-
            Is the definition dirty, ie., ALL values are invalid until a
            recalculation; this flag is set when the status DEFINITION is
            changed, as opposed to the flag on StatusValue
          type: boolean
        Deleted:
          description: Deleted flag, 1 if this record is deleted (never from the database)
          type: boolean
        NumMatches:
          format: int32
          description: >-
            Number of targets that have this status, this should be the number
            of rows in StatusValue pointing to this definition, and that have
            isSignalled set to 1
          type: integer
        NumNeedUpdate:
          format: int32
          description: >-
            Number of targets that had this status, but have their needsUpdate
            bit set due to some change
          type: integer
        GenerationStart:
          format: date-time
          description: When was the last regeneration started
          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.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 Status Monitor Periods](/en/api/reference/restful/agent/saint_agent/create-default-status-monitor-periods.md)
- [NSSaintAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSSaintAgent.md)
- [SuperOffice.WebApi.Agents.ISaintAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.ISaintAgent.md)
- [SuperOffice.WebApi.Agents.SaintAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.SaintAgent.md)
- [Create Default Project Status](/en/api/reference/restful/rest/list_projectstatus/create-default-project-status.md)
- [Create Default Ticket Status Entity](/en/api/reference/restful/rest/list_ticketstatus/create-default-ticket-status-entity.md)
