openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWI_SELECT_TS_VIA_DEVCLASS:
    post:
      tags:
      - SWI_TASK_ANALYSIS
      operationId: /rfc/SWI_SELECT_TS_VIA_DEVCLASS
      requestBody:
        content:
          application/json:
            schema:
              properties:
                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
                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_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
                  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.
