openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/MEREP_DYNAMIC_FILTER_CREATE:
    post:
      tags:
      - MEREP_RUNTIME
      summary: Create Dynamic Filter
      operationId: /rfc/MEREP_DYNAMIC_FILTER_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MBL_ID:
                  type: string
                  maxLength: 10
                  description: Mobile ID
                SYNCBO:
                  type: string
                  maxLength: 10
                  description: SyncBO ID
                I_MBL_ID_SEL:
                  type: array
                  items:
                    type: object
                    properties:
                      MANDT:
                        type: string
                        maxLength: 3
                        description: Client
                      SCENARIO:
                        type: string
                        maxLength: 10
                        description: SyncBO ID
                      MBL_ID:
                        type: string
                        maxLength: 10
                        description: Mobile ID
                      STRUCT_ID:
                        type: string
                        maxLength: 3
                        description: Structure ID
                      SEQNO:
                        type: integer
                        format: int32
                        description: Sequence Number
                      FIELDNAME:
                        type: string
                        maxLength: 30
                        description: Field Name (In a Structure ID)
                      SIGN_GLOBAL:
                        type: string
                        maxLength: 1
                        description: 'Sign (Inclusive/Exclusive) for Selection Criteria  enumValues: I=Inclusive,E=Exclusive'
                        enum:
                        - I
                        - E
                      ANDFLAG:
                        type: string
                        maxLength: 1
                        description: 'And Flag  enumValues: ""=Not active / No,X=Active / Yes'
                        enum:
                        - ''
                        - X
                      SIGN_LOCAL:
                        type: string
                        maxLength: 1
                        description: 'Sign (Inclusive/Exclusive) for Selection Criteria  enumValues: I=Inclusive,E=Exclusive'
                        enum:
                        - I
                        - E
                      OPT:
                        type: string
                        maxLength: 2
                        description: 'Option for Selection Criteria  enumValues: LT=Less than,GE=Greater than or Equal to,GT=Greater than,NP=Not Contains pattern,NE=Not Equal to,NB=Not Between ... and ...,BT=BeTween ... and ...,CP=Contains pattern,EQ=EQual to,LE=Less than or Equal to'
                        enum:
                        - LT
                        - GE
                        - GT
                        - NP
                        - NE
                        - NB
                        - BT
                        - CP
                        - EQ
                        - LE
                      LOW:
                        type: string
                        maxLength: 30
                        description: Low Value (Selection Criteria)
                      HIGH:
                        type: string
                        maxLength: 30
                        description: High Value (Selection Criteria)
                      PARBEG:
                        type: integer
                        format: int64
                        description: 'Number of Parenthesises: Begin'
                      PAREND:
                        type: integer
                        format: int64
                        description: 'Number of Parenthesises: End'
                      MARK_LOW:
                        type: string
                        maxLength: 1
                        description: Character Field Length 1
                      MARK_HIGH:
                        type: string
                        maxLength: 1
                        description: Character Field Length 1
              required:
              - MBL_ID
              - SYNCBO
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN:
                    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
                  I_MBL_ID_SEL:
                    type: array
                    items:
                      type: object
                      properties:
                        MANDT:
                          type: string
                          maxLength: 3
                          description: Client
                        SCENARIO:
                          type: string
                          maxLength: 10
                          description: SyncBO ID
                        MBL_ID:
                          type: string
                          maxLength: 10
                          description: Mobile ID
                        STRUCT_ID:
                          type: string
                          maxLength: 3
                          description: Structure ID
                        SEQNO:
                          type: integer
                          format: int32
                          description: Sequence Number
                        FIELDNAME:
                          type: string
                          maxLength: 30
                          description: Field Name (In a Structure ID)
                        SIGN_GLOBAL:
                          type: string
                          maxLength: 1
                          description: 'Sign (Inclusive/Exclusive) for Selection Criteria  enumValues: I=Inclusive,E=Exclusive'
                          enum:
                          - I
                          - E
                        ANDFLAG:
                          type: string
                          maxLength: 1
                          description: 'And Flag  enumValues: ""=Not active / No,X=Active / Yes'
                          enum:
                          - ''
                          - X
                        SIGN_LOCAL:
                          type: string
                          maxLength: 1
                          description: 'Sign (Inclusive/Exclusive) for Selection Criteria  enumValues: I=Inclusive,E=Exclusive'
                          enum:
                          - I
                          - E
                        OPT:
                          type: string
                          maxLength: 2
                          description: 'Option for Selection Criteria  enumValues: LT=Less than,GE=Greater than or Equal to,GT=Greater than,NP=Not Contains pattern,NE=Not Equal to,NB=Not Between ... and ...,BT=BeTween ... and ...,CP=Contains pattern,EQ=EQual to,LE=Less than or Equal to'
                          enum:
                          - LT
                          - GE
                          - GT
                          - NP
                          - NE
                          - NB
                          - BT
                          - CP
                          - EQ
                          - LE
                        LOW:
                          type: string
                          maxLength: 30
                          description: Low Value (Selection Criteria)
                        HIGH:
                          type: string
                          maxLength: 30
                          description: High Value (Selection Criteria)
                        PARBEG:
                          type: integer
                          format: int64
                          description: 'Number of Parenthesises: Begin'
                        PAREND:
                          type: integer
                          format: int64
                          description: 'Number of Parenthesises: End'
                        MARK_LOW:
                          type: string
                          maxLength: 1
                          description: Character Field Length 1
                        MARK_HIGH:
                          type: string
                          maxLength: 1
                          description: Character Field Length 1
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
