openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_CHECK_RFC:
    post:
      tags:
      - MEREP_MONITOR
      summary: Check Function Parameters for SyncBO
      operationId: /rfc/MEREP_CHECK_RFC
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CHECK_MODE:
                  type: string
                  default: A
                  maxLength: 1
                  description: 'SAP Mobile: Action Flag for Metadata RFC'
                SCENARIO:
                  type: string
                  maxLength: 10
                  description: 'SAP Mobile: Scenario ID'
                E_ERROR_LOG:
                  type: array
                  items:
                    type: object
                    properties:
                      SCENARIO:
                        type: string
                        maxLength: 10
                        description: SyncBO ID
                      FMTYPE:
                        type: string
                        maxLength: 3
                        description: Type of Function Module to be Called
                      FUNCNAME:
                        type: string
                        maxLength: 30
                        description: Function Modules to be Called
                      PARA_TYPE:
                        type: string
                        maxLength: 1
                        description: 'Parameter Type  enumValues: T=Tables Parameter,E=Export Parameter,I=Import Parameter,X=Exception'
                        enum:
                        - T
                        - E
                        - I
                        - X
                      PARA_NAME:
                        type: string
                        maxLength: 30
                        description: Name of Function Module Parameter
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name
                      MESSAGE:
                        type: string
                        maxLength: 220
                        description: Message Text
              required:
              - CHECK_MODE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ERROR_LOG:
                    type: array
                    items:
                      type: object
                      properties:
                        SCENARIO:
                          type: string
                          maxLength: 10
                          description: SyncBO ID
                        FMTYPE:
                          type: string
                          maxLength: 3
                          description: Type of Function Module to be Called
                        FUNCNAME:
                          type: string
                          maxLength: 30
                          description: Function Modules to be Called
                        PARA_TYPE:
                          type: string
                          maxLength: 1
                          description: 'Parameter Type  enumValues: T=Tables Parameter,E=Export Parameter,I=Import Parameter,X=Exception'
                          enum:
                          - T
                          - E
                          - I
                          - X
                        PARA_NAME:
                          type: string
                          maxLength: 30
                          description: Name of Function Module Parameter
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name
                        MESSAGE:
                          type: string
                          maxLength: 220
                          description: Message Text
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
