openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_OBJECT_DELETE_ALL:
    post:
      tags:
      - SOA1
      operationId: /rfc/SO_OBJECT_DELETE_ALL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                F_UNREAD_DELETE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Also delete object unviewed
                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'
                PUT_IN_WASTEBASKET:
                  type: string
                  default: X
                  maxLength: 1
                  description: ID of the object to be deleted
                USERNAME:
                  type: string
                  maxLength: 12
                  description: Office name of the owner
              required:
              - OBJECT_ID
              - USERNAME
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
