Skip to main content
PATCH
Update an existing reimbursement rate

Authorizations

Authorization
string
header
required

Authorization via a JWT bearer token.

Path Parameters

id
integer
required

The ID of the reimbursement rate to update.

Body

application/json
pricePerKwh
number<float>

Price per kilowatt-hour. Must be between 0.0001 and 10.

Required range: 0.0001 <= x <= 10
currency
enum<string>

ISO 4217 currency code.

Available options:
CHF,
CZK,
DKK,
EUR,
GBP,
NOK,
PLN,
SEK,
USD
Example:

"EUR"

validFrom
string<date-time>

Start of the validity period (UTC ISO 8601). This instant is included.

validUntil
string<date-time> | null

End of the validity period (UTC ISO 8601). This instant is excluded and must be after validFrom. Omitted keeps the stored value, null means open-ended.

Response

Successfully updated the reimbursement rate.

id
integer
required

The reimbursement rate ID.

locationId
integer
required

The ID of the location the rate applies to.

pricePerKwh
number<float>
required

The reimbursement price per kWh.

currency
enum<string>
required

ISO 4217 currency code.

Available options:
CHF,
CZK,
DKK,
EUR,
GBP,
NOK,
PLN,
SEK,
USD
Example:

"EUR"

validFrom
string<date-time>
required

Start of the validity period (UTC ISO 8601). This instant is included.

createdAt
string<date-time>
required

When the rate was created (UTC ISO 8601).

updatedAt
string<date-time>
required

When the rate was last updated (UTC ISO 8601).

validUntil
string<date-time> | null

End of the validity period (UTC ISO 8601). This instant is excluded and must be after validFrom. null means open-ended.

lockedBy
string | null

Identifier of who locked the rate; only set when locked. References the locking business entity, e.g. an expense report ID.

fileCount
integer

Number of documents attached to the rate; only present on GET responses.