openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/TREX_RFC_UPDATE_FREQUENCY:
    post:
      tags:
      - TREX_RFC_CRAWLER
      summary: registerReplicationRule
      operationId: /rfc/TREX_RFC_UPDATE_FREQUENCY
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CURRENT_SAP_SYSTEM_TIME:
                  type: integer
                  format: int64
                SCHEDULER_TASK_NAME:
                  type: string
                  format: byte
                ERROR_RETURN:
                  type: array
                  items:
                    type: object
                    properties:
                      RETURN_CODE:
                        type: integer
                        format: int64
                        description: ''
                      RETURN_TEXT:
                        type: string
                        format: byte
                        description: ''
                REPLICATION_RULE:
                  type: array
                  items:
                    type: object
                    properties:
                      LOGICAL_NAME:
                        type: string
                        format: byte
                        description: ''
                      INDEX_RULE:
                        type: string
                        format: byte
                        description: use only for registerReplicationRule call
                      STARTUP_TIME:
                        type: integer
                        format: int64
                        description: ''
                      LAST_INVOCATION_TIME:
                        type: integer
                        format: int64
                        description: ''
                      PRD_YEARS:
                        type: integer
                        format: int64
                        description: periodic years
                      PRD_MONTHS:
                        type: integer
                        format: int64
                        description: periodic month
                      PRD_WEEKS:
                        type: integer
                        format: int64
                        description: periodic weeks
                      PRD_DAYS:
                        type: integer
                        format: int64
                        description: periodic days
                      PRD_HOURS:
                        type: integer
                        format: int64
                        description: periodic hour
                      PRD_MINUTES:
                        type: integer
                        format: int64
                        description: periodic minutes
                      PRD_SECONDS:
                        type: integer
                        format: int64
                        description: periodic seconds
                      IS_PERIODIC:
                        type: integer
                        format: int64
                        description: ''
              required:
              - CURRENT_SAP_SYSTEM_TIME
              - SCHEDULER_TASK_NAME
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int64
                    description: Return Code
                  RETURN_TEXT:
                    type: string
                    format: byte
                    description: Return Text
                  ERROR_RETURN:
                    type: array
                    items:
                      type: object
                      properties:
                        RETURN_CODE:
                          type: integer
                          format: int64
                          description: ''
                        RETURN_TEXT:
                          type: string
                          format: byte
                          description: ''
                  REPLICATION_RULE:
                    type: array
                    items:
                      type: object
                      properties:
                        LOGICAL_NAME:
                          type: string
                          format: byte
                          description: ''
                        INDEX_RULE:
                          type: string
                          format: byte
                          description: use only for registerReplicationRule call
                        STARTUP_TIME:
                          type: integer
                          format: int64
                          description: ''
                        LAST_INVOCATION_TIME:
                          type: integer
                          format: int64
                          description: ''
                        PRD_YEARS:
                          type: integer
                          format: int64
                          description: periodic years
                        PRD_MONTHS:
                          type: integer
                          format: int64
                          description: periodic month
                        PRD_WEEKS:
                          type: integer
                          format: int64
                          description: periodic weeks
                        PRD_DAYS:
                          type: integer
                          format: int64
                          description: periodic days
                        PRD_HOURS:
                          type: integer
                          format: int64
                          description: periodic hour
                        PRD_MINUTES:
                          type: integer
                          format: int64
                          description: periodic minutes
                        PRD_SECONDS:
                          type: integer
                          format: int64
                          description: periodic seconds
                        IS_PERIODIC:
                          type: integer
                          format: int64
                          description: ''
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
