openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/QUEUE_PUT:
    post:
      tags:
      - SQUE
      summary: Put data element into an open queue
      operationId: /rfc/QUEUE_PUT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                BUFFER:
                  type: string
                  default: ' '
                  maxLength: 7902
                  description: Buffer with the data to be stored
                LENGTH:
                  type: integer
                  format: int32
                  description: Length of data
                NAME:
                  type: string
                  maxLength: 20
                  description: Queue Identifier
                STATE:
                  type: string
                  default: S
                  maxLength: 1
                  description: Begin/end indicator of a Unit
              required:
              - LENGTH
              - NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  POS:
                    type: integer
                    format: int32
                    description: Line item number in the Unit
                  SQLRC:
                    type: integer
                    format: int32
                    description: SQL Error Code
                  UNIT:
                    type: integer
                    format: int32
                    description: Unit number
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
