> ## Documentation Index
> Fetch the complete documentation index at: https://apidocs.ezzydoc.com/llms.txt
> Use this file to discover all available pages before exploring further.

# mergeSolution



## OpenAPI

````yaml /mintlify/docs/openapi.yaml post /mergeSolution
openapi: 3.0.1
info:
  title: EzzyRest API
  version: 1.0.0
servers:
  - url: https://app.ezzydoc.com/EzzyService.svc/Rest/
    description: Production Server
security: []
paths:
  /mergeSolution:
    post:
      tags:
        - EzzyRest
      summary: mergeSolution
      operationId: mergeSolution
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/MergeSolutionRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/MergeSolutionRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/MergeSolutionRequest'
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Servicestatus'
            application/json:
              schema:
                $ref: '#/components/schemas/Servicestatus'
            text/json:
              schema:
                $ref: '#/components/schemas/Servicestatus'
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
      security:
        - BearerAuth: []
components:
  schemas:
    MergeSolutionRequest:
      type: object
      properties:
        solution_id:
          type: integer
        make_workflow_active:
          type: boolean
        workflow_ids:
          type: array
          items:
            type: integer
        agent_ids:
          type: array
          items:
            type: integer
        duplicate_ai_tasks:
          type: boolean
    Servicestatus:
      type: object
      properties:
        invoice_id:
          type: integer
        message:
          type: string
        status:
          type: integer
          enum:
            - 0
            - 1
            - 2
            - 3
          x-enumNames:
            - OK
            - FAILED
            - NO_MORE_INVOICES
            - NOT_PERMITTED
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````