openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_BACK:
    post:
      tags:
      - SWWA
      summary: Agent Returns Work Item
      operationId: /rfc/SWW_WI_BACK
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DO_COMMIT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Indicator for Control of Commit Logic
                IM_FUNCNAME:
                  type: string
                  maxLength: 30
                  description: Function that Is Logged
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: SAP System, Current Language
                IM_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                  description: ABAP System, User Logon Name
                PRECONDITIONS_CHECKED:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator for Control of Status Checks and Type Checks
                WI_ID:
                  type: integer
                  format: int64
                  description: Work Item To Be Returned
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  NEW_STATUS:
                    type: string
                    maxLength: 12
                    description: New Status of Work Item
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
