openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_CSMSEGM_UPDATE:
    post:
      tags:
      - SCSMROUTE
      operationId: /rfc/SCSM_CSMSEGM_UPDATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CSMSEGM_UPDATE:
                  type: object
                  properties:
                    SYSID:
                      type: string
                      maxLength: 8
                      description: Name of the SAP System
                    SEGMENT:
                      type: string
                      maxLength: 40
                      description: 'Alert: Name of Monitoring Segment'
                    DESTINAT:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    COMMPRIO:
                      type: integer
                      format: int32
                      description: Priority of RFC Communication Route
                    COMMTYPE:
                      type: string
                      maxLength: 1
                      description: Type of RFC Communication Route
                    COMMSTATUS:
                      type: string
                      maxLength: 1
                      description: Communication Status of Route
                    SEGMENTTYP:
                      type: integer
                      format: int32
                      description: 'Alert: Segment Type'
                    SEGMSTATUS:
                      type: string
                      maxLength: 1
                      description: 'Alert: Status of Segment (online/offline/problems/disabled)'
                    RESP_MSSY:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    VERSION:
                      type: string
                      maxLength: 10
                      description: 'Alert: Version of Monitoring Infrastructure'
                    CHG_USER:
                      type: string
                      maxLength: 12
                      description: 'Alert: Last Changed By'
                    CHG_DATE:
                      type: string
                      format: date
                      description: 'Alert: Date of last change'
                    CHG_TIME:
                      type: string
                      maxLength: 6
                      description: 'Alert: Time of last change'
                    SEGSTATMST:
                      type: integer
                      format: int64
                      description: 'Alert: UTC Time Stamp in Format <YYYYMMDDhhmmss>'
                    SEGSTATCNT:
                      type: integer
                      format: int32
                      description: 'Alert: Number of Status Changes of Communication Status'
                    SEGMSERVER:
                      type: string
                      maxLength: 20
                      description: Server Name
                    SEGMHOST:
                      type: string
                      maxLength: 32
                      description: Name of Current Application Server
                    RESERVE_C:
                      type: string
                      maxLength: 10
                      description: Reserve Field
                    RESERVE_I:
                      type: integer
                      format: int32
                      description: Reserve Field
                    CUSJ2EEDES:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    DSRDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                DO_A_COMMIT:
                  type: string
                  default: ' '
                  maxLength: 1
                J2EE_CUSTOMIZE_DESTINAT:
                  type: string
                  maxLength: 32
                J2EE_SYSID:
                  type: string
                  maxLength: 8
                SUPPRESS_REFILL:
                  type: string
                  default: ' '
                  maxLength: 1
                UPDATE_J2EEDEST_ONLY:
                  type: string
                  default: ' '
                  maxLength: 1
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
