openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/BDS_BUSINESSDOCUMENT_GET_O_URL:
    post:
      tags:
      - BDS_BAPI
      operationId: /rfc/BDS_BUSINESSDOCUMENT_GET_O_URL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                CLASSNAME:
                  type: string
                  maxLength: 30
                CLASSTYPE:
                  type: string
                  maxLength: 2
                CLIENT:
                  type: string
                  default: SY-MANDT
                  maxLength: 3
                DOC_ID:
                  type: string
                  maxLength: 42
                DOC_VAR_ID:
                  type: integer
                  format: int64
                DOC_VER_NO:
                  type: integer
                  format: int64
                LOGICAL_SYSTEM:
                  type: string
                  maxLength: 10
                OBJECT_KEY:
                  type: string
                  maxLength: 70
                URL:
                  type: string
                  maxLength: 4096
                URL_LIFETIME:
                  type: string
                  maxLength: 60
                  description: 'BDS: URL lifetime'
              required:
              - CLASSNAME
              - CLASSTYPE
              - DOC_ID
              - DOC_VAR_ID
              - DOC_VER_NO
              - URL
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
