openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEMGMT_CONFTEMPLATE_CHANGE:
    post:
      tags:
      - MEMGMT_CONFIGTEMPLATE
      summary: Change ConfigurationTemplate (overwrite data)
      operationId: /rfc/MEMGMT_CONFTEMPLATE_CHANGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CONFIGURATION_ID:
                  type: string
                  maxLength: 12
                  description: Monitoring Configuration ID
                HEADER:
                  type: object
                  properties:
                    CONFIGURATION_ID:
                      type: string
                      maxLength: 12
                      description: Monitoring Configuration ID
                    CONFIG_TEXT:
                      type: string
                      maxLength: 255
                      description: Configuration Description
                    CREATE_DATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    CREATE_TIME:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    CREATE_BY:
                      type: string
                      maxLength: 12
                      description: User Name in User Master Record
                    MODIFY_DATE:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    MODIFY_TIME:
                      type: string
                      maxLength: 6
                      description: Current Time of Application Server
                    MODIFY_BY:
                      type: string
                      maxLength: 12
                      description: User Name in User Master Record
                    PROTECTED:
                      type: string
                      maxLength: 1
                      description: 'General Flag  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                      enum:
                      - X
                      - ''
                    AUTHORITY_GROUP:
                      type: string
                      maxLength: 30
                      description: Authorization Group for Device Management
                USERNAME:
                  type: string
                  maxLength: 12
                  description: User Name in User Master Record
                SERVICE_LIST:
                  type: array
                  items:
                    type: object
                    properties:
                      LFD_NR:
                        type: integer
                        format: int64
                        description: Sequence Number
                      MARK:
                        type: string
                        maxLength: 1
                        description: General Flag
                      AGENT_ID:
                        type: string
                        maxLength: 12
                        description: Configuration ID of Monitoring Function
                      AGENT:
                        type: string
                        maxLength: 128
                        description: Service of the Monitoring Function
                      AGENT_TEXT:
                        type: string
                        maxLength: 255
                        description: Description of the Monitoring Function
                      PARAMETER_ID:
                        type: string
                        maxLength: 12
                        description: Parameter ID for Monitoring Function Parameter
                      PARAMETER:
                        type: string
                        maxLength: 12
                        description: Configuration ID of Monitoring Function
                      PARAMETER_TEXT:
                        type: string
                        maxLength: 255
                        description: Parameter Description
                      PARAMETER_VALUE:
                        type: string
                        maxLength: 128
                        description: Value Range for Individual Parameters
                      SET_PARAMETER:
                        type: string
                        maxLength: 1
                        description: Set Parameter for a Parameter
                      GET_PARAMETER:
                        type: string
                        maxLength: 1
                        description: Get Parameter for a Parameter
                      CONDITION_TYPE:
                        type: string
                        maxLength: 20
                        description: Condition for Device Configuration
                      CONDITION_VALUE:
                        type: string
                        maxLength: 128
                        description: Value Range for Individual Parameters
                      DELETED:
                        type: string
                        maxLength: 1
                        description: General Flag
                      POSSIBLE_VALUES:
                        type: string
                        maxLength: 255
                        description: Parameter Description for Device Configuration
              required:
              - CONFIGURATION_ID
              - HEADER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        TYPE:
                          type: string
                          maxLength: 1
                          description: 'Message type: S Success, E Error, W Warning, I Info, A Abort'
                        ID:
                          type: string
                          maxLength: 20
                          description: Message Class
                        NUMBER:
                          type: integer
                          format: int64
                          description: Message Number
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
                        LOG_NO:
                          type: string
                          maxLength: 20
                          description: 'Application log: log number'
                        LOG_MSG_NO:
                          type: integer
                          format: int64
                          description: 'Application log: Internal message serial number'
                        MESSAGE_V1:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V2:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V3:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        MESSAGE_V4:
                          type: string
                          maxLength: 50
                          description: Message Variable
                        PARAMETER:
                          type: string
                          maxLength: 32
                          description: Parameter Name
                        ROW:
                          type: integer
                          format: int32
                          description: Lines in parameter
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field in parameter
                        SYSTEM:
                          type: string
                          maxLength: 10
                          description: Logical system from which message originates
                  SERVICE_LIST:
                    type: array
                    items:
                      type: object
                      properties:
                        LFD_NR:
                          type: integer
                          format: int64
                          description: Sequence Number
                        MARK:
                          type: string
                          maxLength: 1
                          description: General Flag
                        AGENT_ID:
                          type: string
                          maxLength: 12
                          description: Configuration ID of Monitoring Function
                        AGENT:
                          type: string
                          maxLength: 128
                          description: Service of the Monitoring Function
                        AGENT_TEXT:
                          type: string
                          maxLength: 255
                          description: Description of the Monitoring Function
                        PARAMETER_ID:
                          type: string
                          maxLength: 12
                          description: Parameter ID for Monitoring Function Parameter
                        PARAMETER:
                          type: string
                          maxLength: 12
                          description: Configuration ID of Monitoring Function
                        PARAMETER_TEXT:
                          type: string
                          maxLength: 255
                          description: Parameter Description
                        PARAMETER_VALUE:
                          type: string
                          maxLength: 128
                          description: Value Range for Individual Parameters
                        SET_PARAMETER:
                          type: string
                          maxLength: 1
                          description: Set Parameter for a Parameter
                        GET_PARAMETER:
                          type: string
                          maxLength: 1
                          description: Get Parameter for a Parameter
                        CONDITION_TYPE:
                          type: string
                          maxLength: 20
                          description: Condition for Device Configuration
                        CONDITION_VALUE:
                          type: string
                          maxLength: 128
                          description: Value Range for Individual Parameters
                        DELETED:
                          type: string
                          maxLength: 1
                          description: General Flag
                        POSSIBLE_VALUES:
                          type: string
                          maxLength: 255
                          description: Parameter Description for Device Configuration
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
