openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/CRM_FILTER_CHECK:
    post:
      tags:
      - CFIL
      operationId: /rfc/CRM_FILTER_CHECK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_BAPICRMDH1:
                  type: object
                  properties:
                    EXT_OR_REQ:
                      type: string
                      maxLength: 1
                      description: Extract or Request Object Data
                    EXTRACT_ID:
                      type: string
                      maxLength: 32
                      description: Unique Number for Extraction or Request
                    KEYWORD_IN:
                      type: string
                      maxLength: 20
                      description: Keyword for Customer Enhancements
                    BLOCKSIZE:
                      type: integer
                      format: int64
                      description: Block Size for Download
                    SEND_DDIC:
                      type: string
                      maxLength: 1
                      description: Transfer DDIC as Structure
                    RFCOLTP:
                      type: string
                      maxLength: 32
                      description: RFC Destination OLTP System
                    RFCSERVER:
                      type: string
                      maxLength: 32
                      description: RFC Destination Server System
                    SERV_R3REL:
                      type: string
                      maxLength: 4
                      description: R/3 Release in Server System
                    SERVER_REL:
                      type: string
                      maxLength: 4
                      description: SFA Release in Server System
                    SELTABLE:
                      type: string
                      maxLength: 30
                      description: Table Name of Length 30
                    RFC_QUEUE:
                      type: string
                      maxLength: 24
                      description: Name of tRFC Queue
                    BAPINAME:
                      type: string
                      maxLength: 30
                      description: Name of Recipient BAPI to Be Called
                    INFO:
                      type: string
                      maxLength: 30
                      description: Information/Comments
                    SEND_XML:
                      type: string
                      maxLength: 1
                      description: 'Should Data Be Sent in XML Format?  enumValues: X=Send XML,M=Mixed Mode (Optimized),""=No XML'
                      enum:
                      - X
                      - M
                      - ''
                    CONSUMER:
                      type: string
                      maxLength: 10
                      description: User of R/3 Adaptor Functionality
                    LOAD_TYPE:
                      type: string
                      maxLength: 1
                      description: 'Internal Adapter: Type of Load  enumValues: R=Request,H=Compare Header,C=Compare,U=Response from Back End (Data Load from CRM System),I=Initial Load,T=Compare Detail,D=Delta Load'
                      enum:
                      - R
                      - H
                      - C
                      - U
                      - I
                      - T
                      - D
                    INST_NAME:
                      type: string
                      maxLength: 15
                      description: Name of a DIMa Instance or of a Request
                    DIMA_OBJ:
                      type: string
                      maxLength: 15
                      description: Name of DIMa Object
                I_CONSUMER:
                  type: string
                  maxLength: 10
                I_CRMRFCPAR:
                  type: object
                  properties:
                    MANDT:
                      type: string
                      maxLength: 3
                      description: Client
                    CONSUMER:
                      type: string
                      maxLength: 10
                      description: User of R/3 Adaptor Functionality
                    OBJNAME:
                      type: string
                      maxLength: 15
                      description: Object/Mobile Sales Table Name
                    RFCDEST:
                      type: string
                      maxLength: 32
                      description: Logical Destination (Specified in Function Call)
                    DOWNLOAD:
                      type: string
                      maxLength: 1
                      description: 'Download Types for CRMRFCPAR  enumValues: C=Compare/Request,O=Error Information, Not Belonging to an Upload,*=All Load Types,D=Delta Download,R=Request,E=Error Information for an Upload,I=Initial Download'
                      enum:
                      - C
                      - O
                      - '*'
                      - D
                      - R
                      - E
                      - I
                    RFC_QUEUE:
                      type: string
                      maxLength: 24
                      description: Name of tRFC Queue
                    RFC_IN_QUE:
                      type: string
                      maxLength: 24
                      description: Name of tRFC Queue
                    BAPINAME:
                      type: string
                      maxLength: 30
                      description: Name of Recipient BAPI to Be Called
                    INFO:
                      type: string
                      maxLength: 30
                      description: Information/Comments
                    INACTIVE:
                      type: string
                      maxLength: 1
                      description: 'Data Record Inactive  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    DISCARDDAT:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Discard Data  enumValues: ""=No,X=Yes'
                      enum:
                      - ''
                      - X
                    USE_IN_Q:
                      type: string
                      maxLength: 1
                      description: Indicator, for Whether Inqueue Was Used
                    SEND_XML:
                      type: string
                      maxLength: 1
                      description: 'Should Data Be Sent in XML Format?  enumValues: X=Send XML,M=Mixed Mode (Optimized),""=No XML'
                      enum:
                      - X
                      - M
                      - ''
                    HOLD_DATA:
                      type: string
                      maxLength: 1
                      description: 'Indicator: Record Data in Sender System?  enumValues: X=Data Is Being Recorded,""=Data Is Not Being Recorded'
                      enum:
                      - X
                      - ''
                    CRM_REL:
                      type: string
                      maxLength: 10
                      description: SAP Release
                    LAST_UPD:
                      type: string
                      format: date
                      description: Current Date of Application Server
                    USERNAME:
                      type: string
                      maxLength: 12
                      description: Last Changed by User
                    CHANGEDATE:
                      type: string
                      format: date
                      description: Last Changed On
                    CHANGETIME:
                      type: string
                      maxLength: 6
                      description: Time of Last Change
                    REM_LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                I_EXTRACT_MODULE:
                  type: string
                  maxLength: 30
                I_FURTHER_CHECKS:
                  type: string
                  maxLength: 1
                I_OBJCLASS:
                  type: string
                  maxLength: 15
                I_OBJNAME:
                  type: string
                  maxLength: 15
                I_ONLY_ONE_ERROR:
                  type: string
                  maxLength: 1
                TO_BAPIRET2:
                  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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TO_BAPIRET2:
                    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.
