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

# Include Quote Version Attachment

> Toggle the 'included' state of a quote version attachment; will throw exceptions if called on locked versions

NsApiSlow threshold: 5000 ms.



## OpenAPI

````yaml /openapi/agent/openapi-v3-QuoteAgent.json post /api/v1/Agents/Quote/IncludeQuoteVersionAttachment
openapi: 3.0.0
info:
  version: v1-Agents
  title: SuperOffice Agent API v1
  description: SuperOffice Agent API - QuoteAgent
  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/Quote/IncludeQuoteVersionAttachment:
    post:
      tags:
        - Quote_Agent
      summary: Include Quote Version Attachment
      description: >-
        Toggle the 'included' state of a quote version attachment; will throw
        exceptions if called on locked versions


        NsApiSlow threshold: 5000 ms.
      operationId: v1QuoteAgent_IncludeQuoteVersionAttachment
      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:
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.IncludeQuoteVersionAttachmentRequest
          text/json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.IncludeQuoteVersionAttachmentRequest
          application/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.IncludeQuoteVersionAttachmentRequest
          text/xml:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.IncludeQuoteVersionAttachmentRequest
          application/x-www-form-urlencoded:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.IncludeQuoteVersionAttachmentRequest
          application/json-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.IncludeQuoteVersionAttachmentRequest
          application/merge-patch+json:
            schema:
              $ref: >-
                #/components/schemas/SuperOffice.WebApi.v1.Carriers.QuoteCarriers.IncludeQuoteVersionAttachmentRequest
        description: QuoteVersionId, DocumentId, Include
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: boolean
            text/json:
              schema:
                type: boolean
            application/xml:
              schema:
                type: boolean
            text/xml:
              schema:
                type: boolean
            application/json-patch+json:
              schema:
                type: boolean
            application/merge-patch+json:
              schema:
                type: boolean
      security:
        - SuperOffice_Password: []
          SuperId_Authentication: []
components:
  schemas:
    SuperOffice.WebApi.v1.Carriers.QuoteCarriers.IncludeQuoteVersionAttachmentRequest:
      description: >-
        IncludeQuoteVersionAttachment: Toggle the 'included' state of a quote
        version attachment; will throw exceptions if called on locked versions
      type: object
      properties:
        QuoteVersionId:
          format: int32
          type: integer
        DocumentId:
          format: int32
          type: integer
        Include:
          type: boolean

````

## Related topics

- [SuperOffice.WebApi.Data.Quote IncludeQuoteVersionAttachmentRequest](/en/api/reference/webapi/SuperOffice.WebApi.Data.Quote_IncludeQuoteVersionAttachmentRequest.md)
- [NSQuoteAgent](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteAgent.md)
- [SuperOffice.WebApi.Agents.QuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.QuoteAgent.md)
- [SuperOffice.WebApi.Agents.IQuoteAgent](/en/api/reference/webapi/SuperOffice.WebApi.Agents.IQuoteAgent.md)
- [Toggle Quote Version Attachment Included](/en/api/reference/restful/agent/quote_agent/toggle-quote-version-attachment-included.md)
- [NSQuoteVersionAttachment](/en/automation/crmscript/reference/CRMScript.NetServer.NSQuoteVersionAttachment.md)
