Tasks
Create a task
Add a new task
post/tasks
Headers
Accept-Languagestring
The unique ID of the language code by ISO 639-1.
Request body
Example request
{
"task": {
"task_id": "8bed991c68a470e7aaeffbf048",
"task_type_id": "8bed991c68a470e7aaeffbf048",
"task_state_id": "8bed991c68a470e7aaeffbf048",
"customer_id": "85aae99524edceec17682e01b9",
"task_note": "Could you please send me last invoice to my email?",
"task_title": "Customer invoice",
"task_priority": 3,
"due_date": "2023-04-01",
"created_at": "2023-03-28 16:59:49",
"state": 1
},
"property_records": [
{
"property_record_id": "docasna_blokace_darce_do:8ea2591121e636086a4a9c0992",
"property_id": "docasna_blokace_darce_do",
"property_name": "Property #6",
"last_change": "2023-02-02 00:00:00"
}
],
"assignees": [
{
"task_assignee_id": "81eaeea13b8984a169c490a325",
"user_id": "898a6545ed2bfa3f8466d09bc6",
"name": "Arthur Dent",
"last_change": "2021-06-20 16:59:49"
}
]
}Response
Created
Example response
{
"data": {
"task_id": "86e05affc7a7abefcd513ab400"
}
}