openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SAPWLN3_GET_DIRECTORY:
    post:
      tags:
      - SAPWLN3_COLLECTOR
      operationId: /rfc/SAPWLN3_GET_DIRECTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ASSIGNED_SYSTEM:
                  type: string
                  maxLength: 32
                COMPONENT:
                  type: string
                  maxLength: 32
                COMPONENT_TYPE:
                  type: string
                  maxLength: 10
                MONITORING_SYSTEM:
                  type: string
                  default: ' '
                  maxLength: 32
                RESOLVE_MULTISYS_ENTRIES:
                  type: string
                  default: ' '
                  maxLength: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MULTISYS_RESOLVED_DIRECTORY:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: Name of a Non-R/3 Component'
                        COMPTYPE:
                          type: string
                          maxLength: 10
                          description: 'DSR Statistics: Type of Non-R/3 Component'
                        ASSIGNDSYS:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: System Name'
                        PERIODTYPE:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload: Period type'
                        PERIODSTRT:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        FIRSTRECDY:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        FIRSTRECTI:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        LASTRECDY:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        LASTRECTI:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        AGR_TZONE:
                          type: string
                          maxLength: 6
                          description: Time Zone
                  NONR3_STATISTIC_DIRECTORY:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: Name of a Non-R/3 Component'
                        COMPTYPE:
                          type: string
                          maxLength: 10
                          description: 'DSR Statistics: Type of Non-R/3 Component'
                        ASSIGNDSYS:
                          type: string
                          maxLength: 32
                          description: 'DSR Statistics: System Name'
                        PERIODTYPE:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload: Period type'
                        PERIODSTRT:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        FIRSTRECDY:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        FIRSTRECTI:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        LASTRECDY:
                          type: string
                          format: date
                          description: Current Date of Application Server
                        LASTRECTI:
                          type: string
                          maxLength: 6
                          description: Current Time of Application Server
                        AGR_TZONE:
                          type: string
                          maxLength: 6
                          description: Time Zone
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
