openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_SELECT:
    post:
      tags:
      - SWWA
      summary: Agent Selects Work Item
      operationId: /rfc/SWW_WI_SELECT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                DO_COMMIT:
                  type: string
                  default: X
                  maxLength: 1
                  description: Indicator for Control of Commit Logic
                PRECONDITIONS_CHECKED:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Indicator for Control of Status Checks and Type Checks
                USER:
                  type: string
                  maxLength: 12
                  description: Agent Wanting To Select the Work Item
                WI_ID:
                  type: integer
                  format: int64
                  description: Work Item To Be Selected
              required:
              - USER
              - 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.
