openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RSA1_DSOURCE_F4_EXTRACT:
    post:
      tags:
      - RSA1
      operationId: /rfc/RSA1_DSOURCE_F4_EXTRACT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                I_DATASOURCE:
                  type: string
                  maxLength: 30
                I_FIELDNM:
                  type: string
                  maxLength: 30
                I_PATTERN:
                  type: string
                  maxLength: 255
                I_T_SELECT:
                  type: array
                  items:
                    type: object
                    properties:
                      FIELDNM:
                        type: string
                        maxLength: 30
                        description: Field name
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'Selection criteria: SIGN'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'Selection criteria: OPTION'
                      LOW:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: From value'
                      HIGH:
                        type: string
                        maxLength: 45
                        description: 'Selection criteria: To value'
              required:
              - I_DATASOURCE
              - I_FIELDNM
              - I_PATTERN
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_VALUE:
                    type: string
                    maxLength: 45
                  I_T_SELECT:
                    type: array
                    items:
                      type: object
                      properties:
                        FIELDNM:
                          type: string
                          maxLength: 30
                          description: Field name
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'Selection criteria: SIGN'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'Selection criteria: OPTION'
                        LOW:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: From value'
                        HIGH:
                          type: string
                          maxLength: 45
                          description: 'Selection criteria: To value'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
