openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_RESUBMIT:
    post:
      tags:
      - SWWA
      operationId: /rfc/SWW_WI_RESUBMIT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DO_COMMIT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Indicator for Control of Commit Logic
                RESUBMISSION_DATE:
                  type: string
                  format: date
                  description: Resubmission Date
                RESUBMISSION_TIME:
                  type: string
                  maxLength: 6
                  description: Resubmission Time
                RESUBMISSION_ZONLO:
                  type: string
                  default: SY-ZONLO
                  maxLength: 6
                  description: Date and time, time zone of user
                WI_ID:
                  type: integer
                  format: int64
                  description: Work Item ID
              required:
              - RESUBMISSION_DATE
              - RESUBMISSION_TIME
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_STATUS:
                    type: string
                    maxLength: 12
                    description: New Status of WI After Change
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
