Create time track
documentedCreate a new time-tracking record.
POST /time_tracks.jsonTime Tracksno 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.samanage.com/incidents/{{$incident_id}}/time_tracks.json" \
-X POST \
-H "X-Samanage-Authorization: Bearer {{OAUTH2_ACCESS_TOKEN}}" \
-H "Accept: application/vnd.samanage.v2.1+json" \
-H "Content-Type: application/json" \
-d '{"time_track": {"hours": {{$hours}}, "description": "{{$description}}", "date": "{{$date}}"}}'