openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/EDI_DOCUMENT_TEST_EXIST:
    post:
      tags:
      - EDI1
      summary: 'IDoc interface: Test whether IDoc with certain number exists'
      operationId: /rfc/EDI_DOCUMENT_TEST_EXIST
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUMENT_NUMBER:
                  type: integer
                  format: int64
                  description: IDoc number to be checked
              required:
              - DOCUMENT_NUMBER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RETURN_CODE:
                    type: integer
                    format: int32
                    description: =0 , if this IDoc exists
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
