Skip to main content
POST
Assign activity rate
A stable version of this route is available: 26.06.25.
This page is a preview of upcoming changes to this route: they may change without notice until they become part of a new stable version.

Body

application/json
resource_id
string<snowflake>
required
Example:

"872815618512410358"

date_range
string<local-date-interval>
required
Example:

"2019-11-11/2019-12-12"

average_rate
number<percentage>
required
Example:

100

work_regime_id
string<snowflake> | null

If null, it will adopt the sector’s work regime.

Example:

"872815618512410358"

indemnity_enabled
boolean

If not specified, it will adopt the instance indemnity configuration.

compensation_enabled
boolean

If not specified, it will adopt the instance compensation configuration.

trainee
boolean
default:false
apprentice
boolean
default:false
paid_hourly
boolean
default:false
activity_rate_patterns
object[]

Rate per weekday, one entry per week of the pattern, from Monday. If not specified, the rate is spread evenly over the work regime's worked days.

external_id
string | null

External reference of the contract, unique across the instance.

Response

204

Resource activity rate assigned.