openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OCS_GET_INSTALLED_COMPS:
    post:
      tags:
      - OCS_CRM
      operationId: /rfc/OCS_GET_INSTALLED_COMPS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_ACTIVE_ONLY:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                IV_PATCHABLE_ONLY:
                  type: string
                  maxLength: 1
                  description: Single-Character Flag
                ET_COMPLAYER:
                  type: array
                  items:
                    type: object
                    properties:
                      MODEL_ID:
                        type: integer
                        format: int64
                        description: ID of Layer Model
                      COMP_TYPE:
                        type: string
                        maxLength: 1
                        description: Component Type Values
                      LAYER_LVL:
                        type: integer
                        format: int64
                        description: Level of Component Layer
                      LAYER_DESC:
                        type: string
                        maxLength: 40
                        description: Text, 40 Characters Long
                TT_COMPTAB:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      RELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      EXTRELEASE:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      COMP_TYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      LANGU:
                        type: string
                        maxLength: 1
                        description: Language Key
                      DESC_TEXT:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ET_COMPLAYER:
                    type: array
                    items:
                      type: object
                      properties:
                        MODEL_ID:
                          type: integer
                          format: int64
                          description: ID of Layer Model
                        COMP_TYPE:
                          type: string
                          maxLength: 1
                          description: Component Type Values
                        LAYER_LVL:
                          type: integer
                          format: int64
                          description: Level of Component Layer
                        LAYER_DESC:
                          type: string
                          maxLength: 40
                          description: Text, 40 Characters Long
                  TT_COMPTAB:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: Software Component
                        RELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        EXTRELEASE:
                          type: string
                          maxLength: 10
                          description: SAP Release
                        COMP_TYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        LANGU:
                          type: string
                          maxLength: 1
                          description: Language Key
                        DESC_TEXT:
                          type: string
                          maxLength: 80
                          description: Text (80 Characters)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
