openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWI_SELECT_TASKS:
    post:
      tags:
      - SWI_TASK_ANALYSIS
      operationId: /rfc/SWI_SELECT_TASKS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ALL_TASK_TG:
                  type: string
                  maxLength: 1
                ALL_TASK_TS:
                  type: string
                  maxLength: 1
                ALL_TASK_WS:
                  type: string
                  maxLength: 1
                EVENT_COMPLETION:
                  type: string
                  maxLength: 1
                EVENT_START:
                  type: string
                  maxLength: 1
                RANGES_APPLICATION:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      HIGH:
                        type: string
                        maxLength: 24
                        description: Application component ID
                RANGES_DEVCLASS:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 30
                        description: Package
                      HIGH:
                        type: string
                        maxLength: 30
                        description: Package
                RANGES_EVENT:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      HIGH:
                        type: string
                        maxLength: 32
                        description: Object type component
                      LOW:
                        type: string
                        maxLength: 32
                        description: Object type component
                RANGES_EVENT_OBJECTTYPE:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      HIGH:
                        type: string
                        maxLength: 10
                        description: Object Type
                      LOW:
                        type: string
                        maxLength: 10
                        description: Object Type
                RANGES_METHOD:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      HIGH:
                        type: string
                        maxLength: 32
                        description: Object type component
                      LOW:
                        type: string
                        maxLength: 32
                        description: Object type component
                RANGES_METHOD_OBJECTTYPE:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      HIGH:
                        type: string
                        maxLength: 10
                        description: Object Type
                      LOW:
                        type: string
                        maxLength: 10
                        description: Object Type
                RANGES_TASK_TG:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 12
                        description: Task ID in Workflow
                      HIGH:
                        type: string
                        maxLength: 12
                        description: Task ID in Workflow
                RANGES_TASK_TS:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 12
                        description: Task ID in Workflow
                      HIGH:
                        type: string
                        maxLength: 12
                        description: Task ID in Workflow
                RANGES_TASK_WS:
                  type: array
                  items:
                    type: object
                    properties:
                      SIGN:
                        type: string
                        maxLength: 1
                        description: 'ABAP: ID: I/E (include/exclude values)'
                      OPTION:
                        type: string
                        maxLength: 2
                        description: 'ABAP: Selection option (EQ/BT/CP/...)'
                      LOW:
                        type: string
                        maxLength: 12
                        description: Task ID in Workflow
                      HIGH:
                        type: string
                        maxLength: 12
                        description: Task ID in Workflow
                SELECTED_TASKS:
                  type: array
                  items:
                    type: object
                    properties:
                      TASKTYP:
                        type: string
                        maxLength: 2
                        description: Standard Object Type
                      TASK:
                        type: integer
                        format: int64
                        description: Object ID of Standard Object
                TASKS_WITH_ATTRIB:
                  type: array
                  items:
                    type: object
                    properties:
                      TASKTYP:
                        type: string
                        maxLength: 2
                        description: Task Type
                      TASK:
                        type: string
                        maxLength: 12
                        description: Task ID in Workflow
                      OBJTYP:
                        type: string
                        maxLength: 10
                        description: Object Type in Business Object Repository (BOR)
                      OMETH:
                        type: string
                        maxLength: 32
                        description: Object Method
                      DEVCLASS:
                        type: string
                        maxLength: 30
                        description: Task Package
                      APPCOMP:
                        type: string
                        maxLength: 24
                        description: Application component ID
                      SHORT:
                        type: string
                        maxLength: 12
                        description: Object Abbreviation
                      STEXT:
                        type: string
                        maxLength: 40
                        description: Object Name
                      SYNCHRON:
                        type: string
                        maxLength: 1
                        description: Synchronous Object Method
                      BACKGROUND:
                        type: string
                        maxLength: 1
                        description: Background Processing
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  RANGES_APPLICATION:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        HIGH:
                          type: string
                          maxLength: 24
                          description: Application component ID
                  RANGES_DEVCLASS:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 30
                          description: Package
                        HIGH:
                          type: string
                          maxLength: 30
                          description: Package
                  RANGES_EVENT:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        HIGH:
                          type: string
                          maxLength: 32
                          description: Object type component
                        LOW:
                          type: string
                          maxLength: 32
                          description: Object type component
                  RANGES_EVENT_OBJECTTYPE:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        HIGH:
                          type: string
                          maxLength: 10
                          description: Object Type
                        LOW:
                          type: string
                          maxLength: 10
                          description: Object Type
                  RANGES_METHOD:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        HIGH:
                          type: string
                          maxLength: 32
                          description: Object type component
                        LOW:
                          type: string
                          maxLength: 32
                          description: Object type component
                  RANGES_METHOD_OBJECTTYPE:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        HIGH:
                          type: string
                          maxLength: 10
                          description: Object Type
                        LOW:
                          type: string
                          maxLength: 10
                          description: Object Type
                  RANGES_TASK_TG:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 12
                          description: Task ID in Workflow
                        HIGH:
                          type: string
                          maxLength: 12
                          description: Task ID in Workflow
                  RANGES_TASK_TS:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 12
                          description: Task ID in Workflow
                        HIGH:
                          type: string
                          maxLength: 12
                          description: Task ID in Workflow
                  RANGES_TASK_WS:
                    type: array
                    items:
                      type: object
                      properties:
                        SIGN:
                          type: string
                          maxLength: 1
                          description: 'ABAP: ID: I/E (include/exclude values)'
                        OPTION:
                          type: string
                          maxLength: 2
                          description: 'ABAP: Selection option (EQ/BT/CP/...)'
                        LOW:
                          type: string
                          maxLength: 12
                          description: Task ID in Workflow
                        HIGH:
                          type: string
                          maxLength: 12
                          description: Task ID in Workflow
                  SELECTED_TASKS:
                    type: array
                    items:
                      type: object
                      properties:
                        TASKTYP:
                          type: string
                          maxLength: 2
                          description: Standard Object Type
                        TASK:
                          type: integer
                          format: int64
                          description: Object ID of Standard Object
                  TASKS_WITH_ATTRIB:
                    type: array
                    items:
                      type: object
                      properties:
                        TASKTYP:
                          type: string
                          maxLength: 2
                          description: Task Type
                        TASK:
                          type: string
                          maxLength: 12
                          description: Task ID in Workflow
                        OBJTYP:
                          type: string
                          maxLength: 10
                          description: Object Type in Business Object Repository (BOR)
                        OMETH:
                          type: string
                          maxLength: 32
                          description: Object Method
                        DEVCLASS:
                          type: string
                          maxLength: 30
                          description: Task Package
                        APPCOMP:
                          type: string
                          maxLength: 24
                          description: Application component ID
                        SHORT:
                          type: string
                          maxLength: 12
                          description: Object Abbreviation
                        STEXT:
                          type: string
                          maxLength: 40
                          description: Object Name
                        SYNCHRON:
                          type: string
                          maxLength: 1
                          description: Synchronous Object Method
                        BACKGROUND:
                          type: string
                          maxLength: 1
                          description: Background Processing
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
