Kimai icon

Kimai

Interact with Kimai time-tracking API

Activity → Add Rate

AI-generated

Summary

Add a rate to an activity

Inputs

  • id (required) — The activity identifier
  • rate (required) — The rate amount to assign
  • rateUser — User ID associated with the rate
  • internalRate — Internal rate value
  • isFixed — Whether the rate is fixed
  • requestOptions — HTTP request configuration including batching and proxy settings

Output shape

a single rate record

Returns the created rate object; on error a failure response is provided

Examples

Example 1: Add a €50 hourly rate to activity ID 42

id=42, rate=50, isFixed=true, requestOptions with batchSize=100

Example 2: Add an internal rate with batching

id=10, rate=45, internalRate=50, isFixed=false, requestOptions batching enabled

Discussion