openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/GET_IDOCNR_FROM_OBJECT:
    post:
      tags:
      - BDTT
      operationId: /rfc/GET_IDOCNR_FROM_OBJECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EMPFSYS:
                  type: string
                  maxLength: 10
                  description: Receiving System
                IND:
                  type: integer
                  format: int32
                OBJECT:
                  type: object
                  properties:
                    LOGSYS:
                      type: string
                      maxLength: 10
                      description: Logical system
                    OBJTYPE:
                      type: string
                      maxLength: 10
                      description: Object Type
                    OBJKEY:
                      type: string
                      maxLength: 70
                      description: Object key
                    DESCRIBE:
                      type: string
                      maxLength: 10
                      description: Describe flag
              required:
              - EMPFSYS
              - IND
              - OBJECT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  IDOCNR:
                    type: string
                    maxLength: 70
                    description: IDoc number
                  LENGTH:
                    type: integer
                    format: int32
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
