openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/QUEUE_OPEN:
    post:
      tags:
      - SQUE
      summary: Open / create a queue
      operationId: /rfc/QUEUE_OPEN
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLIENT:
                  type: string
                  default: ' '
                  maxLength: 3
                  description: Client in the target system
                DATATYPE:
                  type: string
                  default: ' '
                  maxLength: 4
                  description: Category of data/processing log
                DATE:
                  type: string
                  format: date
                  default: SPACE
                  description: Processing date of queue
                DESTINATION:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Symbolic name of target system
                DRIVER:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Name of processing program of queu
                ERASE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: If set, delete queue after process
                FORM:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: ABAP/4 subprogram in the target sy
                NAME:
                  type: string
                  default: ' '
                  maxLength: 20
                  description: Name of queue
                OPENMODE:
                  type: string
                  default: W
                  maxLength: 1
                  description: Opening session
                PASSWORD:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: Password for logon in the target s
                PROGRAM:
                  type: string
                  default: ' '
                  maxLength: 40
                  description: ABAP/4 program name in the target
                QSTATE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Status of queue
                START:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Start session
                TIME:
                  type: string
                  default: ' '
                  maxLength: 6
                  description: Processing time
                TYPE:
                  type: string
                  default: A
                  maxLength: 1
                  description: Category of queue (single, repeate
                USERID:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: User ID for logon in the target sy
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CLIENT:
                    type: string
                    maxLength: 3
                    description: Client in the target system
                  CREATOR:
                    type: string
                    maxLength: 12
                    description: Queue person in charge
                  DATATYPE:
                    type: string
                    maxLength: 4
                    description: Category of data/processing log
                  DATE:
                    type: string
                    format: date
                    description: Processing date of queue
                  DESTINATION:
                    type: string
                    maxLength: 32
                    description: Symbolic name of target system
                  DRIVER:
                    type: string
                    maxLength: 40
                    description: Name of processing program of queu
                  ERASE:
                    type: string
                    maxLength: 1
                    description: If set, delete queue after process
                  FORM:
                    type: string
                    maxLength: 30
                    description: ABAP/4 subprogram in the target sy
                  NAME:
                    type: string
                    maxLength: 20
                    description: Name of queue
                  PASSWORD:
                    type: string
                    maxLength: 40
                    description: Password for logon in the target s
                  PROGRAM:
                    type: string
                    maxLength: 40
                    description: ABAP/4 program name in the target
                  QSTATE:
                    type: string
                    maxLength: 1
                    description: Status of queue
                  SQLRC:
                    type: integer
                    format: int32
                    description: SQL Error Code
                  START:
                    type: string
                    maxLength: 1
                    description: Start session
                  TIME:
                    type: string
                    maxLength: 6
                    description: Processing time
                  TYPE:
                    type: string
                    maxLength: 1
                    description: Category of queue (single, repeate
                  USERID:
                    type: string
                    maxLength: 12
                    description: User ID for logon in the target sy
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
