Developer Resources

API / (GET) Show Time Entries

This API call returns a list of time_entries.

API URL
https://youraccount.beetil.com/external_api/v1/time_entries.format
HTTP Method
GET




URL parameters

ParameterFormatDefaultMandatory
start_datedate1 month agoNo
end_datedatenowNo
selected_user_idUser id to list time entries for. Must be Time Adminintegerthe authenticated userNo
limitMaximum number of results to return.integer50No
pageDesired page.integer1No




Points of Interest
  • Time Administrators can view time entries for the entire account, and use the selected_user_id parameter to view time entries for a specific user
  • Time Users can only view their own time entries




Example JSON Response
{
  "result": {
    "time_entries": [
      {
        "id": 2762,
        "hours": 1.0,
        "user": {
          "user_link": "/external_api/v1/users/17",
          "avatar": {
            "public_filename": "/avatars/get/30/2f/302ff592caaacc4408518920f00567744175c734/image_png/Picture_7.png"
          },
          "id": 17,
          "full_name": "Luke Grimstrup",
          "last_name": "Grimstrup",
          "first_name": "Luke"
        }
      }
    ]
  },
  "version": "1.0",
  "status": "Success"
}




Last updated 31 January 2011