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