openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWNC_GET_WORKLOAD_DIRECTORY:
    post:
      tags:
      - SCSM_GLOB_SYSTEM
      operationId: /rfc/SWNC_GET_WORKLOAD_DIRECTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WORKLOAD_DIRECTORY:
                  type: array
                  items:
                    type: object
                    properties:
                      ASSIGNDSYS:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload NW Collector: System ID'
                      COMPONENT:
                        type: string
                        maxLength: 40
                        description: 'SAP Workload NW Collector: Host Name'
                      PERIODTYPE:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Period Type'
                      PERIODSTRT:
                        type: string
                        format: date
                        description: 'SAP Workload NW Collector: Date'
                      FIRSTRECDY:
                        type: string
                        format: date
                        description: 'SAP Workload NW Collector: Date'
                      FIRSTRECTI:
                        type: string
                        maxLength: 6
                        description: 'SAP Workload NW Collector: Time'
                      LASTRECDY:
                        type: string
                        format: date
                        description: 'SAP Workload NW Collector: Date'
                      LASTRECTI:
                        type: string
                        maxLength: 6
                        description: 'SAP Workload NW Collector: Time'
                      AGR_TZONE:
                        type: string
                        maxLength: 6
                        description: 'SAP Workload NW Collector: Time Zone'
                      LONG_COMPONENT:
                        type: string
                        maxLength: 40
                        description: 'SAP Workload NW Collector: Host Name'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  WORKLOAD_DIRECTORY:
                    type: array
                    items:
                      type: object
                      properties:
                        ASSIGNDSYS:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload NW Collector: System ID'
                        COMPONENT:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload NW Collector: Host Name'
                        PERIODTYPE:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Period Type'
                        PERIODSTRT:
                          type: string
                          format: date
                          description: 'SAP Workload NW Collector: Date'
                        FIRSTRECDY:
                          type: string
                          format: date
                          description: 'SAP Workload NW Collector: Date'
                        FIRSTRECTI:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload NW Collector: Time'
                        LASTRECDY:
                          type: string
                          format: date
                          description: 'SAP Workload NW Collector: Date'
                        LASTRECTI:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload NW Collector: Time'
                        AGR_TZONE:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload NW Collector: Time Zone'
                        LONG_COMPONENT:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload NW Collector: Host Name'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
