openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/ENH_HOOK_RFC:
    post:
      tags:
      - ENH_HOOK
      operationId: /rfc/ENH_HOOK_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ENHNAME:
                  type: string
                  maxLength: 30
              required:
              - ENHNAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ENHINCINX_ACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        IS_ENH:
                          type: string
                          maxLength: 1
                          description: Enhancement Boolean
                        PROGRAMNAME:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        ID:
                          type: integer
                          format: int32
                          description: Natural number
                        OVERWRITE:
                          type: string
                          maxLength: 1
                          description: Enhancement Boolean
                        METHOD:
                          type: string
                          maxLength: 1
                          description: Enhancement Boolean
                        ENHMODE:
                          type: string
                          maxLength: 1
                          description: Mode of Program Enhancement
                        FULL_NAME:
                          type: string
                          description: ''
                        ENHINCLUDE:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                  ENHINCINX_INACTIVE:
                    type: array
                    items:
                      type: object
                      properties:
                        ENHNAME:
                          type: string
                          maxLength: 30
                          description: ID of an Enhancement
                        VERSION:
                          type: string
                          maxLength: 1
                          description: 'ABAP: Program Status (Active, Saved, Transported...)'
                        IS_ENH:
                          type: string
                          maxLength: 1
                          description: Enhancement Boolean
                        PROGRAMNAME:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
                        ID:
                          type: integer
                          format: int32
                          description: Natural number
                        OVERWRITE:
                          type: string
                          maxLength: 1
                          description: Enhancement Boolean
                        METHOD:
                          type: string
                          maxLength: 1
                          description: Enhancement Boolean
                        ENHMODE:
                          type: string
                          maxLength: 1
                          description: Mode of Program Enhancement
                        FULL_NAME:
                          type: string
                          description: ''
                        ENHINCLUDE:
                          type: string
                          maxLength: 40
                          description: ABAP Program Name
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
