POST
/
v2
/
time-entry
curl --request POST \
  --url https://api.sonderplan.com/v2/time-entry \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "owner_id": 872383,
  "owner": {
    "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",
  "project": [
    {
      "id": 2342354
    }
  ],
  "booking": [
    {
      "id": 1,
      "name": "Test Booking",
      "start": 1547501100,
      "end": 1547538900,
      "resources": [
        {
          "id": 9458
        }
      ]
    }
  ],
  "billable": "false",
  "locked": "false"
}'
{
  "success": {
    "id": 2384
  }
}

Authorizations

Authorization
string
header
required

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

Body

application/json

Stores time entries on bookings and projects

Response

200
application/json

Successful Operation

The response is of type object.