Add penalties
Apply time penalties and championship-points deductions to drivers in an event.
POST
…/timing-api/v1/events/{eventId}/penalties Time penalties are added to the driver’s total time. Points deductions reduce their championship points. Either changes the results, which recompute automatically.
Requires timing:write.
Body
-
penaltiesarray requiredPenalty objects to create.
Penalty object
-
user_idstring requiredThe Outlap driver the penalty applies to. -
typestring requiredtimefor a time penalty, orpoints_deductionfor championship points. -
value_msinteger optionalPenalty length fortimepenalties, in milliseconds. -
value_intinteger optionalPoints to deduct forpoints_deduction. -
session_idstring optionalApply the penalty to one session rather than the whole event. -
reasonstring optionalShown to organisers and in results exports.
Response
-
insertedintegerPenalties created.
Was this page helpful?
Reviewed · Contact support