curl --request PATCH \
--url https://platform.thena.ai/v1/tickets/{id}/log \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--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,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}
curl --request PATCH \
--url https://platform.thena.ai/v1/tickets/{id}/log \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--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,
"createdAt": "<string>",
"updatedAt": "<string>"
}
}