openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWL_STATDIR_FROM_REMOTE_SYS:
    post:
      tags:
      - SAPWL_GLOB_STAT
      operationId: /rfc/SAPWL_STATDIR_FROM_REMOTE_SYS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                WORKLOAD_DIRECTORY:
                  type: array
                  items:
                    type: object
                    properties:
                      LONGINST:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload: Long Name of SAP Instance'
                      STARTDATE:
                        type: string
                        format: date
                        description: 'SAP Workload: Start date of meas. period'
                      PERIODTYPE:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload: Period type  enumValues: W=Weekly data,D=Daily data,M=Monthly data,Y=Yearly data'
                        enum:
                        - W
                        - D
                        - M
                        - Y
                      HOSTID:
                        type: string
                        maxLength: 8
                        description: Verkürzter Hostnamen
                      FIRSTRECTI:
                        type: string
                        maxLength: 6
                        description: 'SAP Workload: Workload: Time, first statistics record'
                      FIRSTRECDY:
                        type: string
                        format: date
                        description: 'SAP Workload: Workload: Date, first statistics record'
                      LASTRECTI:
                        type: string
                        maxLength: 6
                        description: 'SAP Workload: Workload: Time, last statistics record'
                      LASTRECDY:
                        type: string
                        format: date
                        description: 'SAP Workload: Workload: Date, last statistics record'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  SYSTEM_ID:
                    type: string
                    maxLength: 8
                  TIME_ZONE:
                    type: string
                    maxLength: 6
                  WORKLOAD_DIRECTORY:
                    type: array
                    items:
                      type: object
                      properties:
                        LONGINST:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload: Long Name of SAP Instance'
                        STARTDATE:
                          type: string
                          format: date
                          description: 'SAP Workload: Start date of meas. period'
                        PERIODTYPE:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload: Period type  enumValues: W=Weekly data,D=Daily data,M=Monthly data,Y=Yearly data'
                          enum:
                          - W
                          - D
                          - M
                          - Y
                        HOSTID:
                          type: string
                          maxLength: 8
                          description: Verkürzter Hostnamen
                        FIRSTRECTI:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: Time, first statistics record'
                        FIRSTRECDY:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date, first statistics record'
                        LASTRECTI:
                          type: string
                          maxLength: 6
                          description: 'SAP Workload: Workload: Time, last statistics record'
                        LASTRECDY:
                          type: string
                          format: date
                          description: 'SAP Workload: Workload: Date, last statistics record'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
