openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_LANGUAGE_CHANGE:
    post:
      tags:
      - SWWA
      summary: Change Language of Work Item (Types W, F, and B)
      operationId: /rfc/SWW_WI_LANGUAGE_CHANGE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                AUTHORIZATION_CHECKED:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator for Control of Authorization Check
                DO_COMMIT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Indicator for Control of Commit Logic
                LANGUAGE:
                  type: string
                  maxLength: 1
                  description: Language of Work Item
                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 ID
              required:
              - LANGUAGE
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  TASK_TEXT:
                    type: string
                    maxLength: 40
                    description: Task Text
                  WORKITEM_TEXT:
                    type: string
                    maxLength: 120
                    description: Display Text of Work Item
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
