| Table of contents |
|---|
GET /Tickets/TicketTimeTrack/ListAll/$ticketid$
| API method available in version 4.01.220 This API method is either only available or was modified in Kayako version 4.01.220 (and above). You should update your helpdesk before relying on this method. |
Retrieve a list of a ticket's time track notes.
Arguments
Red = required
| Name | Description |
|---|---|
| $ticketid$ | The unique numeric identifier of the ticket. |
Response
An 'HTTP 200 OK' with the following XML payload:
GET /Tickets/TicketTimeTrack/$ticketid$/$id$
| API method available in version 4.01.220 This API method is either only available or was modified in Kayako version 4.01.220 (and above). You should update your helpdesk before relying on this method. |
Retrieve the time tracking note identified by $id$ that belongs to a ticket identified by $ticketid$.
Arguments
Red = required
| Name | Description |
|---|---|
| $ticketid$ | The unique numeric identifier of the ticket. |
| $id$ | The unique numeric identifier of the ticket time tracking note. |
Response
An 'HTTP 200 OK' with the following XML payload:
POST /Tickets/TicketTimeTrack
| API method available in version 4.01.220 This API method is either only available or was modified in Kayako version 4.01.220 (and above). You should update your helpdesk before relying on this method. |
Add a new time tracking note to a ticket.
Arguments (POST variables)
Red = required
| Name | Description |
|---|---|
| ticketid | The unique numeric identifier of the ticket. |
| contents | The ticket time tracking note contents |
| staffid | The ticket time tracking creator staff identifier |
| worktimeline | The UNIX timestamp which specifies when the work was executed |
| billtimeline | The UNIX timestamp which specifies when to bill the user |
| timespent | The time spent (in seconds). |
| timebillable | The time billable (in seconds). |
| workerstaffid | The staff identifier of the worker. If not specified, the staff user creating this entry will be considered as the worker. |
| notecolor | The Note Color, for more information see [note colors] |
Response
An 'HTTP 200 OK' with the following XML payload:
DELETE /Tickets/TicketTimeTrack/$ticketid$/$id$
| API method available in version 4.01.220 This API method is either only available or was modified in Kayako version 4.01.220 (and above). You should update your helpdesk before relying on this method. |
Delete the ticket time tracking note identified by $id$ linked to the $ticketid.
Arguments
Red = required
| Name | Description |
|---|---|
| $ticketid$ | The unique numeric identifier of the ticket. |
| $id$ | The unique numeric identifier of the ticket time tracking note. |
Response
If an 'HTTP 200 OK' is returned, the deletion was successful. If a different HTTP status code is returned, the deletion failed. Consult the status code list for a list of error statuses and their respective meanings.
Labels:
None