Jupiter ERP
Account API

Sort Tasks in Group

/api/account/tasks/groups/{groupId}/sort

POSTHTTP
post/api/account/tasks/groups/{groupId}/sort

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

NameInPflichtBeschreibung
groupIdpathja

Request Body

Optional

FeldTypBeschreibung
orderingintegerSet 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

Fragen zur Integration?

POST /api/account/tasks/groups/{groupId}/sort · Jupiter ERP