openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/LCRBEAN_LIST_BUSINESS_SYSTEMS:
    post:
      tags:
      - LCRBEANS
      operationId: /rfc/LCRBEAN_LIST_BUSINESS_SYSTEMS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                GIVE_PRODUCTS:
                  type: string
                  default: ' '
                  maxLength: 1
                GIVE_ROLES:
                  type: string
                  default: ' '
                  maxLength: 1
                LCR_HOST:
                  type: string
                  maxLength: 64
                LCR_PORT:
                  type: integer
                  format: int64
              required:
              - LCR_HOST
              - LCR_PORT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  BUS_SYSTEMS:
                    type: array
                    items:
                      type: object
                      properties:
                        BS_KEY_NAME:
                          type: string
                          maxLength: 60
                          description: Key Name of Business System
                        BS_CAPTION:
                          type: string
                          description: Short Description
                        BS_ROLE:
                          type: string
                          maxLength: 3
                          description: 'AI-LCR: Roll of a Business System'
                        PR_ID:
                          type: string
                          description: Product Identification Number
                        PR_NAME:
                          type: string
                          description: Product Name
                        PR_VENDOR:
                          type: string
                          description: Product Supplier
                        PR_VERSION:
                          type: string
                          description: Version
                        PR_CAPTION:
                          type: string
                          description: Short Description
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
