openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCCMS_SLD_SWCOMP_SP:
    post:
      tags:
      - SCCMS_SLD
      operationId: /rfc/SCCMS_SLD_SWCOMP_SP
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASSNAME:
                  type: string
                  default: SAP_BCSystem
                FILTER:
                  type: string
                SLD_ALIAS:
                  type: string
                  maxLength: 20
                T_ERROR:
                  type: array
                  items:
                    type: object
                    properties:
                      ERRTEXT:
                        type: string
                        maxLength: 255
                        description: Error Messages
                T_SWCOMPSP:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSTEMNAME:
                        type: string
                        maxLength: 128
                        description: Name of SAP System
                      SYSTEMHOME:
                        type: string
                        maxLength: 128
                        description: Host Name
                      SWCNAME:
                        type: string
                        maxLength: 128
                        description: Name of the Software Component
                      SWCVERSION:
                        type: string
                        maxLength: 128
                        description: Version of the Software Component
                      ISPNAME:
                        type: string
                        maxLength: 128
                        description: Name of the Installed Support Package
                      ISPVERSION:
                        type: string
                        maxLength: 128
                        description: Version of the Installed Support Package
                      SPNAME:
                        type: string
                        maxLength: 128
                        description: Name of the Available Support Package
                      SPVERSION:
                        type: string
                        maxLength: 128
                        description: Version of the Available Support Package
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  T_ERROR:
                    type: array
                    items:
                      type: object
                      properties:
                        ERRTEXT:
                          type: string
                          maxLength: 255
                          description: Error Messages
                  T_SWCOMPSP:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSTEMNAME:
                          type: string
                          maxLength: 128
                          description: Name of SAP System
                        SYSTEMHOME:
                          type: string
                          maxLength: 128
                          description: Host Name
                        SWCNAME:
                          type: string
                          maxLength: 128
                          description: Name of the Software Component
                        SWCVERSION:
                          type: string
                          maxLength: 128
                          description: Version of the Software Component
                        ISPNAME:
                          type: string
                          maxLength: 128
                          description: Name of the Installed Support Package
                        ISPVERSION:
                          type: string
                          maxLength: 128
                          description: Version of the Installed Support Package
                        SPNAME:
                          type: string
                          maxLength: 128
                          description: Name of the Available Support Package
                        SPVERSION:
                          type: string
                          maxLength: 128
                          description: Version of the Available Support Package
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
