openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPTUNE_HISTORY_DIRECTORY:
    post:
      tags:
      - STUB
      operationId: /rfc/SAPTUNE_HISTORY_DIRECTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DATE:
                  type: string
                  format: date
                  default: SPACE
                  description: Anal. date (opt.l, if n. a. is all available)
                HOST:
                  type: string
                  default: ' '
                  maxLength: 32
                  description: Computer name (opt.l if n. a. every computer)
                SYSTEM:
                  type: string
                  default: ' '
                  maxLength: 2
                  description: Instance number (optional if n. a. every instance)
                CONTENTS:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSTEM:
                        type: string
                        maxLength: 2
                        description: SAP system number
                      HOST:
                        type: string
                        maxLength: 32
                        description: Hostname
                      DATE:
                        type: string
                        format: date
                        description: Current Date of Application Server
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  CONTENTS:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSTEM:
                          type: string
                          maxLength: 2
                          description: SAP system number
                        HOST:
                          type: string
                          maxLength: 32
                          description: Hostname
                        DATE:
                          type: string
                          format: date
                          description: Current Date of Application Server
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
