openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/OCS_GET_COMPONENT_PATCH_INFO:
    post:
      tags:
      - OCSI
      operationId: /rfc/OCS_GET_COMPONENT_PATCH_INFO
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IV_SAPRL:
                  type: string
                  maxLength: 4
                TT_E_INST_COMPONENT:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: SAP component
                      COMP_REL:
                        type: string
                        maxLength: 10
                        description: Component release
                      COMP_TYPE:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      SHORT_TEXT:
                        type: string
                        maxLength: 60
                        description: Text Field of Length 60
                TT_E_INST_PATCH:
                  type: array
                  items:
                    type: object
                    properties:
                      PATCH:
                        type: string
                        maxLength: 20
                        description: Support Package name
                      SHORT_TEXT:
                        type: string
                        maxLength: 60
                        description: Support Package description
                      PATCH_TYPE:
                        type: string
                        maxLength: 3
                        description: Support Package Type
                      FROM_REL:
                        type: string
                        maxLength: 4
                        description: Release Status of SAP System
                      SPAMFIX:
                        type: string
                        maxLength: 1
                        description: Support Package is an update of SAP Patch Manager (SPAM)
                      ADDON_ID:
                        type: string
                        maxLength: 10
                        description: Name of an Add-On Product
                      ADDON_REL:
                        type: string
                        maxLength: 12
                        description: Version of an "Add-On" Product
                      COMPONENT:
                        type: string
                        maxLength: 30
                        description: SAP component
                      COMP_REL:
                        type: string
                        maxLength: 10
                        description: Component release
                      ANCESTOR:
                        type: string
                        maxLength: 20
                        description: Support Package predecessor
                TT_I_ADDON:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 200
                        description: Character string, length 200
                TT_I_COMPONENT:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 100
                        description: Character string, length 100
                TT_I_COMP_PATCH:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 100
                        description: Character string, length 100
                TT_I_PATCH:
                  type: array
                  items:
                    type: object
                    properties:
                      LINE:
                        type: string
                        maxLength: 300
                        description: Character string, length 300
              required:
              - IV_SAPRL
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EV_APPLY_LCP:
                    type: string
                    maxLength: 1
                  TT_E_INST_COMPONENT:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: SAP component
                        COMP_REL:
                          type: string
                          maxLength: 10
                          description: Component release
                        COMP_TYPE:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        SHORT_TEXT:
                          type: string
                          maxLength: 60
                          description: Text Field of Length 60
                  TT_E_INST_PATCH:
                    type: array
                    items:
                      type: object
                      properties:
                        PATCH:
                          type: string
                          maxLength: 20
                          description: Support Package name
                        SHORT_TEXT:
                          type: string
                          maxLength: 60
                          description: Support Package description
                        PATCH_TYPE:
                          type: string
                          maxLength: 3
                          description: Support Package Type
                        FROM_REL:
                          type: string
                          maxLength: 4
                          description: Release Status of SAP System
                        SPAMFIX:
                          type: string
                          maxLength: 1
                          description: Support Package is an update of SAP Patch Manager (SPAM)
                        ADDON_ID:
                          type: string
                          maxLength: 10
                          description: Name of an Add-On Product
                        ADDON_REL:
                          type: string
                          maxLength: 12
                          description: Version of an "Add-On" Product
                        COMPONENT:
                          type: string
                          maxLength: 30
                          description: SAP component
                        COMP_REL:
                          type: string
                          maxLength: 10
                          description: Component release
                        ANCESTOR:
                          type: string
                          maxLength: 20
                          description: Support Package predecessor
                  TT_I_ADDON:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 200
                          description: Character string, length 200
                  TT_I_COMPONENT:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 100
                          description: Character string, length 100
                  TT_I_COMP_PATCH:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 100
                          description: Character string, length 100
                  TT_I_PATCH:
                    type: array
                    items:
                      type: object
                      properties:
                        LINE:
                          type: string
                          maxLength: 300
                          description: Character string, length 300
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
