openapi: 3.0.0
info:
  title: SAP API
  version: 1.0.0
servers:
- url: http://localhost:8080
paths:
  /rfc/RH_TASK_CREATE:
    post:
      tags:
      - RHW4
      summary: Create Task
      operationId: /rfc/RH_TASK_CREATE
      requestBody:
        content:
          application/json:
            schema:
              properties:
                ACT_BEGDA:
                  type: string
                  format: date
                  default: SY-DATUM
                ACT_ENDDA:
                  type: string
                  format: date
                  default: '99991231'
                ACT_ISTAT:
                  type: string
                  default: '1'
                  maxLength: 1
                ACT_OBJID:
                  type: integer
                  format: int64
                ACT_OTYPE:
                  type: string
                  maxLength: 2
                ACT_PLVAR:
                  type: string
                  maxLength: 2
                ACT_SHORT:
                  type: string
                  maxLength: 12
                MULTTASK_HIDE:
                  type: string
                  maxLength: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                properties:
                  ACT_OBJID:
                    type: integer
                    format: int64
                  ACT_OTYPE:
                    type: string
                    maxLength: 2
        '400':
          description: Bad request.
        5XX:
          description: Unexpected error.
