openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SALC_MC_CREATE:
    post:
      tags:
      - SALC
      operationId: /rfc/SALC_MC_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ONLY_LOCAL:
                  type: string
                  default: ' '
                  maxLength: 1
                MCCREATE:
                  type: array
                  items:
                    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'
                      MCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      NUMRANGE:
                        type: integer
                        format: int32
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      OWNER:
                        type: string
                        maxLength: 40
                        description: 'Alert: Owner of Monitoring Context'
                      MCGROUP:
                        type: string
                        maxLength: 40
                        description: 'Alert:  group of Monitoring Context'
                MCCREATE2:
                  type: array
                  items:
                    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'
                      MCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      NUMRANGE:
                        type: integer
                        format: int32
                        description: 'Alert: monitoring type number range (perm., temp, ...)'
                      OWNER:
                        type: string
                        maxLength: 40
                        description: 'Alert: Owner of Monitoring Context'
                      MCGROUP:
                        type: string
                        maxLength: 40
                        description: 'Alert:  group of Monitoring Context'
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client ID of Current User
                      MCTYPE:
                        type: integer
                        format: int32
                        description: 'Alert: Type of Monitoring Context'
                MCRESULT:
                  type: array
                  items:
                    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'
                      MCNAME:
                        type: string
                        maxLength: 40
                        description: 'Alert: Name of Monitoring Context'
                      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'
                      RC:
                        type: integer
                        format: int32
                        description: 'Alert: Return Code'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  MCCREATE:
                    type: array
                    items:
                      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'
                        MCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        NUMRANGE:
                          type: integer
                          format: int32
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        OWNER:
                          type: string
                          maxLength: 40
                          description: 'Alert: Owner of Monitoring Context'
                        MCGROUP:
                          type: string
                          maxLength: 40
                          description: 'Alert:  group of Monitoring Context'
                  MCCREATE2:
                    type: array
                    items:
                      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'
                        MCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        NUMRANGE:
                          type: integer
                          format: int32
                          description: 'Alert: monitoring type number range (perm., temp, ...)'
                        OWNER:
                          type: string
                          maxLength: 40
                          description: 'Alert: Owner of Monitoring Context'
                        MCGROUP:
                          type: string
                          maxLength: 40
                          description: 'Alert:  group of Monitoring Context'
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client ID of Current User
                        MCTYPE:
                          type: integer
                          format: int32
                          description: 'Alert: Type of Monitoring Context'
                  MCRESULT:
                    type: array
                    items:
                      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'
                        MCNAME:
                          type: string
                          maxLength: 40
                          description: 'Alert: Name of Monitoring Context'
                        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'
                        RC:
                          type: integer
                          format: int32
                          description: 'Alert: Return Code'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
