openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWL_CHECK_FUGR_AVAILABLE:
    post:
      tags:
      - SAPWL_GLOB_STAT
      operationId: /rfc/SAPWL_CHECK_FUGR_AVAILABLE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_FUGR:
                  type: string
                  maxLength: 26
                IM_SYSTEMS_TO_CHECK:
                  type: array
                  items:
                    type: object
                    properties:
                      SELECT_SYS:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload: SystemID(GUID) in Distributed System Landscape'
              required:
              - IM_FUGR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  EXP_RETURN_ERRORS:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSTEMID:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload: SystemID(GUID) in Distributed System Landscape'
                        SERVERNAME:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        EOFREACHED:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload: Workload: flag ('' '' or ''X'')'
                        ERROR_TEXT:
                          type: string
                          maxLength: 128
                          description: 'SAP Workload: Statistic collector: Error message'
                        RECS_READ:
                          type: integer
                          format: int32
                          description: 'SAP Workload: Statistic collector: number of records read'
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
                  EXP_SYSTEMS_W_FUGR:
                    type: array
                    items:
                      type: object
                      properties:
                        SELECT_SYS:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload: SystemID(GUID) in Distributed System Landscape'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
