Beispielanfrage
POST https://api.jupiter-erp.com/api/account/tasks/groups/example-id/sort
Code
curl -X POST 'https://api.jupiter-erp.com/api/account/tasks/groups/example-id/sort' \
-H 'Authorization: Bearer YOUR_API_TOKEN' \
-H 'X-Account-Uuid: YOUR_ACCOUNT_UUID' \
-H 'Accept: application/json' \
-H 'Content-Type: application/json' \
-d '{
"ordering": 0,
"task_ids": [
0
]
}'Parameter
| Name | In | Pflicht | Beschreibung |
|---|---|---|---|
| groupId | path | ja | — |
Request Body
Optional
ModellSortTasksInGroupRequest
| Feld | Typ | Beschreibung |
|---|---|---|
| ordering | integer | Set the target ordering index, all other tasks ordering will be incremented. |
| task_ids* | integer[] | array Elemente integer |
Beispiel Request
{
"ordering": 0,
"task_ids": [
0
]
}Antworten
204OK
Kein JSON-Schema dokumentiert.
Tasks