openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/AKB_ENTER_PRODUCTS:
    post:
      tags:
      - PA_AKB
      operationId: /rfc/AKB_ENTER_PRODUCTS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INTERFACES:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      SERVER_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      CLIENT:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      CLIENT_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      SRV_INTF:
                        type: string
                        maxLength: 30
                        description: Package Interface
                PRODCOMP:
                  type: array
                  items:
                    type: object
                    properties:
                      PRODUCT_ID:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      PRODUCT_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      DLVUNIT:
                        type: string
                        maxLength: 30
                        description: Software Component
                      DLVUNIT_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                PRODUCTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SERVER:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      SERVER_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      CLIENT:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      CLIENT_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      RELATION:
                        type: string
                        maxLength: 1
                        description: Relationship Between Products
                      SERVER_PACKET:
                        type: string
                        maxLength: 30
                        description: Application Package
                      REFERENCE_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      NOTE:
                        type: string
                        description: Long Text
                PRODUCT_COMP:
                  type: array
                  items:
                    type: object
                    properties:
                      PRODUCT:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      PRODUCT_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      CONTAINED_PROD:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      CONTAINED_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      DIRECT:
                        type: string
                        maxLength: 1
                        description: General Flag
                      NOTE:
                        type: string
                        maxLength: 80
                        description: Comments
                SYSTEMS:
                  type: array
                  items:
                    type: object
                    properties:
                      PRODUCT_ID:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      PRODUCT_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      SERVER:
                        type: string
                        maxLength: 20
                        description: Software Product ID
                      SERVER_REL:
                        type: string
                        maxLength: 10
                        description: SAP Release
                      SYSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      SYSROLE:
                        type: string
                        maxLength: 1
                        description: System Role
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      ISUSUPPLIER:
                        type: string
                        maxLength: 1
                        description: Indicator "Actual Supplier for Where-Used List"
                      ACTFLAG:
                        type: string
                        maxLength: 1
                        description: Indicator "Active for BCB Integration"
                      BATCHSIZE:
                        type: integer
                        format: int32
                        description: Number of Table Entries for Each Communcation Process
                      LUSER:
                        type: string
                        maxLength: 12
                        description: User Name
                      LDATE:
                        type: string
                        format: date
                        description: Date
                      AKB_VERSION:
                        type: string
                        maxLength: 10
                        description: SAP Release
              required:
              - INTERFACES
              - PRODCOMP
              - PRODUCTS
              - PRODUCT_COMP
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
