openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_OBJECT_SET_ACTION_DELETE:
    post:
      tags:
      - SOA2
      summary: 'SAPoffice: Change the Processing Status of an Object and Delete All'
      operationId: /rfc/SO_OBJECT_SET_ACTION_DELETE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACTION_STATUS:
                  type: string
                  default: ACCO
                  maxLength: 4
                  description: Status "completed" to be set
                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: 'FLAG: deleted object to trash?'
                USERNAME:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: User whose status is changed
              required:
              - OBJECT_ID
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
