openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWNC_GET_SYSTEM_CATEGORY:
    post:
      tags:
      - SCSM_GLOB_SYSTEM
      operationId: /rfc/SWNC_GET_SYSTEM_CATEGORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                SYSTEMS_TO_CHECK:
                  type: array
                  items:
                    type: object
                    properties:
                      SELECT_SYSTEM:
                        type: string
                        maxLength: 32
                        description: RFC Destination of a Monitoring System
                      SELECT_SERVERS:
                        type: array
                        items:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload NW Collector: Host Name'
                SYSTEMS_CATEGORIZED:
                  type: array
                  items:
                    type: object
                    properties:
                      SELECT_SYSTEM:
                        type: string
                        maxLength: 32
                        description: RFC Destination of a Monitoring System
                      SYS_CATEGORY:
                        type: string
                        maxLength: 8
                        description: System Category
                      ASYNC_TASKNAME:
                        type: string
                        maxLength: 8
                        description: 'SAP Workload NW Collector: Text Field of 8 Characters'
              required:
              - SYSTEMS_TO_CHECK
              - SYSTEMS_CATEGORIZED
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SYSTEMS_CATEGORIZED:
                    type: array
                    items:
                      type: object
                      properties:
                        SELECT_SYSTEM:
                          type: string
                          maxLength: 32
                          description: RFC Destination of a Monitoring System
                        SYS_CATEGORY:
                          type: string
                          maxLength: 8
                          description: System Category
                        ASYNC_TASKNAME:
                          type: string
                          maxLength: 8
                          description: 'SAP Workload NW Collector: Text Field of 8 Characters'
                required:
                - SYSTEMS_CATEGORIZED
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
