openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TERM_GET_TOPLEVEL_COMPONENTS:
    post:
      tags:
      - STERM_ATTR
      operationId: /rfc/TERM_GET_TOPLEVEL_COMPONENTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGU:
                  type: string
                  default: E
                  maxLength: 1
                  description: SAP R/3 System, Current Language
                LEVEL:
                  type: integer
                  format: int32
                  default: 1
                  description: Name of SAP R/3 System
                SYSTEM_ID:
                  type: string
                  default: SY-SYSID
                  maxLength: 8
                  description: Name of SAP R/3 System
                APPLICATION:
                  type: array
                  items:
                    type: object
                    properties:
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      ADDON:
                        type: string
                        maxLength: 15
                        description: Industry
                      FCTR_ID:
                        type: string
                        maxLength: 20
                        description: Application Component
                      AS4LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                        enum:
                        - S
                        - T
                        - N
                        - A
                        - L
                      NAME:
                        type: string
                        maxLength: 60
                        description: Short text
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  APPLICATION:
                    type: array
                    items:
                      type: object
                      properties:
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        ADDON:
                          type: string
                          maxLength: 15
                          description: Industry
                        FCTR_ID:
                          type: string
                          maxLength: 20
                          description: Application Component
                        AS4LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Activation Status of a Repository Object  enumValues: S=Previously active entry, backup copy,T=Temporary version when editing,N=Entry edited, but not activated,A=Entry activated or generated in this form,L=Lock entry (first N version)'
                          enum:
                          - S
                          - T
                          - N
                          - A
                          - L
                        NAME:
                          type: string
                          maxLength: 60
                          description: Short text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
