openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_PRIORITY_CHANGE:
    post:
      tags:
      - SWWA
      summary: Change Priority of Work Item (Types W, F, and B)
      operationId: /rfc/SWW_WI_PRIORITY_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
                FUNCNAME:
                  type: string
                  default: ' '
                  maxLength: 30
                  description: Function Name for Success Log
                PRECONDITIONS_CHECKED:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator for Control of Status Checks and Type Checks
                PRIORITY:
                  type: integer
                  format: int64
                  description: New Priority of Work Item
                PROPAGATE_TO_FLOW:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator for Passing-On Changed Priority
                WI_ID:
                  type: integer
                  format: int64
                  description: Work Item ID
              required:
              - PRIORITY
              - WI_ID
      responses:
        '200':
          description: OK
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
