openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SCSM_AVA_CHG_MONITOR_SETTINGS:
    post:
      tags:
      - SCSM_AVAILABILITY_PUSH
      operationId: /rfc/SCSM_AVA_CHG_MONITOR_SETTINGS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ABAP_MS_HOST:
                  type: string
                  maxLength: 255
                ABAP_MS_PORT:
                  type: string
                  maxLength: 20
                ABAP_ROUTER_STRING:
                  type: string
                  maxLength: 255
                CCMSPING_AGENT:
                  type: string
                  maxLength: 40
                CS_MS_HOST:
                  type: string
                  maxLength: 255
                CS_MS_PORT:
                  type: string
                  maxLength: 20
                CS_ROUTER_STRING:
                  type: string
                  maxLength: 255
                DB_HOST:
                  type: string
                  maxLength: 255
                DESCRIPTION:
                  type: string
                  maxLength: 60
                GROUP_CHECK_POLICY:
                  type: string
                  default: A
                  maxLength: 1
                LOGON_CHECK_POLICY:
                  type: string
                  default: A
                  maxLength: 1
                OPERATION:
                  type: string
                  default: A
                  maxLength: 1
                PING_CHECK_POLICY:
                  type: string
                  default: A
                  maxLength: 1
                RESTRICT_UPDATE_TO:
                  type: string
                  default: ' '
                  maxLength: 5
                SID:
                  type: string
                  maxLength: 8
                SYSTEM_GUID:
                  type: string
                  maxLength: 32
                SYSTEM_ENTRY:
                  type: object
                  properties:
                    SYSGUID:
                      type: string
                      maxLength: 32
                      description: System GUID for ABAP Systems or Other Systems
                    NSGUID:
                      type: string
                      maxLength: 32
                      description: GUID for access to a name server of a system
                    NSTYPE:
                      type: string
                      maxLength: 1
                      description: 'CCMS CSM: Name service type'
                    AVCHECK:
                      type: string
                      maxLength: 1
                      description: Availability of a name server
                    SERVICE:
                      type: string
                      maxLength: 20
                      description: Service
                    DNSNAME:
                      type: string
                      maxLength: 255
                      description: 'CCMS CSM: DNS name according to DNS RFC 1035'
                    ROUTE_TO:
                      type: string
                      maxLength: 255
                      description: SAProuter string to domain
                    CHG_USER:
                      type: string
                      maxLength: 12
                      description: 'Alert: Last Changed By'
                    CHG_REPORT:
                      type: string
                      maxLength: 40
                      description: 'CCMS CSM: Last change: Report name'
                    CHG_DATE:
                      type: string
                      format: date
                      description: 'Alert: Date of last change'
                    CHG_TIME:
                      type: string
                      maxLength: 6
                      description: 'Alert: Time of last change'
                    RESERVE_C:
                      type: string
                      maxLength: 10
                      description: ''
                    RESERVE_I:
                      type: integer
                      format: int32
                      description: ''
                    DWNTIME:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    I_CHECK:
                      type: string
                      maxLength: 1
                      description: 'CCMS CSM: Instance check'
                    J_CHECK:
                      type: string
                      maxLength: 1
                      description: 'CCMS CSM: J2EE Check Using CCMSPING'
                    P_CHECK:
                      type: string
                      maxLength: 1
                      description: 'Indicator: SRFC Check in CCMS'
                    G_CHK_ALL:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    G_CHK_NON:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    G_CHK_MRK:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    G_CHK_NEW:
                      type: string
                      maxLength: 1
                      description: Single-Character Flag
                    SYSDESC:
                      type: string
                      maxLength: 60
                      description: Text Field of Length 60
                    PING_DEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    CSERVICE:
                      type: string
                      maxLength: 20
                      description: Service
                    CDNSNAME:
                      type: string
                      maxLength: 255
                      description: 'CCMS CSM: DNS name according to DNS RFC 1035'
                    CROUTE_TO:
                      type: string
                      maxLength: 255
                      description: SAProuter string to domain
                    J_CHECK63:
                      type: string
                      maxLength: 1
                      description: 'CCMS CSM: J2EE Check Using CCMSPING'
                    RFC_MESSAGE:
                      type: string
                      maxLength: 80
                      description: Text (80 Characters)
                    ABAP_MS_RC:
                      type: integer
                      format: int32
                      description: Natural number
                    CSC_MS_RC:
                      type: integer
                      format: int32
                      description: Natural number
                    ABAP_MS_RESP:
                      type: integer
                      format: int32
                      description: Natural number
                    CSC_MS_RESP:
                      type: integer
                      format: int32
                      description: Natural number
                    REFGROUP:
                      type: string
                      maxLength: 30
                      description: 'Alerts: Name of a System group'
                    JHEADCHK:
                      type: string
                      maxLength: 1
                      description: 'CCMS: Perform an HTTP Check of a J2EE Instance as of 6.30  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    JHEADPRFX:
                      type: string
                      maxLength: 255
                      description: Path Prefix for Connection Types G and H
                DESTINATIONS:
                  type: array
                  items:
                    type: object
                    properties:
                      RFCDEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      RFCTYPE:
                        type: string
                        maxLength: 1
                        description: 'Type of Entry in RFCDES  enumValues: 3=Connection to ABAP System,T=Start External Program Using TCP/IP,L=Reference Entry (Refers to Other Destination),I=Connection to Application Server with Same Database,X=RFC Using Special ABAP Driver Routines,M=CMC Connection,G=HTTP Connection to External Server,2=Connection to R/2 System,H=HTTP Connection to ABAP System,S=Start External Program Using SNA or APPC'
                        enum:
                        - '3'
                        - T
                        - L
                        - I
                        - X
                        - M
                        - G
                        - '2'
                        - H
                        - S
                      RFCOPTIONS:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTIONT:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTIONU:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTIONV:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION1:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION2:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION3:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION4:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION5:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION6:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION7:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION8:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTION9:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTIONA:
                        type: string
                        maxLength: 250
                        description: Connection options
                      RFCOPTIONB:
                        type: string
                        maxLength: 250
                        description: Connection options
                INSTANCE_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSGUID:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      SYSINSTNAM:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      HOST:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      SERVICE:
                        type: string
                        maxLength: 20
                        description: Service
                      INST_CHECK:
                        type: string
                        maxLength: 1
                        description: 'CCMS CSM: Instance check'
                      J2EE_CHECK:
                        type: string
                        maxLength: 1
                        description: 'CCMS CSM: J2EE Check Using CCMSPING'
                      PING_CHECK:
                        type: string
                        maxLength: 1
                        description: 'Indicator: SRFC Check in CCMS'
                      C_CHG_USR:
                        type: string
                        maxLength: 12
                        description: 'Alert: Last Changed By'
                      C_CHG_DATE:
                        type: string
                        format: date
                        description: 'Alert: Date of last change'
                      C_CHG_TIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time of last change'
                      NSTYPE:
                        type: string
                        maxLength: 1
                        description: 'CCMS CSM: Name service type'
                      DSTACK_SERVER:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                LOGON_GROUP_ENTRIES:
                  type: array
                  items:
                    type: object
                    properties:
                      SYSTEMID:
                        type: string
                        maxLength: 8
                        description: Name of the SAP System
                      LGROUP:
                        type: string
                        maxLength: 20
                        description: Logon/Server Group Name
                      INSTANCE:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      RFCMSG:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
                      PING_SUCES:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      DO_MONITOR:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      C_CHG_USR:
                        type: string
                        maxLength: 12
                        description: 'Alert: Last Changed By'
                      C_CHG_DATE:
                        type: string
                        format: date
                        description: 'Alert: Date of last change'
                      C_CHG_TIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time of last change'
                      APPLSERVER:
                        type: string
                        maxLength: 40
                        description: Application Server Name
                      NSGUID:
                        type: string
                        maxLength: 32
                        description: GUID for access to a name server of a system
                      HOST:
                        type: string
                        maxLength: 32
                        description: Name of Current Application Server
                      SERVICE:
                        type: string
                        maxLength: 20
                        description: Service
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NSGUID:
                    type: string
                    maxLength: 32
                  SYSTEM_ENTRY:
                    type: object
                    properties:
                      SYSGUID:
                        type: string
                        maxLength: 32
                        description: System GUID for ABAP Systems or Other Systems
                      NSGUID:
                        type: string
                        maxLength: 32
                        description: GUID for access to a name server of a system
                      NSTYPE:
                        type: string
                        maxLength: 1
                        description: 'CCMS CSM: Name service type'
                      AVCHECK:
                        type: string
                        maxLength: 1
                        description: Availability of a name server
                      SERVICE:
                        type: string
                        maxLength: 20
                        description: Service
                      DNSNAME:
                        type: string
                        maxLength: 255
                        description: 'CCMS CSM: DNS name according to DNS RFC 1035'
                      ROUTE_TO:
                        type: string
                        maxLength: 255
                        description: SAProuter string to domain
                      CHG_USER:
                        type: string
                        maxLength: 12
                        description: 'Alert: Last Changed By'
                      CHG_REPORT:
                        type: string
                        maxLength: 40
                        description: 'CCMS CSM: Last change: Report name'
                      CHG_DATE:
                        type: string
                        format: date
                        description: 'Alert: Date of last change'
                      CHG_TIME:
                        type: string
                        maxLength: 6
                        description: 'Alert: Time of last change'
                      RESERVE_C:
                        type: string
                        maxLength: 10
                        description: ''
                      RESERVE_I:
                        type: integer
                        format: int32
                        description: ''
                      DWNTIME:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      I_CHECK:
                        type: string
                        maxLength: 1
                        description: 'CCMS CSM: Instance check'
                      J_CHECK:
                        type: string
                        maxLength: 1
                        description: 'CCMS CSM: J2EE Check Using CCMSPING'
                      P_CHECK:
                        type: string
                        maxLength: 1
                        description: 'Indicator: SRFC Check in CCMS'
                      G_CHK_ALL:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      G_CHK_NON:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      G_CHK_MRK:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      G_CHK_NEW:
                        type: string
                        maxLength: 1
                        description: Single-Character Flag
                      SYSDESC:
                        type: string
                        maxLength: 60
                        description: Text Field of Length 60
                      PING_DEST:
                        type: string
                        maxLength: 32
                        description: Logical Destination (Specified in Function Call)
                      CSERVICE:
                        type: string
                        maxLength: 20
                        description: Service
                      CDNSNAME:
                        type: string
                        maxLength: 255
                        description: 'CCMS CSM: DNS name according to DNS RFC 1035'
                      CROUTE_TO:
                        type: string
                        maxLength: 255
                        description: SAProuter string to domain
                      J_CHECK63:
                        type: string
                        maxLength: 1
                        description: 'CCMS CSM: J2EE Check Using CCMSPING'
                      RFC_MESSAGE:
                        type: string
                        maxLength: 80
                        description: Text (80 Characters)
                      ABAP_MS_RC:
                        type: integer
                        format: int32
                        description: Natural number
                      CSC_MS_RC:
                        type: integer
                        format: int32
                        description: Natural number
                      ABAP_MS_RESP:
                        type: integer
                        format: int32
                        description: Natural number
                      CSC_MS_RESP:
                        type: integer
                        format: int32
                        description: Natural number
                      REFGROUP:
                        type: string
                        maxLength: 30
                        description: 'Alerts: Name of a System group'
                      JHEADCHK:
                        type: string
                        maxLength: 1
                        description: 'CCMS: Perform an HTTP Check of a J2EE Instance as of 6.30  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      JHEADPRFX:
                        type: string
                        maxLength: 255
                        description: Path Prefix for Connection Types G and H
                  DESTINATIONS:
                    type: array
                    items:
                      type: object
                      properties:
                        RFCDEST:
                          type: string
                          maxLength: 32
                          description: Logical Destination (Specified in Function Call)
                        RFCTYPE:
                          type: string
                          maxLength: 1
                          description: 'Type of Entry in RFCDES  enumValues: 3=Connection to ABAP System,T=Start External Program Using TCP/IP,L=Reference Entry (Refers to Other Destination),I=Connection to Application Server with Same Database,X=RFC Using Special ABAP Driver Routines,M=CMC Connection,G=HTTP Connection to External Server,2=Connection to R/2 System,H=HTTP Connection to ABAP System,S=Start External Program Using SNA or APPC'
                          enum:
                          - '3'
                          - T
                          - L
                          - I
                          - X
                          - M
                          - G
                          - '2'
                          - H
                          - S
                        RFCOPTIONS:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTIONT:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTIONU:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTIONV:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION1:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION2:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION3:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION4:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION5:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION6:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION7:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION8:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTION9:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTIONA:
                          type: string
                          maxLength: 250
                          description: Connection options
                        RFCOPTIONB:
                          type: string
                          maxLength: 250
                          description: Connection options
                  INSTANCE_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSGUID:
                          type: string
                          maxLength: 32
                          description: System GUID for ABAP Systems or Other Systems
                        SYSINSTNAM:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        HOST:
                          type: string
                          maxLength: 32
                          description: Name of Current Application Server
                        SERVICE:
                          type: string
                          maxLength: 20
                          description: Service
                        INST_CHECK:
                          type: string
                          maxLength: 1
                          description: 'CCMS CSM: Instance check'
                        J2EE_CHECK:
                          type: string
                          maxLength: 1
                          description: 'CCMS CSM: J2EE Check Using CCMSPING'
                        PING_CHECK:
                          type: string
                          maxLength: 1
                          description: 'Indicator: SRFC Check in CCMS'
                        C_CHG_USR:
                          type: string
                          maxLength: 12
                          description: 'Alert: Last Changed By'
                        C_CHG_DATE:
                          type: string
                          format: date
                          description: 'Alert: Date of last change'
                        C_CHG_TIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time of last change'
                        NSTYPE:
                          type: string
                          maxLength: 1
                          description: 'CCMS CSM: Name service type'
                        DSTACK_SERVER:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                  LOGON_GROUP_ENTRIES:
                    type: array
                    items:
                      type: object
                      properties:
                        SYSTEMID:
                          type: string
                          maxLength: 8
                          description: Name of the SAP System
                        LGROUP:
                          type: string
                          maxLength: 20
                          description: Logon/Server Group Name
                        INSTANCE:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        RFCMSG:
                          type: string
                          maxLength: 80
                          description: Text (80 Characters)
                        PING_SUCES:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        DO_MONITOR:
                          type: string
                          maxLength: 1
                          description: Single-Character Flag
                        C_CHG_USR:
                          type: string
                          maxLength: 12
                          description: 'Alert: Last Changed By'
                        C_CHG_DATE:
                          type: string
                          format: date
                          description: 'Alert: Date of last change'
                        C_CHG_TIME:
                          type: string
                          maxLength: 6
                          description: 'Alert: Time of last change'
                        APPLSERVER:
                          type: string
                          maxLength: 40
                          description: Application Server Name
                        NSGUID:
                          type: string
                          maxLength: 32
                          description: GUID for access to a name server of a system
                        HOST:
                          type: string
                          maxLength: 32
                          description: Name of Current Application Server
                        SERVICE:
                          type: string
                          maxLength: 20
                          description: Service
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
