eLogii's API supports updating multiple tasks using the method and endpoint: POST..../tasks/updateMany
. This method is ideal for modifying multiple tasks at once, saving time compared to updating tasks individually.
Tasks can be uniquely identified using _id
, uid
, reference
, or externalId
.
Sample request and payload:
{
"items": [
{
"uid": "T-WAWGMVHT", // _id, uid, reference or externalId to match the task
// properties to update
"reference": "FRAGILE"
},
{
"uid": "T-TMCFMPY8", // _id, uid, reference or externalId to match the task
// properties to update
"date": "20250317"
}
]
}
Sample response:
{
"result": 2,
"errors": [],
"ids": [
"676a715eb75a0afe114749bb",
"676a715eb75a0afe114749b5"
]
}