Easy Projects Logo

Easy Projects

application programming interface

Time Logs

Making requests

The ‘Content-Type’ header must be set to ‘application/xml’ or ‘application/json’ to identify the request and response format. The default is ‘application/xml’. All requests must include a basic authorization header.

Get timelogs
URL: rest/v1/timelogs
HTTP method: GET
Returns all available timelogs

Get timelog
URL: rest/v1/timelogs/{ID}
HTTP method: GET
Return timelog

Create timelog
URL: rest/v1/timelogs/{ID}
HTTP method: POST
Request body contains a timelog
Returns status code 201 (Created) on success

Update timelog
URL: rest/v1/timelogs/{ID}
HTTP method: PUT
Request body contains an timelog
Response with “200 OK” on success

Delete timelog
URL: rest/v1/timelogs/{ID}
HTTP method: DELETE
Response with “200 OK” on success