openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWW_WI_TASK_READ:
    post:
      tags:
      - SWWF
      operationId: /rfc/SWW_WI_TASK_READ
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                  description: Language for language-dependent texts
                ACT_OBJECT_EXT:
                  type: string
                  maxLength: 14
                  description: ID of task
                INVALIDATE_CACHE:
                  type: string
                  default: ' '
                  maxLength: 1
                  description: Flag - invalidate cache before reading
                ACT_CONT_DEF:
                  type: array
                  items:
                    type: object
                    properties:
                      ELEMENT:
                        type: string
                        maxLength: 32
                        description: Element
                      VERBTYPE:
                        type: string
                        maxLength: 1
                        description: 'Verb type (key, attr., method)  enumValues: ""=No verb,A=Attribute,K=Key field,E=Event,M=Method'
                        enum:
                        - ''
                        - A
                        - K
                        - E
                        - M
                      EDITORDER:
                        type: integer
                        format: int64
                        description: Editing sequence
                      ISINTERF:
                        type: string
                        maxLength: 1
                        description: 'Interface object type  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CREA_REL:
                        type: string
                        maxLength: 4
                        description: Release at Creation
                      OBJTYPE:
                        type: string
                        maxLength: 10
                        description: Object Type
                      OBJTYPECLS:
                        type: string
                        maxLength: 2
                        description: 'Object Type Class  enumValues: 01=Object type,99=Internal use,""=Workflow object type 2.1,06=Object type area,03=Interface'
                        enum:
                        - '01'
                        - '99'
                        - ''
                        - '06'
                        - '03'
                      REFTYPE:
                        type: string
                        maxLength: 1
                        description: 'Dictionary  enumValues: R=Organizational object type,D=Data Dictionary table field or table,""=No data type reference,M=Microsoft OLE data type,O=Object type'
                        enum:
                        - R
                        - D
                        - ''
                        - M
                        - O
                      REFSTRUCT:
                        type: string
                        maxLength: 30
                        description: Reference table
                      REFFIELD:
                        type: string
                        maxLength: 30
                        description: Reference field
                      REFOBJTYPE:
                        type: string
                        maxLength: 10
                        description: Reference obj. type
                      EDITELEM:
                        type: string
                        maxLength: 32
                        description: Element name in upper/lower case
                      OLEINDEX:
                        type: integer
                        format: int64
                        description: OLE verb index
                      WINHLPIND:
                        type: integer
                        format: int64
                        description: WinHelp index
                      DESCRIPT:
                        type: string
                        maxLength: 20
                        description: Name
                      SHORTTEXT:
                        type: string
                        maxLength: 80
                        description: Description
                      OLETYPE:
                        type: integer
                        format: int64
                        description: OLE data type
                      OLETYPE_P:
                        type: string
                        maxLength: 1
                        description: 'OLE pointer  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ELEMTYPE:
                        type: string
                        maxLength: 1
                        description: 'Element type  enumValues: I=Import,A=Export and import,E=Export'
                        enum:
                        - I
                        - A
                        - E
                      OBLIGIMP:
                        type: string
                        maxLength: 1
                        description: 'Required  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      OBLIG:
                        type: string
                        maxLength: 1
                        description: 'Mandatory element  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      TABELEM:
                        type: string
                        maxLength: 1
                        description: 'Multiline element  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      MCODE:
                        type: string
                        maxLength: 30
                        description: Search Help (Formerly Matchcode)
                      HLPPARAM:
                        type: string
                        maxLength: 30
                        description: Name of a search help parameter
                      ATTRTYPE:
                        type: string
                        maxLength: 1
                        description: 'Attribute type  enumValues: S=Object Status,D=Database Field from Data Dictionary,V=Virtual Attribute'
                        enum:
                        - S
                        - D
                        - V
                      ISTAT:
                        type: string
                        maxLength: 5
                        description: Object status
                      ABAPTYPE:
                        type: string
                        maxLength: 1
                        description: 'ABAP function type  enumValues: D=Dialog module,T=Transaction,R=ABAP report,F=Function module,""=No special ABAP/4 function'
                        enum:
                        - D
                        - T
                        - R
                        - F
                        - ''
                      ISAPI:
                        type: string
                        maxLength: 1
                        description: 'Method is R/3 interface function  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      ABAPNAME:
                        type: string
                        maxLength: 30
                        description: Name of ABAP Function
                      FUNCPNAME:
                        type: string
                        maxLength: 30
                        description: Name of corresponding function module parameter
                      DIALOG:
                        type: string
                        maxLength: 1
                        description: 'Method with dialog  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      SYNCHRON:
                        type: string
                        maxLength: 1
                        description: 'Synchronous method  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      RESULT:
                        type: string
                        maxLength: 1
                        description: 'Method with result parameter  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      NOEDIT:
                        type: string
                        maxLength: 1
                        description: 'No editing due to inheritance or needs to be overridden  enumValues: ""=No,X=Yes, with implementation,A=No, without implementation'
                        enum:
                        - ''
                        - X
                        - A
                      SORTORDER:
                        type: integer
                        format: int64
                        description: Sort sequence
                      FILTER:
                        type: string
                        maxLength: 1
                        description: 'Filter is set  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      COUNTPARAM:
                        type: integer
                        format: int64
                        description: Number of parameters in method
                      OLEARRAY:
                        type: string
                        maxLength: 1
                        description: 'Number of columns  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      GUISELECT:
                        type: string
                        maxLength: 1
                        description: 'Relevant for user interface  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      CLASSVERB:
                        type: string
                        maxLength: 1
                        description: 'Instance-independent  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
                      INVATTRIB:
                        type: string
                        maxLength: 32
                        description: Inverse attribute
                      MODELONLY:
                        type: string
                        maxLength: 1
                        description: 'Release status verb  enumValues: X=Object type is only modeled,""=Object type is implemented,R=Object type is released'
                        enum:
                        - X
                        - ''
                        - R
                      FROZEN:
                        type: string
                        maxLength: 1
                        description: 'Flag: DDIC structure frozen  enumValues: ""=Not Selected,X=Selected'
                        enum:
                        - ''
                        - X
                      OBSOLETE:
                        type: string
                        maxLength: 4
                        description: Release in which object type was set as obsolete
                      EVNOINST:
                        type: string
                        maxLength: 1
                        description: 'Triggering instance for event not available  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                        enum:
                        - X
                        - ''
                      INTAPI:
                        type: string
                        maxLength: 1
                        description: 'Flag: Internal API method  enumValues: ""=No,X=Yes'
                        enum:
                        - ''
                        - X
              required:
              - ACT_OBJECT_EXT
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_METHOD_SYNCHRON:
                    type: string
                    maxLength: 1
                    description: Flag - execute method synchronously
                  ACT_SHORT:
                    type: string
                    maxLength: 12
                    description: Short text of task
                  ACT_STEXT:
                    type: string
                    maxLength: 40
                    description: Long text of task
                  ACT_SWO_METHOD:
                    type: string
                    maxLength: 32
                    description: Method of task
                  ACT_SWO_OBJECT_TYPE:
                    type: string
                    maxLength: 10
                    description: Type of main object of task
                  ACT_TASK_CLASS:
                    type: string
                    maxLength: 12
                    description: Task class for authorization check
                  ACT_TASK_GENERAL:
                    type: string
                    maxLength: 1
                    description: ???
                  ACT_TASK_LOCKED_EXECUTION:
                    type: string
                    maxLength: 1
                    description: Flag -  task locked against execution
                  ACT_TASK_LOCKED_INSTANCE:
                    type: string
                    maxLength: 1
                    description: Flag - task locked against instanciation
                  ACT_TYPE_BACKGROUND_TASK:
                    type: string
                    maxLength: 1
                    description: Flag - method runs without dialog
                  ACT_TYPE_CONFIRM_TASK_END:
                    type: string
                    maxLength: 1
                    description: Flag - task end to be confirmed explicitly
                  ACT_WITEXT:
                    type: string
                    maxLength: 120
                    description: Text with parameters for work item
                  ACT_CONT_DEF:
                    type: array
                    items:
                      type: object
                      properties:
                        ELEMENT:
                          type: string
                          maxLength: 32
                          description: Element
                        VERBTYPE:
                          type: string
                          maxLength: 1
                          description: 'Verb type (key, attr., method)  enumValues: ""=No verb,A=Attribute,K=Key field,E=Event,M=Method'
                          enum:
                          - ''
                          - A
                          - K
                          - E
                          - M
                        EDITORDER:
                          type: integer
                          format: int64
                          description: Editing sequence
                        ISINTERF:
                          type: string
                          maxLength: 1
                          description: 'Interface object type  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CREA_REL:
                          type: string
                          maxLength: 4
                          description: Release at Creation
                        OBJTYPE:
                          type: string
                          maxLength: 10
                          description: Object Type
                        OBJTYPECLS:
                          type: string
                          maxLength: 2
                          description: 'Object Type Class  enumValues: 01=Object type,99=Internal use,""=Workflow object type 2.1,06=Object type area,03=Interface'
                          enum:
                          - '01'
                          - '99'
                          - ''
                          - '06'
                          - '03'
                        REFTYPE:
                          type: string
                          maxLength: 1
                          description: 'Dictionary  enumValues: R=Organizational object type,D=Data Dictionary table field or table,""=No data type reference,M=Microsoft OLE data type,O=Object type'
                          enum:
                          - R
                          - D
                          - ''
                          - M
                          - O
                        REFSTRUCT:
                          type: string
                          maxLength: 30
                          description: Reference table
                        REFFIELD:
                          type: string
                          maxLength: 30
                          description: Reference field
                        REFOBJTYPE:
                          type: string
                          maxLength: 10
                          description: Reference obj. type
                        EDITELEM:
                          type: string
                          maxLength: 32
                          description: Element name in upper/lower case
                        OLEINDEX:
                          type: integer
                          format: int64
                          description: OLE verb index
                        WINHLPIND:
                          type: integer
                          format: int64
                          description: WinHelp index
                        DESCRIPT:
                          type: string
                          maxLength: 20
                          description: Name
                        SHORTTEXT:
                          type: string
                          maxLength: 80
                          description: Description
                        OLETYPE:
                          type: integer
                          format: int64
                          description: OLE data type
                        OLETYPE_P:
                          type: string
                          maxLength: 1
                          description: 'OLE pointer  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ELEMTYPE:
                          type: string
                          maxLength: 1
                          description: 'Element type  enumValues: I=Import,A=Export and import,E=Export'
                          enum:
                          - I
                          - A
                          - E
                        OBLIGIMP:
                          type: string
                          maxLength: 1
                          description: 'Required  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        OBLIG:
                          type: string
                          maxLength: 1
                          description: 'Mandatory element  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        TABELEM:
                          type: string
                          maxLength: 1
                          description: 'Multiline element  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        MCODE:
                          type: string
                          maxLength: 30
                          description: Search Help (Formerly Matchcode)
                        HLPPARAM:
                          type: string
                          maxLength: 30
                          description: Name of a search help parameter
                        ATTRTYPE:
                          type: string
                          maxLength: 1
                          description: 'Attribute type  enumValues: S=Object Status,D=Database Field from Data Dictionary,V=Virtual Attribute'
                          enum:
                          - S
                          - D
                          - V
                        ISTAT:
                          type: string
                          maxLength: 5
                          description: Object status
                        ABAPTYPE:
                          type: string
                          maxLength: 1
                          description: 'ABAP function type  enumValues: D=Dialog module,T=Transaction,R=ABAP report,F=Function module,""=No special ABAP/4 function'
                          enum:
                          - D
                          - T
                          - R
                          - F
                          - ''
                        ISAPI:
                          type: string
                          maxLength: 1
                          description: 'Method is R/3 interface function  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        ABAPNAME:
                          type: string
                          maxLength: 30
                          description: Name of ABAP Function
                        FUNCPNAME:
                          type: string
                          maxLength: 30
                          description: Name of corresponding function module parameter
                        DIALOG:
                          type: string
                          maxLength: 1
                          description: 'Method with dialog  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        SYNCHRON:
                          type: string
                          maxLength: 1
                          description: 'Synchronous method  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        RESULT:
                          type: string
                          maxLength: 1
                          description: 'Method with result parameter  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        NOEDIT:
                          type: string
                          maxLength: 1
                          description: 'No editing due to inheritance or needs to be overridden  enumValues: ""=No,X=Yes, with implementation,A=No, without implementation'
                          enum:
                          - ''
                          - X
                          - A
                        SORTORDER:
                          type: integer
                          format: int64
                          description: Sort sequence
                        FILTER:
                          type: string
                          maxLength: 1
                          description: 'Filter is set  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        COUNTPARAM:
                          type: integer
                          format: int64
                          description: Number of parameters in method
                        OLEARRAY:
                          type: string
                          maxLength: 1
                          description: 'Number of columns  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        GUISELECT:
                          type: string
                          maxLength: 1
                          description: 'Relevant for user interface  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        CLASSVERB:
                          type: string
                          maxLength: 1
                          description: 'Instance-independent  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
                        INVATTRIB:
                          type: string
                          maxLength: 32
                          description: Inverse attribute
                        MODELONLY:
                          type: string
                          maxLength: 1
                          description: 'Release status verb  enumValues: X=Object type is only modeled,""=Object type is implemented,R=Object type is released'
                          enum:
                          - X
                          - ''
                          - R
                        FROZEN:
                          type: string
                          maxLength: 1
                          description: 'Flag: DDIC structure frozen  enumValues: ""=Not Selected,X=Selected'
                          enum:
                          - ''
                          - X
                        OBSOLETE:
                          type: string
                          maxLength: 4
                          description: Release in which object type was set as obsolete
                        EVNOINST:
                          type: string
                          maxLength: 1
                          description: 'Triggering instance for event not available  enumValues: X=Flag set. Event has occurred.,""=Flag is Not Set'
                          enum:
                          - X
                          - ''
                        INTAPI:
                          type: string
                          maxLength: 1
                          description: 'Flag: Internal API method  enumValues: ""=No,X=Yes'
                          enum:
                          - ''
                          - X
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
