openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWL_ACCNT_GET_DIRECTORY:
    post:
      tags:
      - STUW
      operationId: /rfc/SAPWL_ACCNT_GET_DIRECTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INSTANCE:
                  type: string
                  default: ' '
                  maxLength: 39
                  description: Period type (no specification = all available)
                INSTID:
                  type: string
                  maxLength: 8
                  description: Period type (no specification = all available)
                PERIODTYPE:
                  type: string
                  maxLength: 1
                  description: Period type (no specification = all available)
                DIRECTORY:
                  type: array
                  items:
                    type: object
                    properties:
                      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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DIRECTORY:
                    type: array
                    items:
                      type: object
                      properties:
                        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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
