Body
application/json
Available options:
Open, In Progress, On Hold, Closed, Cancelled Available options:
Low, Medium, High, Critical curl --request POST \
--url https://api.xenia.team/api/v1/task/editTask \
--header 'Content-Type: application/json' \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '{
"id": "45b6ccf5-2d69-4981-9826-d9b7389d041e",
"title": "room inspection - edit",
"description": "test description edit",
"priority": "Medium",
"taskStatus": "Open",
"startDate": "2025-06-23T19:00:00.000Z",
"dueDate": "2025-06-25T18:30:00.000Z",
"startTime": "2025-06-24T08:00:00-11:00",
"dueTime": "2025-06-26T07:30:00-11:00",
"isTimeBound": true,
"isChecklistRequired": false,
"timezone": "Asia/Karachi",
"AssetId": "640c4797-7141-4419-b14f-d632ed5aabfd",
"LocationId": "62c70dc8-f8ce-4dfe-a798-844197610e11",
"ServiceId": "50d9f381-eba0-41b0-b26b-70a47a854252",
"CompletedBy": "dfea8b8a-5b22-4668-b68d-dc641eb3a101",
"assignees": [
"b465548d-69fc-42e3-b406-6af3b9d2f62a",
"dfea8b8a-5b22-4668-b68d-dc641eb3a101"
],
"locationIds": [
"b9164b03-60c2-4500-89a4-f490e38c9872"
],
"attachment": [
"https://cdn.xenia.team/.../screenshot1.png",
"https://cdn.xenia.team/.../screenshot2.png"
],
"notification": {
"overdue": {
"recipients": [
"e25dd448-7ae7-4588-8767-7e1a316547e5"
]
},
"statusChange": {
"recipients": []
}
}
}'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"priority": "<string>",
"taskStatus": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"startTime": "2023-11-07T05:31:56Z",
"dueTime": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"isTimeBound": true,
"isChecklistRequired": true,
"assignees": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"AssetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"LocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ServiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"CompletedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attachment": [
"<string>"
],
"notification": {
"overdue": {
"recipients": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
},
"statusChange": {
"recipients": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
}
}
],
"extra_meta": {
"message": "Task updated successfully"
}
}curl --request POST \
--url https://api.xenia.team/api/v1/task/editTask \
--header 'Content-Type: application/json' \
--header 'x-client-key: <api-key>' \
--header 'x-client-secret: <api-key>' \
--data '{
"id": "45b6ccf5-2d69-4981-9826-d9b7389d041e",
"title": "room inspection - edit",
"description": "test description edit",
"priority": "Medium",
"taskStatus": "Open",
"startDate": "2025-06-23T19:00:00.000Z",
"dueDate": "2025-06-25T18:30:00.000Z",
"startTime": "2025-06-24T08:00:00-11:00",
"dueTime": "2025-06-26T07:30:00-11:00",
"isTimeBound": true,
"isChecklistRequired": false,
"timezone": "Asia/Karachi",
"AssetId": "640c4797-7141-4419-b14f-d632ed5aabfd",
"LocationId": "62c70dc8-f8ce-4dfe-a798-844197610e11",
"ServiceId": "50d9f381-eba0-41b0-b26b-70a47a854252",
"CompletedBy": "dfea8b8a-5b22-4668-b68d-dc641eb3a101",
"assignees": [
"b465548d-69fc-42e3-b406-6af3b9d2f62a",
"dfea8b8a-5b22-4668-b68d-dc641eb3a101"
],
"locationIds": [
"b9164b03-60c2-4500-89a4-f490e38c9872"
],
"attachment": [
"https://cdn.xenia.team/.../screenshot1.png",
"https://cdn.xenia.team/.../screenshot2.png"
],
"notification": {
"overdue": {
"recipients": [
"e25dd448-7ae7-4588-8767-7e1a316547e5"
]
},
"statusChange": {
"recipients": []
}
}
}'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"title": "<string>",
"description": "<string>",
"priority": "<string>",
"taskStatus": "<string>",
"startDate": "2023-11-07T05:31:56Z",
"dueDate": "2023-11-07T05:31:56Z",
"startTime": "2023-11-07T05:31:56Z",
"dueTime": "2023-11-07T05:31:56Z",
"timezone": "<string>",
"isTimeBound": true,
"isChecklistRequired": true,
"assignees": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
],
"AssetId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"LocationId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"ServiceId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"CompletedBy": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"attachment": [
"<string>"
],
"notification": {
"overdue": {
"recipients": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
},
"statusChange": {
"recipients": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
}
}
],
"extra_meta": {
"message": "Task updated successfully"
}
}Open, In Progress, On Hold, Closed, Cancelled Low, Medium, High, Critical Show child attributes