openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_IDOCNR_FROM_IDOCNR:
    post:
      tags:
      - BDTT
      summary: Determining the inbound IDoc number from the source IDoc number
      operationId: /rfc/GET_IDOCNR_FROM_IDOCNR
      requestBody:
        content:
          application/json:
            schema:
              properties:
                MASIDOCNR:
                  type: string
                  maxLength: 70
                  description: Number of the IDoc in receiving system
              required:
              - MASIDOCNR
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  KOMIDOCNR:
                    type: string
                    maxLength: 70
                    description: Number of the IDoc in receiving system
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
