Beispielanfrage
PATCH https://api.jupiter-erp.com/api/account/tasks/example-id
Code
curl -X PATCH 'https://api.jupiter-erp.com/api/account/tasks/example-id' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"name": "string",
"description": "string",
"account_user_id": 0,
"closed": true,
"due_at": null,
"priority_type": null
}'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| id | path | ja | — |
Request Body
Optional
ModellUpdateTaskRequest
| Feld | Typ | Beschreibung |
|---|---|---|
| account_user_id | integer | — |
| closed | boolean | — |
| description | string | — |
| due_at | allOf(1) | Timestamp in W3C format, will be saved in UTC time +00:00 |
| name* | string | — |
| priority_type | allOf(1) |
Beispiel Request
{
"name": "string",
"description": "string",
"account_user_id": 0,
"closed": true,
"due_at": null,
"priority_type": null
}Antworten
200OK
ModellTask
| Feld | Typ | Beschreibung | |||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| account_user | object |
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| account_user_id | integer | — | |||||||||||||||||||||||||||||||||||||||||||||||||||
| closed | boolean | — | |||||||||||||||||||||||||||||||||||||||||||||||||||
| closed_at | string | Timestamp in W3C format, will be saved in UTC time +00:00 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| created_at | string (date-time) | Creation timestamp in ISO 8601 format. | |||||||||||||||||||||||||||||||||||||||||||||||||||
| created_by | object |
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| created_user_id | integer | — | |||||||||||||||||||||||||||||||||||||||||||||||||||
| description | string | — | |||||||||||||||||||||||||||||||||||||||||||||||||||
| due_at | string | Timestamp in W3C format, will be saved in UTC time +00:00 | |||||||||||||||||||||||||||||||||||||||||||||||||||
| id* | integer | — | |||||||||||||||||||||||||||||||||||||||||||||||||||
| name* | string | — | |||||||||||||||||||||||||||||||||||||||||||||||||||
| priority_type | string | string
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| task_groups | object[] | array Elemente
| |||||||||||||||||||||||||||||||||||||||||||||||||||
| updated_at | string (date-time) | Last update timestamp in ISO 8601 format. |
Beispiel Response
{
"id": 0,
"name": "string",
"description": "string",
"due_at": "2025-01-14T13:51:15.000Z",
"priority_type": "none",
"closed": true
}Tasks