openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_STATUS_TEXT_GET:
    post:
      tags:
      - SWWF
      operationId: /rfc/SWW_WI_STATUS_TEXT_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                LANGUAGE:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language of status text
                STATUS:
                  type: string
                  default: ' '
                  maxLength: 12
                  description: Status ID
                STATUSTEXT:
                  type: array
                  items:
                    type: object
                    properties:
                      WI_STATUS:
                        type: string
                        maxLength: 12
                        description: 'Processing Status of a Work Item  enumValues: STARTED=In Process,CANCELLED=Logically Deleted,READY=Ready,EXCPHANDLR=Exception Being Handled,COMMITTED=Executed (Only If Expl. End Confirmation Is Expected),WAITING=Waiting (Also: Work Items in Resubmission),COMPLETED=Completed,ERROR=Error,EXCPCAUGHT=Exception Caught,CHECKED=In Preparation,SELECTED=Reserved'
                        enum:
                        - STARTED
                        - CANCELLED
                        - READY
                        - EXCPHANDLR
                        - COMMITTED
                        - WAITING
                        - COMPLETED
                        - ERROR
                        - EXCPCAUGHT
                        - CHECKED
                        - SELECTED
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      STATUSTEXT:
                        type: string
                        maxLength: 20
                        description: 'Workflow: Work Item Status'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  STATUS_PROP:
                    type: array
                    items:
                      type: object
                      properties:
                        WI_STATUS:
                          type: string
                          maxLength: 12
                          description: Processing Status of a Work Item
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        STATUSTEXT:
                          type: string
                          maxLength: 20
                          description: 'Workflow: Work Item Status'
                        ICON:
                          type: string
                          maxLength: 30
                          description: Name of an Icon
                        FINAL:
                          type: string
                          maxLength: 1
                          description: Checkbox
                  STATUS_SINGLE_PROP:
                    type: object
                    properties:
                      WI_STATUS:
                        type: string
                        maxLength: 12
                        description: 'Processing Status of a Work Item  enumValues: STARTED=In Process,CANCELLED=Logically Deleted,READY=Ready,EXCPHANDLR=Exception Being Handled,COMMITTED=Executed (Only If Expl. End Confirmation Is Expected),WAITING=Waiting (Also: Work Items in Resubmission),COMPLETED=Completed,ERROR=Error,EXCPCAUGHT=Exception Caught,CHECKED=In Preparation,SELECTED=Reserved'
                        enum:
                        - STARTED
                        - CANCELLED
                        - READY
                        - EXCPHANDLR
                        - COMMITTED
                        - WAITING
                        - COMPLETED
                        - ERROR
                        - EXCPCAUGHT
                        - CHECKED
                        - SELECTED
                      LANGUAGE:
                        type: string
                        maxLength: 1
                        description: Language Key
                      STATUSTEXT:
                        type: string
                        maxLength: 20
                        description: 'Workflow: Work Item Status'
                      ICON:
                        type: string
                        maxLength: 30
                        description: Name of an Icon
                      FINAL:
                        type: string
                        maxLength: 1
                        description: 'Checkbox  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                  STATUSTEXT:
                    type: array
                    items:
                      type: object
                      properties:
                        WI_STATUS:
                          type: string
                          maxLength: 12
                          description: 'Processing Status of a Work Item  enumValues: STARTED=In Process,CANCELLED=Logically Deleted,READY=Ready,EXCPHANDLR=Exception Being Handled,COMMITTED=Executed (Only If Expl. End Confirmation Is Expected),WAITING=Waiting (Also: Work Items in Resubmission),COMPLETED=Completed,ERROR=Error,EXCPCAUGHT=Exception Caught,CHECKED=In Preparation,SELECTED=Reserved'
                          enum:
                          - STARTED
                          - CANCELLED
                          - READY
                          - EXCPHANDLR
                          - COMMITTED
                          - WAITING
                          - COMPLETED
                          - ERROR
                          - EXCPCAUGHT
                          - CHECKED
                          - SELECTED
                        LANGUAGE:
                          type: string
                          maxLength: 1
                          description: Language Key
                        STATUSTEXT:
                          type: string
                          maxLength: 20
                          description: 'Workflow: Work Item Status'
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
