Clear Charging Profile

Description.

Clear/remove an existing charging profile by specifying the profile ID OR a charging profile criteria.

The request and response defined on this page are are based on OCPP 2.0.1’s ClearChargingProfile.

The difference with OCPP are:
  • data.evse_id is not a number, instead it’s a string like “GB*SEV*E123456789”

  • all fields use snake_case notation, whereas OCPP uses camelCase

ClearChargingProfileRequest

Topic: ocpp/smart_charging. Used by OCPP to request Smart Charging service to remove an existing charging profile.

type

object

properties

  • id

type

string

format

uuid

  • name

const

clear_charging_profile

  • type

const

request

  • data

type

object

properties

  • charging_profile_id

type

integer

  • charging_profile_criteria

type

object

properties

  • evse_id

type

string

  • charging_profile_purpose

enum

ChargingStationExternalConstraints, ChargingStationMaxProfile, TxDefaultProfile, TxProfile

  • stack_level

type

integer

Example:

{
    "id": "2b0aa109-21a1-4f2f-bdbd-6cdf139e7bb1",
    "name": "clear_charging_profile",
    "type": "request",
    "data": {
      "charging_profile_id": 1, [OPTIONAL]
    }
}

or

{

“id”: “2b0aa109-21a1-4f2f-bdbd-6cdf139e7bb1”, “name”: “clear_charging_profile”, “type”: “request”, “data”: {

“charging_profile_criteria”:{ [OPTIONAL]

“evse_id”: “GB*SEV*123456578”, [OPTIONAL] “charging_profile_purpose”: “TxProfile”, [OPTIONAL] “stack_level”: 2 [OPTIONAL]

},

}

}


ClearChargingProfileResponse

Topic: smart_charging/ocpp. Used by Smart Charging service to reply informing about the result of the action.

type

object

properties

  • id

type

string

format

uuid

  • name

const

clear_charging_profile

  • type

const

response

  • data

type

object

properties

  • status

enum

accepted, unknown

  • status_info

type

object

properties

  • reason_code

type

string

  • additional_info

type

string

Example:

{
  "id": "bb9655e5-21e0-482d-8bc1-67ffdf23539c",
  "name": "clear_charging_profile",
  "type": "response",
  "data": {
    "status": "unknown",
  }
}