---
title: "CompleteTaskRequestModel"
url: "https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4/schemas/CompleteTaskRequestModel"
---

> Full API specification: https://developer.tesma.com/apis/logistics-api-26/versions/484d1e1b-3201-4f8b-800b-867280d5b6a4.md

# CompleteTaskRequestModel

## OpenAPI definition

```yaml
openapi: 3.1.1
info:
  title: " API v1"
  version: 26.13.0.0
components:
  schemas:
    TaskOption:
      type: integer
    Task:
      properties:
        _changedProperties:
          type:
            - "null"
            - object
        _changedPropertyNames:
          items:
            type: string
          type:
            - "null"
            - array
        _internalReferenceID:
          type:
            - "null"
            - string
        additionalProperties:
          type:
            - "null"
            - object
        createDate:
          format: date-time
          type: string
        createUser:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        dataState:
          $ref: "#/components/schemas/BusinessObjectState"
        deleted:
          type: boolean
        departmentId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        description:
          type:
            - "null"
            - string
        doneDate:
          format: date-time
          type: string
        doneUser:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        dueDate:
          format: date-time
          type: string
        id:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        parameter:
          type:
            - "null"
            - string
        referenceRecordKey:
          type:
            - "null"
            - string
        referenceType:
          type:
            - "null"
            - string
        remark:
          type:
            - "null"
            - string
        result:
          type:
            - "null"
            - string
        taskKey:
          type:
            - "null"
            - string
        title:
          type:
            - "null"
            - string
        type:
          $ref: "#/components/schemas/TaskType"
        userId:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
      type: object
    BusinessObjectState:
      type: integer
    TaskType:
      type: integer
    CompleteTaskRequestModel:
      properties:
        decision:
          $ref: "#/components/schemas/TaskOption"
        doneUser:
          format: int32
          pattern: ^-?(?:0|[1-9]\d*)$
          type:
            - integer
            - string
        task:
          $ref: "#/components/schemas/Task"
      type: object
```
