openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/QUEUE_CLOSE:
    post:
      tags:
      - SQUE
      summary: Close queue
      operationId: /rfc/QUEUE_CLOSE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NAME:
                  type: string
                  maxLength: 20
                  description: Queue Identifier
                OPENMODE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Opening session of queue
                QERASE:
                  type: string
                  default: ' '
                  maxLength: 1
                QSTATE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Status of queue (user definable)
              required:
              - NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SQLRC:
                    type: integer
                    format: int32
                    description: SQL Error Code
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
