openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALF_AGENT_STATUS_UPDATE:
    post:
      tags:
      - SALF
      operationId: /rfc/SALF_AGENT_STATUS_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AGENT_CEN_INFO:
                  type: string
                  maxLength: 256
                  description: 'Alert: Attribute Text'
                AGENT_DOWNTIME:
                  type: string
                  maxLength: 256
                  description: 'Alert: Attribute Text'
                AGENT_TYPE:
                  type: integer
                  format: int32
                  description: 'CCMS CSM: Typ des CCMS Agenten'
                AGENT_VERSION_STRING:
                  type: string
                  maxLength: 256
                  description: 'Alert: Attribute Text'
                COMMSTATUS:
                  type: string
                  maxLength: 1
                  description: 'CCMS CSM: Typ des CCMS Agenten'
                CONTEXT:
                  type: string
                  maxLength: 40
                  description: 'CCMS CSM: Typ des CCMS Agenten'
                DESTINATION:
                  type: string
                  maxLength: 32
                  description: 'CCMS CSM: Typ des CCMS Agenten'
                SEGMENT:
                  type: string
                  maxLength: 40
                  description: 'CCMS CSM: Typ des CCMS Agenten'
                SEGMSTATUS:
                  type: string
                  maxLength: 1
                  description: 'Alert: Status of Segment (online/offline/problems/disabled)'
                SYSID:
                  type: string
                  default: SY-SYSID
                  maxLength: 8
                  description: 'CCMS CSM: Typ des CCMS Agenten'
                MONICONTEXT3:
                  type: array
                  items:
                    type: object
                    properties:
                      MTSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      MTMCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      MTNUMRANGE:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      MTUID:
                        type: string
                        maxLength: 10
                        description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                      MTCLASS:
                        type: string
                        maxLength: 3
                        description: 'Alert: monitoring type class (perf., single msg.,...)'
                      MTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      EXTINDEX:
                        type: string
                        maxLength: 10
                        description: 'Alert: internal handle for TID'
                      OWNER:
                        type: string
                        maxLength: 40
                        description: 'Alert: Owner of Monitoring Context'
                      CONTXTSTAT:
                        type: string
                        maxLength: 1
                        description: 'Alert: Status of Context (active/inactive/....)'
                      CONTXTTYPE:
                        type: integer
                        format: int32
                        description: 'Alert: Type of Monitoring Context'
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      MTECLASS:
                        type: string
                        maxLength: 40
                        description: 'CCMS Monitoring Architecture: Name of MTE class'
                      CSMSYSID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
              required:
              - AGENT_TYPE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MONICONTEXT3:
                    type: array
                    items:
                      type: object
                      properties:
                        MTSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        MTMCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        MTNUMRANGE:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        MTUID:
                          type: string
                          maxLength: 10
                          description: 'ALert: Unique Identifier for  Monitoring Types (used in TID)'
                        MTCLASS:
                          type: string
                          maxLength: 3
                          description: 'Alert: monitoring type class (perf., single msg.,...)'
                        MTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        EXTINDEX:
                          type: string
                          maxLength: 10
                          description: 'Alert: internal handle for TID'
                        OWNER:
                          type: string
                          maxLength: 40
                          description: 'Alert: Owner of Monitoring Context'
                        CONTXTSTAT:
                          type: string
                          maxLength: 1
                          description: 'Alert: Status of Context (active/inactive/....)'
                        CONTXTTYPE:
                          type: integer
                          format: int32
                          description: 'Alert: Type of Monitoring Context'
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        MTECLASS:
                          type: string
                          maxLength: 40
                          description: 'CCMS Monitoring Architecture: Name of MTE class'
                        CSMSYSID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
