openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/INST_EXECUTE_REPORT:
    post:
      tags:
      - INSTALL
      summary: 'SAP Installation: Start Program'
      operationId: /rfc/INST_EXECUTE_REPORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                PROGRAM:
                  type: string
                  maxLength: 40
                  description: ABAP Program Name
                OUTPUT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      ZEILE:
                        type: string
                        maxLength: 256
                        description: List line
                PARA:
                  type: array
                  items:
                    type: object
                    properties:
                      PARA_NAME:
                        type: string
                        maxLength: 64
                        description: 'SAP Installation: Parameter Name'
                      PARA_VALUE:
                        type: string
                        maxLength: 128
                        description: 'SAP Installation: Parameter Value'
                RESULT_TAB:
                  type: array
                  items:
                    type: object
                    properties:
                      INSTRESULT:
                        type: string
                        maxLength: 1
                        description: 'SAP Installation: Result Value  enumValues: E=Error,W=Wait,S=Success message'
                        enum:
                        - E
                        - W
                        - S
                      INSTRESTXT:
                        type: string
                        maxLength: 128
                        description: 'SAP Installation: Result Text'
                      INSTRESPRG:
                        type: string
                        maxLength: 40
                        description: 'SAP Installation: Result Program Name'
                      JOBNAME:
                        type: string
                        maxLength: 32
                        description: Background job name
                      JOBCOUNT:
                        type: string
                        maxLength: 8
                        description: Job ID
              required:
              - PROGRAM
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RESULT:
                    type: string
                    maxLength: 1
                    description: 'SAP Installation: Result Value'
                  RESULT_REPORT:
                    type: string
                    maxLength: 40
                    description: 'SAP Installation: Result Program Name'
                  RESULT_TEXT:
                    type: string
                    maxLength: 128
                    description: 'SAP Installation: Result Text'
                  OUTPUT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        ZEILE:
                          type: string
                          maxLength: 256
                          description: List line
                  PARA:
                    type: array
                    items:
                      type: object
                      properties:
                        PARA_NAME:
                          type: string
                          maxLength: 64
                          description: 'SAP Installation: Parameter Name'
                        PARA_VALUE:
                          type: string
                          maxLength: 128
                          description: 'SAP Installation: Parameter Value'
                  RESULT_TAB:
                    type: array
                    items:
                      type: object
                      properties:
                        INSTRESULT:
                          type: string
                          maxLength: 1
                          description: 'SAP Installation: Result Value  enumValues: E=Error,W=Wait,S=Success message'
                          enum:
                          - E
                          - W
                          - S
                        INSTRESTXT:
                          type: string
                          maxLength: 128
                          description: 'SAP Installation: Result Text'
                        INSTRESPRG:
                          type: string
                          maxLength: 40
                          description: 'SAP Installation: Result Program Name'
                        JOBNAME:
                          type: string
                          maxLength: 32
                          description: Background job name
                        JOBCOUNT:
                          type: string
                          maxLength: 8
                          description: Job ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
