Main

⌘K
API-Basics
Frontu->SystemX (Periodical check + Filters)
SystemX->Frontu (Clients + Objects + Equipments)
SystemX->Frontu (Custom fields)
SystemX->Frontu (Standartized Material Remains)
SystemX->Frontu (Standartized Materials)
SystemX->Frontu (Task Request)
SystemX -> Frontu (Clients + Objects)
Task templates and task
Webhooks
Frontu API Sandbox
ClientApi/Client
ClientApi/Workspace
ClientApi/StandartizedMaterial
ClientApi/StandartizedWork
ClientApi/ResponsiblePerson
ClientApi/MaterialType
ClientApi/Place
ClientApi/Task
ClientApi/TaskRequest
ClientApi/TaskType
ClientApi/Material
ClientApi/Work
ClientApi/RouteHistory
ClientApi/TaskStatusHistory
ClientApi/Note
ClientApi/CreditStatus
ClientApi/ClientCustomField
ClientApi/TaskCustomField
ClientApi/WorkspaceCustomField
ClientApi/StandartizedWorkCustomField
ClientApi/StandartizedMaterialCustomField
ClientApi/TaskStopReason
ClientApi/File
ClientApi/File/Download
ClientApi/Image
ClientApi/Image/Download
ClientApi/EvaluationForm
ClientApi/User
ClientApi/Equipment
ClientApi/UserTaskTimes
ClientApi/Travels
ClientApi/Evaluations
ClientApi/StandartizedMaterialRemains
ClientApi/WorkspaceResponsiblePerson
Docs powered by
Archbee
Frontu API Sandbox
ClientApi/Task

Create / Update Task

2min
POST

This endpoint allows to create or update the task object.

If you want to update Task using POST method you need to fill information for guid field or systemId field in request body.

Example how to use custom values:

You need to specify it for example like this:

first value is guid of the custom field (for this case you can select all custom fields in this endpoint - https://tasker.stoplight.io/docs/tasker-api-v2/tasker_swagger.json/paths/~1client~1api~1v2~1customfields~1tasks/get ), and second is value of the custom field. "customValues": { "f889fbe9-9d9b-3c8a-8549-e321ee7e3e34": "Custom Value", "f889fbe9-9d9b-3c8a-8549-e321ee7e3e35": "Custom Value 2", "f889fbe9-9d9b-3c8a-8549-e321ee7e3e38": "2" }

AUTHENTICATION
Authorization
apiKey
FORM PARAMETERS
title
string
*
description
string
plannedTime
string
*
plannedEndTime
string
client
string
*
GUID or systemId of Client
workspace
string
*
GUID or systemId of Workspace
taskType
string
*
user
string
GUID or systemId of User
createdBy
string
*
GUID of the person witch created the task
taskTypePriority
integer
systemId
string
Identifier from external system
customValues
string

JSON object for custom field data (for example "guid": "value")

guid
string
Identifier from Frontu
deleted
boolean

Mark if entity is archived (1) or active (0)

receivedByExternalSystem
boolean
Mark if this task is received by external system
status
string

Task status, if it is finished or not.

parentId
string
GUID or systemId of the parent Task
taskTemplate
string
GUID or systemId of the parent Task template
RESPONSES
201
Returned when successful
400
Data contains errors
Curl
Python
PHP
Shell
C#
|
curl --location --request POST 'https://dev1.frontu.com/client/api/v2/tasks' \
--header 'Accept: application/json' \
--header 'Content-Type: application/json' \
--form 'title=""' \
--form 'description=""' \
--form 'plannedTime=""' \
--form 'plannedEndTime=""' \
--form 'client=""' \
--form 'workspace=""' \
--form 'taskType=""' \
--form 'user=""' \
--form 'createdBy=""' \
--form 'taskTypePriority=""' \
--form 'systemId=""' \
--form 'customValues=""' \
--form 'guid=""' \
--form 'deleted=""' \
--form 'receivedByExternalSystem=""' \
--form 'status=""' \
--form 'parentId=""' \
--form 'taskTemplate=""'
RESPONSES
201
400
|
// Returned when successful 





Updated 31 Jul 2023
Did this page help you?
PREVIOUS
Get Task list
NEXT
Get full Task data with works, materials, etc.
Docs powered by
Archbee
Docs powered by
Archbee