openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_DOCUMENT_DELETE_API1:
    post:
      tags:
      - SOI1
      summary: 'SAPoffice: Delete document using RFC'
      operationId: /rfc/SO_DOCUMENT_DELETE_API1
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DOCUMENT_ID:
                  type: string
                  maxLength: 46
                  description: ID of document to be deleted
                PUT_IN_TRASH:
                  type: string
                  default: X
                  maxLength: 1
                  description: 'Flag: Move document to trash folder'
                UNREAD_DELETE:
                  type: string
                  maxLength: 1
                  description: 'Flag: Delete document unviewed'
              required:
              - DOCUMENT_ID
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
