openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SXMS_UPDATE_INDEXING_CONFIG:
    post:
      tags:
      - SXMS_MSGIND_RFC_PROC
      operationId: /rfc/SXMS_UPDATE_INDEXING_CONFIG
      requestBody:
        content:
          application/json:
            schema:
              properties:
                INDEX_CUST_DATA:
                  type: object
                  properties:
                    INDEX_ID:
                      type: string
                      maxLength: 64
                      description: Index Id
                    NAMESPACE:
                      type: string
                      maxLength: 40
                      description: 'SAP XI: Namespace of Document Structure for Indexing'
                    ACTIVE:
                      type: string
                      maxLength: 1
                      description: 'SAP XI: Indicator Indexing Active/Inactive  enumValues: 0=No,1=Yes'
                      enum:
                      - '0'
                      - '1'
                    USE_QSERVER:
                      type: string
                      maxLength: 1
                      description: 'Flag (X or Blank)  enumValues: ""=Do not set flag,X=Set flag'
                      enum:
                      - ''
                      - X
                    Q_PERIOD:
                      type: integer
                      format: int32
                      description: 'SAP XI: Time Period for Starting Index Queue (in Min.)'
                    Q_MAXSIZE:
                      type: integer
                      format: int32
                      description: 'SAP XI: Max. Number of Documents to Start Index Queue'
                    PACK_COUNT:
                      type: integer
                      format: int32
                      description: 'SAP XI: Number of Messages per Package for Indexing'
                    PACK_MAXSIZE:
                      type: integer
                      format: int32
                      description: 'SAP XI: Maximum Package Size for Indexing (in KB)'
                    MSG_MAXSIZE:
                      type: integer
                      format: int32
                      description: 'SAP XI: Maximum Message Size for Indexing (in KB)'
                    RET_PERIOD:
                      type: integer
                      format: int32
                      description: Natural number
                    IND_PERIOD:
                      type: integer
                      format: int32
                      description: 'SAP XI: Time Period for Indexing of Messages (in Min.)'
                    DEIND_PERIOD:
                      type: integer
                      format: int32
                      description: 'SAP XI: Time Period for Reorganization of Messages (in Mins)'
                    ANALYSER_TYPE:
                      type: integer
                      format: int32
                      description: Natural number
                    MODIFIEDBY:
                      type: string
                      maxLength: 12
                      description: Last Changed By
                    MODIFYDATE:
                      type: string
                      format: date
                      description: Changed On
                    MODIFYTIME:
                      type: string
                      maxLength: 6
                      description: Last Changed At
                INDEX_MSG_FILTER:
                  type: array
                  items:
                    type: object
                    properties:
                      FROM_PARTY_NAME:
                        type: string
                        maxLength: 60
                        description: 'XI: Communication Party'
                      FROM_SERVICE_NAME:
                        type: string
                        maxLength: 60
                        description: 'XI: Service'
                      TO_PARTY_NAME:
                        type: string
                        maxLength: 60
                        description: 'XI: Communication Party'
                      TO_SERVICE_NAME:
                        type: string
                        maxLength: 60
                        description: 'XI: Service'
                      ACTION_NAME:
                        type: string
                        maxLength: 120
                        description: 'XI: Interface Name'
                      ACTION_TYPE:
                        type: string
                        maxLength: 255
                        description: 'XI: Interface Namespace'
                      SIGN:
                        type: string
                        maxLength: 1
                        description: Inclusion/exclusion criterion SIGN for range tables
              required:
              - INDEX_CUST_DATA
              - INDEX_MSG_FILTER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_TAB:
                    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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
