openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/SWK_TRTASKS_GET:
    post:
      tags:
      - SWK4
      operationId: /rfc/SWK_TRTASKS_GET
      requestBody:
        content:
          application/json:
            schema:
              properties:
                IM_FUNCTION:
                  type: string
                  default: K
                  maxLength: 1
                IM_LANGU:
                  type: string
                  default: SY-LANGU
                  maxLength: 1
                IM_USER:
                  type: string
                  default: SY-UNAME
                  maxLength: 12
                TRKORRLIST:
                  type: array
                  items:
                    type: object
                    properties:
                      TASK:
                        type: string
                        maxLength: 20
                        description: Request/Task
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  E_MESSAGE:
                    type: string
                    maxLength: 120
                  E_RETCODE:
                    type: integer
                    format: int32
                  TRKORRLIST:
                    type: array
                    items:
                      type: object
                      properties:
                        TASK:
                          type: string
                          maxLength: 20
                          description: Request/Task
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
