GET
/
v2
/
time-entry
curl --request GET \
  --url https://api.sonderplan.com/v2/time-entry \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": 9879871,
      "owner_id": 872383,
      "owner": {
        "id": 4,
        "first_name": "Jane",
        "last_name": "Smith",
        "primary_email": "[email protected]",
        "icon": {
          "id": 2390323,
          "name": "SCR-20250220-jnua",
          "alias": "030fb130bdf3c6cd5fa533fabb26fc9d90b66542cd343a318b2bfe5474923f90",
          "extension": "jpeg",
          "mime_type": "image/jpeg"
        }
      },
      "name": "Colour Grading",
      "description": "Opening scenes completed",
      "start": 1547501100,
      "end": 1547538900,
      "start_date_time_iso": "2022-02-22T09:00:00+11:00",
      "end_date_time_iso": "2022-02-22T17:00:00+11:00",
      "duration_sec": "3600",
      "project": [
        {
          "id": 2342354,
          "name": "Andor S1 EP7 Annoucement",
          "code": "AND-S1-EP7",
          "description": "Colonel Yularen announces that the ISB has gained more surveillance and punitive authority, while Meero is challenged by Blevin for breaking protocol by accessing Imperial data without authorization.",
          "status_id": 1
        }
      ],
      "booking": [
        {
          "id": 1,
          "name": "Test Booking",
          "start": 1547501100,
          "end": 1547538900,
          "resources": [
            {
              "id": 9458,
              "name": "Edit Suite 1"
            }
          ]
        }
      ],
      "billable": "false",
      "locked": "false",
      "created_id": 3,
      "created": 1388552400,
      "updated_id": 3,
      "updated": 1388552400
    }
  ],
  "meta": {
    "pagination": {
      "total": 1,
      "count": 1,
      "per_page": 1,
      "current_page": 1
    }
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

id
string

One or more (comma seperated) IDs of time entries to retrieve

project_id
string

One or more (comma seperated) project ids to retrieve associated time entries

booking_id
string

One or more (comma seperated) booking ids to retrieve associated time entries

fields
string

Comma seperated list of fields you wish to return

page
integer

Specify the page of results you wish to return

limit
integer

The number of results returned per page. Default if not specified is 10

order_asc
string

Specify the field (with type of string or integer) you wish to order (ascending) the response with

order_desc
string

Specify the field (with type of string or integer) you wish to order (descending) the response with

filter_operator
enum<string>
default:OR

Specify if multiple filters should be combined with OR or AND logic

Available options:
OR,
AND

Response

200
application/json
Successful Operation
data
object[]

Stores time entries on bookings and projects

meta
object