Charge Points Charging Rules

Update a charging rule for a charge point

Changed on

Required scope: charge-points:write </br>Organization authorization: supported

put/api/v1/charge-points/{chargePointId}/charging-rules/{chargingRuleId}

Request

  • Base URL
    https://partner-api.monta.com
  • URL
    https://partner-api.monta.com/api/v1/charge-points/{chargePointId}/charging-rules/{chargingRuleId}
  • Auth
    HTTP bearer

Path parameters

chargePointIdinteger required
chargingRuleIdinteger required

Request body

namestring required

Name of the charging rule

type'smart_charge' | 'scheduled' | 'instant' required

Types of Charge Point Charging Rules

isActiveboolean required

Indicates if this rule is active

isSponsoredboolean required

Indicates if the charge is sponsored

vehicleIdinteger nullable

Vehicle id of the vehicle this rule applies to

Example request

{
  "name": "Smart charging rule",
  "isActive": true,
  "isSponsored": true,
  "vehicleId": 123,
  "settings": {
    "start": "22:00",
    "beReadyAt": "06:00",
    "defaultMaxBatteryPercentage": 80
  }
}

Response

Charging rule for charge point updated

idinteger

Id of this charging rule

namestring required

Name of the charging rule

type'smart_charge' | 'scheduled' | 'instant' required

Types of Charge Point Charging Rules

isActiveboolean required

Indicates if this rule is active

isSponsoredboolean required

Indicates if the charge is sponsored

creatorUserIdinteger required

User that created this rule

vehicleIdinteger nullable

Vehicle id of the vehicle this rule applies to

supportedChargingRuleTypesChargingRuleType[] required

The type of charging rules supported by this charge point

chargePointIdinteger nullable

Id of the charge point this rule belongs to

Example response

{
  "id": 1,
  "name": "Smart charging rule",
  "isActive": true,
  "isSponsored": true,
  "creatorUserId": 123,
  "vehicleId": 123,
  "settings": {
    "start": "22:00",
    "beReadyAt": "06:00",
    "defaultMaxBatteryPercentage": 80
  },
  "chargePointId": 123
}

Changes

    • info

      added the optional property to the response with the status

    • info

      added to the response property allOf list for the response status

    • info

      removed from the response property allOf list for the response status