openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SO_RESUBMISSION_DELETE:
    post:
      tags:
      - SOB1
      operationId: /rfc/SO_RESUBMISSION_DELETE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                COUNTER:
                  type: integer
                  format: int64
                  description: Number of resubs. to be deleted
                FORWARDER:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Office name of the forwarder
                F_DELETE_ALL:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Delete all resubmissions to a document ?
                F_UNREAD_DELETE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: '''X'' = Object is also deleted 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'
                OWNER:
                  type: string
                  maxLength: 12
                  description: Office name of the owner
              required:
              - COUNTER
              - OBJECT_ID
              - OWNER
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  LAST_RESUBMISSION:
                    type: string
                    maxLength: 1
                    description: Last resubmission to document was deleted
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
