cURL
curl --request PATCH \ --url https://platform.thena.ai/v1/tickets/{id}/log \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "description": "Worked on the ticket for 2 hours", "timeSpentMinutes": 120 } '
{ "status": true, "message": "Success", "timestamp": "2024-01-01T00:00:00.000Z", "data": { "ticketId": "<string>", "userId": "<string>", "userName": "<string>", "description": "<string>", "timeSpentMinutes": 123 } }
Enter the bearer token
The description of the time log
"Worked on the ticket for 2 hours"
The time spent in minutes
120
Operation successful
The status of the response
The message of the response
The timestamp of the response
The response for create/update/delete ticket time log operations
Show child attributes
Unique identifier of the ticket for which time is logged
Unique identifier of the user who logged the time
Name of the user who logged the time
Description of the time logged
Time spent in minutes