openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_DOCUMENT_LINK_API1:
    post:
      tags:
      - SOI1
      summary: 'SAPoffice: Create additional link to document in a folder'
      operationId: /rfc/SO_DOCUMENT_LINK_API1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                NEW_FOLDER_ID:
                  type: string
                  maxLength: 17
                  description: ID of folder in which link is created
                OLD_DOCUMENT_ID:
                  type: string
                  maxLength: 46
                  description: ID of folder entry to be linked
              required:
              - NEW_FOLDER_ID
              - OLD_DOCUMENT_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_DOCUMENT_ID:
                    type: string
                    maxLength: 46
                    description: ID of new folder entry
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
