PUT /time_tracking/{id} (who may edit it in its current status, which statuses it may get, locked entries, a card for a draft or rejected entry). A refused entry does not stop the others: data.updated lists the ids that changed and data.refused the ones that did not, with a code (403 not allowed, 422 status not possible, 409 changed in the meantime, 500 failed) and a message. Ids that differ only in case count once.{
"ids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"status": "draft"
}curl --location --request PUT 'https://api.vplan.com/v1/time_tracking/status' \
--header 'Content-Type: application/json' \
--data '{
"ids": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"status": "draft"
}'{
"data": {
"updated": [
"497f6eca-6276-4993-bfeb-53cbbbba6f08"
],
"refused": [
{
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"code": 0,
"message": "string"
}
]
}
}