openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SUGM_EVAL_LANG_PACKS:
    post:
      tags:
      - SUGM
      operationId: /rfc/SUGM_EVAL_LANG_PACKS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IP_RELSTAMP:
                  type: string
                  default: EXPORT
                  maxLength: 40
                  description: ID data type for a (future) system status
                IV_LANGDIR:
                  type: string
                  maxLength: 60
                  description: Directory name
                IV_RESTART:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Character Field Length 1
                IV_TPPARAM_PATH:
                  type: string
                  maxLength: 255
                IV_TP_PATH:
                  type: string
                  maxLength: 255
                BUFFER:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      PATCH:
                        type: string
                        maxLength: 20
                        description: Support Package name
                LANGTRKORRS:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key of Current Text Environment
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software component
                      COMP_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Component Type Values  enumValues: V=Application Platform Component,A=Add-On Component (Old),X=Netweaver Plug-In,""=Main Component (Old),R=Application Component,C=Projects,O=Common Application Objects,F=Industry Solution - Layer 4,G=Industry Solution - Layer 3,S=Netweaver Basis Component,E=Industry Solution - Layer 5,N=Application Extensions,H=Industry Solution - Layer 2,W=Netweaver Add-On,I=Industry Solution - Layer 1,P=Application Plug-In'
                        enum:
                        - V
                        - A
                        - X
                        - ''
                        - R
                        - C
                        - O
                        - F
                        - G
                        - S
                        - E
                        - N
                        - H
                        - W
                        - I
                        - P
                      CPTRELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      MAINPATCH:
                        type: string
                        maxLength: 20
                        description: Support Package name
                      UNPACKED:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      RETCODE:
                        type: integer
                        format: int32
                        description: Return Value of ABAP Statements
                      EPSPATH:
                        type: string
                        maxLength: 100
                        description: Full file path
                      FLAG:
                        type: string
                        maxLength: 1
                        description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
              required:
              - IV_LANGDIR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_ALL_COMP_SATISFIED:
                    type: string
                    maxLength: 1
                  LANGUAGE_VECTOR:
                    type: string
                    maxLength: 60
                  LANG_FOR_IMPORT:
                    type: string
                    maxLength: 60
                    description: Langs. that can be imported
                  LANG_NO_IMPORT:
                    type: string
                    maxLength: 60
                    description: Non-Importable Languages
                  BUFFER:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        PATCH:
                          type: string
                          maxLength: 20
                          description: Support Package name
                  LANGTRKORRS:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key of Current Text Environment
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software component
                        COMP_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Component Type Values  enumValues: V=Application Platform Component,A=Add-On Component (Old),X=Netweaver Plug-In,""=Main Component (Old),R=Application Component,C=Projects,O=Common Application Objects,F=Industry Solution - Layer 4,G=Industry Solution - Layer 3,S=Netweaver Basis Component,E=Industry Solution - Layer 5,N=Application Extensions,H=Industry Solution - Layer 2,W=Netweaver Add-On,I=Industry Solution - Layer 1,P=Application Plug-In'
                          enum:
                          - V
                          - A
                          - X
                          - ''
                          - R
                          - C
                          - O
                          - F
                          - G
                          - S
                          - E
                          - N
                          - H
                          - W
                          - I
                          - P
                        CPTRELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        MAINPATCH:
                          type: string
                          maxLength: 20
                          description: Support Package name
                        UNPACKED:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        RETCODE:
                          type: integer
                          format: int32
                          description: Return Value of ABAP Statements
                        EPSPATH:
                          type: string
                          maxLength: 100
                          description: Full file path
                        FLAG:
                          type: string
                          maxLength: 1
                          description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
