Delete Time Record
Changed onRemove a time record by setting its duration to zero.
The history trail is preserved; the row no longer appears in time listings, which filter for time > 0.
Request
- Base URLhttps://api.everhour.com
- AuthAPI key in header X-Api-Key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
ID of Task Time
Response
OK
Example response
{
"id": 2660155,
"time": 3600,
"user": 1304,
"date": "2018-01-20",
"task": {
"id": "ev:9876543210",
"name": "Task Name",
"type": "task",
"url": "https://github.com/acme/web/issues/8688",
"number": "ED-774",
"projects": [
"ev:1234567890"
],
"section": 1234,
"labels": [
"high",
"bug"
],
"position": 1,
"dueAt": "2018-03-05 16:00:00",
"dueOn": "2024-10-31",
"status": "open",
"completedAt": "2024-01-24 14:36:20",
"createdAt": "2023-04-07 13:11:20",
"createdBy": 1304,
"assignees": [
{
"userId": 1304,
"accountId": "gh:313991",
"accountName": "jbender"
}
],
"iteration": "In Progress",
"color": "#edacc7",
"comments": 1,
"time": {
"total": 7200,
"users": {
"1304": 3600,
"1543": 3600
},
"timerTime": 5400
},
"estimate": {
"total": 7200,
"type": "overall",
"users": {
"1304": 3600,
"1543": 3600
}
},
"attributes": {
"Client": "Everhour",
"Priority": "high"
},
"metrics": {
"efforts": 42,
"expenses": 199
}
},
"comment": "some notes",
"history": [
{
"id": 4622379,
"createdBy": 1304,
"time": 3600,
"action": "TIMER",
"createdAt": "2018-01-16 12:42:59"
}
]
}Changes
- warning
added the new
completedenum value to the/response property for the response status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- warning