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

# getDemoDocumentStream



## OpenAPI

````yaml /mintlify/docs/openapi.yaml get /getDemoDocumentStream
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:
  /getDemoDocumentStream:
    get:
      tags:
        - EzzyRest
      summary: getDemoDocumentStream
      operationId: getDemoDocumentStream
      parameters:
        - name: filename
          in: query
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Success
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/DocumentImageSS'
            application/json:
              schema:
                $ref: '#/components/schemas/DocumentImageSS'
            text/json:
              schema:
                $ref: '#/components/schemas/DocumentImageSS'
        '400':
          description: Bad Request
        '500':
          description: Internal Server Error
      security:
        - BearerAuth: []
components:
  schemas:
    DocumentImageSS:
      type: object
      properties:
        docImage:
          $ref: '#/components/schemas/DocumentImage'
        service_status:
          $ref: '#/components/schemas/Servicestatus'
    DocumentImage:
      type: object
      properties:
        documentName:
          type: string
        documentStream:
          type: string
          format: byte
        height:
          type: integer
        link:
          type: string
        pdf_url:
          type: string
        type:
          type: integer
          enum:
            - 0
            - 1
            - 2
            - 3
            - 4
            - 5
            - 6
            - 7
            - 8
            - 9
            - 10
            - 11
            - 12
            - 13
            - 14
            - 15
            - 16
            - 17
            - 18
            - 19
            - 20
            - 21
            - 22
          x-enumNames:
            - Unknown
            - Invoice
            - EInvoice
            - Correspondence
            - BusinessCards
            - Picture
            - Order
            - Data
            - Notes
            - Media
            - Template
            - Form
            - Blob
            - Statement
            - Application
            - Junk
            - Event
            - Enquiry
            - Generic
            - Remittance
            - AI
            - AIWEB
            - Email
        web_link:
          type: string
        width:
          type: integer
    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

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.