openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/DIMA_GET_OBJECT_NUMBER:
    post:
      tags:
      - DIMA
      operationId: /rfc/DIMA_GET_OBJECT_NUMBER
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_MAINTABLE:
                  type: string
                  maxLength: 30
                TI_FILTER:
                  type: array
                  items:
                    type: object
                    properties:
                      TABLENAME:
                        type: string
                        maxLength: 30
                        description: Table Name of Length 30
                      FIELD:
                        type: string
                        maxLength: 30
                        description: Field Name of Length 30
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Selection operator SIGN (as per range table)  enumValues: I=Including Defined Quantity/Range,E=Excluding Defined Quantity/Range'
                        enum:
                        - I
                        - E
                      OPT:
                        type: string
                        maxLength: 2
                        description: 'Selection operator OPTION (as per range table)  enumValues: LE=Less Than or Equal To (<= Low),NB=Outside Lower and Upper Value (x < Low und High < x ),BT=Between lower and upper value (Low <= x <= High),NP=Does Not Contain the Pattern,CP=Contains the pattern,GT=Greater Than (> Low),GE=Greater Than or Equal To  (>=Low),LT=Less Than (< Low),EQ=Equal To (= Low),NE=Not Equal To (<> Low)'
                        enum:
                        - LE
                        - NB
                        - BT
                        - NP
                        - CP
                        - GT
                        - GE
                        - LT
                        - EQ
                        - NE
                      LOW:
                        type: string
                        maxLength: 40
                        description: LOW Parameter (as per Range Table)
                      HIGH:
                        type: string
                        maxLength: 40
                        description: HIGH Parameter (as per Range Table)
              required:
              - I_MAINTABLE
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_RECORDS:
                    type: integer
                    format: int32
                  TI_FILTER:
                    type: array
                    items:
                      type: object
                      properties:
                        TABLENAME:
                          type: string
                          maxLength: 30
                          description: Table Name of Length 30
                        FIELD:
                          type: string
                          maxLength: 30
                          description: Field Name of Length 30
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Selection operator SIGN (as per range table)  enumValues: I=Including Defined Quantity/Range,E=Excluding Defined Quantity/Range'
                          enum:
                          - I
                          - E
                        OPT:
                          type: string
                          maxLength: 2
                          description: 'Selection operator OPTION (as per range table)  enumValues: LE=Less Than or Equal To (<= Low),NB=Outside Lower and Upper Value (x < Low und High < x ),BT=Between lower and upper value (Low <= x <= High),NP=Does Not Contain the Pattern,CP=Contains the pattern,GT=Greater Than (> Low),GE=Greater Than or Equal To  (>=Low),LT=Less Than (< Low),EQ=Equal To (= Low),NE=Not Equal To (<> Low)'
                          enum:
                          - LE
                          - NB
                          - BT
                          - NP
                          - CP
                          - GT
                          - GE
                          - LT
                          - EQ
                          - NE
                        LOW:
                          type: string
                          maxLength: 40
                          description: LOW Parameter (as per Range Table)
                        HIGH:
                          type: string
                          maxLength: 40
                          description: HIGH Parameter (as per Range Table)
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
