openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWNC_COLLECTOR_GET_DIRECTORY:
    post:
      tags:
      - SCSM_COLLECTOR
      operationId: /rfc/SWNC_COLLECTOR_GET_DIRECTORY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EXCLUDE_SUMMARY:
                  type: string
                  default: ' '
                  maxLength: 1
                GET_DIR_FROM_CLUSTER:
                  type: string
                  default: ' '
                  maxLength: 1
                DIRECTORY_FULL:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 40
                        description: 'SAP Workload NW Collector: Host Name'
                      COMPTYPE:
                        type: string
                        maxLength: 20
                        description: 'SAP Workload NW Collector: Component Type'
                      ASSIGNDSYS:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload NW Collector: System ID'
                      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'
                      FINISHED:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Character-Type Flag'
                      IN_WEEK:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Character-Type Flag'
                      IN_MONTH:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Character-Type Flag'
                      IN_TOTDAY:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Character-Type Flag'
                      IN_TOTWEEK:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Character-Type Flag'
                      IN_TOTMONT:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Character-Type Flag'
                      TEMPORARY_DATA:
                        type: string
                        maxLength: 1
                        description: 'SWNC Collector: Temporarily-Generated Data Record'
                DIRECTORY_KEYS:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 40
                        description: 'SAP Workload NW Collector: Host Name'
                      COMPTYPE:
                        type: string
                        maxLength: 20
                        description: 'SAP Workload NW Collector: Component Type'
                      ASSIGNDSYS:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload NW Collector: System ID'
                      PERIODTYPE:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Period Type'
                      PERIODSTRT:
                        type: string
                        format: date
                        description: 'SAP Workload NW Collector: Date'
                DIRECTORY_MONI:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 40
                        description: 'SAP Workload NW Collector: Host Name'
                      COMPTYPE:
                        type: string
                        maxLength: 20
                        description: 'SAP Workload NW Collector: Component Type'
                      ASSIGNDSYS:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload NW Collector: System ID'
                      PERIODTYPE:
                        type: string
                        maxLength: 1
                        description: 'SAP Workload NW Collector: Period Type'
                      PERIODSTRT:
                        type: string
                        format: date
                        description: 'SAP Workload NW Collector: Date'
                      RELID:
                        type: string
                        maxLength: 2
                        description: Region in IMPORT/EXPORT Data Table
                DIRECTORY_SHORT:
                  type: array
                  items:
                    type: object
                    properties:
                      COMPONENT:
                        type: string
                        maxLength: 40
                        description: 'SAP Workload NW Collector: Host Name'
                      COMPTYPE:
                        type: string
                        maxLength: 20
                        description: 'SAP Workload NW Collector: Component Type'
                      ASSIGNDSYS:
                        type: string
                        maxLength: 32
                        description: 'SAP Workload NW Collector: System ID'
                      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'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  DIRECTORY_FULL:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload NW Collector: Host Name'
                        COMPTYPE:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload NW Collector: Component Type'
                        ASSIGNDSYS:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload NW Collector: System ID'
                        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'
                        FINISHED:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Character-Type Flag'
                        IN_WEEK:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Character-Type Flag'
                        IN_MONTH:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Character-Type Flag'
                        IN_TOTDAY:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Character-Type Flag'
                        IN_TOTWEEK:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Character-Type Flag'
                        IN_TOTMONT:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Character-Type Flag'
                        TEMPORARY_DATA:
                          type: string
                          maxLength: 1
                          description: 'SWNC Collector: Temporarily-Generated Data Record'
                  DIRECTORY_KEYS:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload NW Collector: Host Name'
                        COMPTYPE:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload NW Collector: Component Type'
                        ASSIGNDSYS:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload NW Collector: System ID'
                        PERIODTYPE:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Period Type'
                        PERIODSTRT:
                          type: string
                          format: date
                          description: 'SAP Workload NW Collector: Date'
                  DIRECTORY_MONI:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload NW Collector: Host Name'
                        COMPTYPE:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload NW Collector: Component Type'
                        ASSIGNDSYS:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload NW Collector: System ID'
                        PERIODTYPE:
                          type: string
                          maxLength: 1
                          description: 'SAP Workload NW Collector: Period Type'
                        PERIODSTRT:
                          type: string
                          format: date
                          description: 'SAP Workload NW Collector: Date'
                        RELID:
                          type: string
                          maxLength: 2
                          description: Region in IMPORT/EXPORT Data Table
                  DIRECTORY_SHORT:
                    type: array
                    items:
                      type: object
                      properties:
                        COMPONENT:
                          type: string
                          maxLength: 40
                          description: 'SAP Workload NW Collector: Host Name'
                        COMPTYPE:
                          type: string
                          maxLength: 20
                          description: 'SAP Workload NW Collector: Component Type'
                        ASSIGNDSYS:
                          type: string
                          maxLength: 32
                          description: 'SAP Workload NW Collector: System ID'
                        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'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
