openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWI_SELECT_TS_VIA_EVENT:
    post:
      tags:
      - SWI_TASK_ANALYSIS
      operationId: /rfc/SWI_SELECT_TS_VIA_EVENT
      requestBody:
        content:
          application/json:
            schema:
              properties:
                EVENT_COMPLETION:
                  type: string
                  default: X
                  maxLength: 1
                EVENT_START:
                  type: string
                  default: X
                  maxLength: 1
                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_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
                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
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  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_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
                  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
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
