openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RPY_DIALOG_READ:
    post:
      tags:
      - SEUG
      summary: Insert Transaction
      operationId: /rfc/RPY_DIALOG_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DIALOG:
                  type: string
                  maxLength: 30
                DYNPRO:
                  type: string
                  maxLength: 4
                  description: Screen Number
                PROGRAM:
                  type: string
                  maxLength: 40
                  description: Program Name
                DIALOGS:
                  type: array
                  items:
                    type: object
                    properties:
                      DNAM:
                        type: string
                        maxLength: 30
                        description: Dialog module
                      PROG:
                        type: string
                        maxLength: 40
                        description: ABAP Program Name
                      DYNR:
                        type: integer
                        format: int64
                        description: Screen number
                      DMODE:
                        type: string
                        maxLength: 1
                        description: Dialog Module Type (Local, Remote, ...)
                      HOST:
                        type: string
                        maxLength: 8
                        description: Obsolete
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DIALOGS:
                    type: array
                    items:
                      type: object
                      properties:
                        DNAM:
                          type: string
                          maxLength: 30
                          description: Dialog module
                        PROG:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        DYNR:
                          type: integer
                          format: int64
                          description: Screen number
                        DMODE:
                          type: string
                          maxLength: 1
                          description: Dialog Module Type (Local, Remote, ...)
                        HOST:
                          type: string
                          maxLength: 8
                          description: Obsolete
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
