openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SMON_COMP_STATE_REPORT:
    post:
      tags:
      - SMON_TRACE
      operationId: /rfc/SMON_COMP_STATE_REPORT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NODE_ID:
                  type: string
                  maxLength: 6
                COMPONENT_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      NAME:
                        type: string
                        maxLength: 50
                        description: External software component
                      STATE:
                        type: integer
                        format: int64
                        description: 'SAPconnect/SAPphone monitoring: Component status'
                      TRACE:
                        type: integer
                        format: int64
                        description: 'SAPconnect/SAPphone monitoring: Trace status'
                      TEXT:
                        type: string
                        maxLength: 1000
                        description: 'SAPconnect/SAPphone monitoring: Trace line'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  COMPONENT_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        NAME:
                          type: string
                          maxLength: 50
                          description: External software component
                        STATE:
                          type: integer
                          format: int64
                          description: 'SAPconnect/SAPphone monitoring: Component status'
                        TRACE:
                          type: integer
                          format: int64
                          description: 'SAPconnect/SAPphone monitoring: Trace status'
                        TEXT:
                          type: string
                          maxLength: 1000
                          description: 'SAPconnect/SAPphone monitoring: Trace line'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
