openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_OBJECT_DELETE:
    post:
      tags:
      - SOA1
      operationId: /rfc/SO_OBJECT_DELETE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FOLDER_ID:
                  type: object
                  properties:
                    OBJTP:
                      type: string
                      maxLength: 3
                      description: Code for document class
                    OBJYR:
                      type: string
                      maxLength: 2
                      description: 'Object: Year from ID'
                    OBJNO:
                      type: string
                      maxLength: 12
                      description: 'Object: Number from ID'
                FORWARDER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Object forwarder
                F_UNREAD_DELETE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: If ON, an unread obj. will also be deleted
                OBJECT_ID:
                  type: object
                  properties:
                    OBJTP:
                      type: string
                      maxLength: 3
                      description: Code for document class
                    OBJYR:
                      type: string
                      maxLength: 2
                      description: 'Object: Year from ID'
                    OBJNO:
                      type: string
                      maxLength: 12
                      description: 'Object: Number from ID'
                OWNER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Owner of object
                PUT_IN_WASTEBASKET:
                  type: string
                  default: X
                  maxLength: 1
                  description: '''X'' =The document is placed in the trash'
              required:
              - FOLDER_ID
              - OBJECT_ID
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
