Create event
documentedCreate a new time entry (event) for a user on a given day.
POST /{account_id}/eventsEventsno implementation yet0 runsNo implementation yet. Run it to have the agent write one, or open a pull request with your own.
Seed example (keychains curl)
npx -y keychains@latest curl "https://api.timelyapp.com/1.1/{{$account_id}}/events" \
-X POST \
-H "Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/json" \
-H "Content-Type: application/json" \
-d '{"event": {"hours": {{$hours}}, "minutes": {{$minutes}}, "seconds": 0, "estimated_hours": {{$estimated_hours}}, "estimated_minutes": {{$estimated_minutes}}, "from": "{{$from_timestamp}}", "to": "{{$to_timestamp}}", "day": "{{$day}}", "note": "{{$note}}", "hour_rate": {{$hour_rate}}, "internal_hour_rate": {{$internal_hour_rate}}, "timer_state": 0, "created_from": "Web", "updated_from": "Web", "project_id": {{$project_id}}, "user_id": {{$user_id}}}}'"