openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWF_PLOG_GET_LOG_UWL:
    post:
      tags:
      - SWF_PLOG_API
      operationId: /rfc/SWF_PLOG_GET_LOG_UWL
      requestBody:
        content:
          application/json:
            schema:
              properties:
                FROM_LINE:
                  type: integer
                  format: int32
                RETURNED_LINES:
                  type: integer
                  format: int32
                SELECT_NEW:
                  type: string
                  default: X
                  maxLength: 1
                SPRAS:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                WI_ID:
                  type: integer
                  format: int64
                ET_ACTIONLOG:
                  type: array
                  items:
                    type: object
                    properties:
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      ACT_TXT:
                        type: string
                        maxLength: 40
                        description: 'Workflow: Description of an Action'
                      MSG_TXT:
                        type: string
                        maxLength: 300
                        description: Message Long Text
                      MSGTYPE:
                        type: string
                        maxLength: 1
                        description: Message Type
                      TXT_MSGTYPE:
                        type: string
                        maxLength: 20
                        description: Long Text Message Type
                      METH_USER:
                        type: string
                        maxLength: 12
                        description: Actual Agent of Work Item
                      TIMESTAMP:
                        type: integer
                        format: int64
                        description: 'Workflow: Method End Time Stamp'
                ET_EXTERNAL_PROCESSES:
                  type: array
                  items:
                    type: object
                    properties:
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      PROCESS_ID:
                        type: string
                        maxLength: 50
                        description: 'Workflow: ID of an External Process'
                      PROCESS_TYPE:
                        type: string
                        maxLength: 10
                        description: 'Workflow: Type of External Process  enumValues: AWF=Ad-hoc Workflow'
                        enum:
                        - AWF
                ET_PROTOCOL:
                  type: array
                  items:
                    type: object
                    properties:
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      WI_TEXT:
                        type: string
                        maxLength: 120
                        description: Work item text
                      WI_STAT:
                        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
                      STATUS_TEXT:
                        type: string
                        maxLength: 12
                        description: UWL short string
                      WI_PRIO:
                        type: integer
                        format: int64
                        description: 'Priority of a Work Item  enumValues: 1=1 Highest - Express,6=6 Low,3=3 Higher,9=9 Lowest,8=8 Very low,5=5 Medium,7=7 Lower,2=2 Very high,4=4 High'
                        enum:
                        - '1'
                        - '6'
                        - '3'
                        - '9'
                        - '8'
                        - '5'
                        - '7'
                        - '2'
                        - '4'
                      PRIO_TEXT:
                        type: string
                        maxLength: 12
                        description: UWL short string
                      WI_CRUSER:
                        type: string
                        maxLength: 12
                        description: User Who Created the Work Item
                      CREA_TMP:
                        type: integer
                        format: int64
                        description: 'Workflow: Creation Time Stamp'
                      DUE_TIME:
                        type: integer
                        format: int64
                        description: UTC Time Stamp for Latest End
                      EXEC_TIME:
                        type: integer
                        format: int32
                        description: 'Workflow: De Facto Execution Time in Sec (6.1/get)'
                      START_TMP:
                        type: integer
                        format: int64
                        description: 'Workflow: Start Time Time Stamp'
                      END_TMP:
                        type: integer
                        format: int64
                        description: 'Workflow: Completion Time Stamp'
                      WI_RH_TASK:
                        type: string
                        maxLength: 14
                        description: Task ID
              required:
              - WI_ID
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_ARCHIVED:
                    type: string
                    maxLength: 1
                  E_WF_HEADER:
                    type: object
                    properties:
                      WI_ID:
                        type: integer
                        format: int64
                        description: Work item ID
                      WI_TEXT:
                        type: string
                        maxLength: 120
                        description: Work item text
                      WI_STAT:
                        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
                      STATUS_TEXT:
                        type: string
                        maxLength: 12
                        description: UWL short string
                      WI_PRIO:
                        type: integer
                        format: int64
                        description: 'Priority of a Work Item  enumValues: 1=1 Highest - Express,6=6 Low,3=3 Higher,9=9 Lowest,8=8 Very low,5=5 Medium,7=7 Lower,2=2 Very high,4=4 High'
                        enum:
                        - '1'
                        - '6'
                        - '3'
                        - '9'
                        - '8'
                        - '5'
                        - '7'
                        - '2'
                        - '4'
                      PRIO_TEXT:
                        type: string
                        maxLength: 12
                        description: UWL short string
                      WI_CRUSER:
                        type: string
                        maxLength: 12
                        description: User Who Created the Work Item
                      CREA_TMP:
                        type: integer
                        format: int64
                        description: 'Workflow: Creation Time Stamp'
                      DUE_TIME:
                        type: integer
                        format: int64
                        description: 'Workflow: Creation Time Stamp'
                      EXEC_TIME:
                        type: integer
                        format: int32
                        description: 'Workflow: De Facto Execution Time in Sec (6.1/get)'
                      START_TMP:
                        type: integer
                        format: int64
                        description: 'Workflow: Creation Time Stamp'
                      END_TMP:
                        type: integer
                        format: int64
                        description: 'Workflow: Creation Time Stamp'
                      WI_RH_TASK:
                        type: string
                        maxLength: 14
                        description: Task ID
                  ET_ACTIONLOG:
                    type: array
                    items:
                      type: object
                      properties:
                        WI_ID:
                          type: integer
                          format: int64
                          description: Work item ID
                        ACT_TXT:
                          type: string
                          maxLength: 40
                          description: 'Workflow: Description of an Action'
                        MSG_TXT:
                          type: string
                          maxLength: 300
                          description: Message Long Text
                        MSGTYPE:
                          type: string
                          maxLength: 1
                          description: Message Type
                        TXT_MSGTYPE:
                          type: string
                          maxLength: 20
                          description: Long Text Message Type
                        METH_USER:
                          type: string
                          maxLength: 12
                          description: Actual Agent of Work Item
                        TIMESTAMP:
                          type: integer
                          format: int64
                          description: 'Workflow: Method End Time Stamp'
                  ET_EXTERNAL_PROCESSES:
                    type: array
                    items:
                      type: object
                      properties:
                        WI_ID:
                          type: integer
                          format: int64
                          description: Work item ID
                        PROCESS_ID:
                          type: string
                          maxLength: 50
                          description: 'Workflow: ID of an External Process'
                        PROCESS_TYPE:
                          type: string
                          maxLength: 10
                          description: 'Workflow: Type of External Process  enumValues: AWF=Ad-hoc Workflow'
                          enum:
                          - AWF
                  ET_PROTOCOL:
                    type: array
                    items:
                      type: object
                      properties:
                        WI_ID:
                          type: integer
                          format: int64
                          description: Work item ID
                        WI_TEXT:
                          type: string
                          maxLength: 120
                          description: Work item text
                        WI_STAT:
                          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
                        STATUS_TEXT:
                          type: string
                          maxLength: 12
                          description: UWL short string
                        WI_PRIO:
                          type: integer
                          format: int64
                          description: 'Priority of a Work Item  enumValues: 1=1 Highest - Express,6=6 Low,3=3 Higher,9=9 Lowest,8=8 Very low,5=5 Medium,7=7 Lower,2=2 Very high,4=4 High'
                          enum:
                          - '1'
                          - '6'
                          - '3'
                          - '9'
                          - '8'
                          - '5'
                          - '7'
                          - '2'
                          - '4'
                        PRIO_TEXT:
                          type: string
                          maxLength: 12
                          description: UWL short string
                        WI_CRUSER:
                          type: string
                          maxLength: 12
                          description: User Who Created the Work Item
                        CREA_TMP:
                          type: integer
                          format: int64
                          description: 'Workflow: Creation Time Stamp'
                        DUE_TIME:
                          type: integer
                          format: int64
                          description: UTC Time Stamp for Latest End
                        EXEC_TIME:
                          type: integer
                          format: int32
                          description: 'Workflow: De Facto Execution Time in Sec (6.1/get)'
                        START_TMP:
                          type: integer
                          format: int64
                          description: 'Workflow: Start Time Time Stamp'
                        END_TMP:
                          type: integer
                          format: int64
                          description: 'Workflow: Completion Time Stamp'
                        WI_RH_TASK:
                          type: string
                          maxLength: 14
                          description: Task ID
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
