Skip to content

Toggle online plug 'n' charge

Deprecated
POST
/api/chargers/{chargerId}/plugncharge

Post /api/chargers/:chargerId/plugncharge

Parameters

Path Parameters

chargerId
required
string

Request Body required

object
enabled
required
boolean

Responses

200

Response for status ok

object
success
required
boolean
charger
required
Any of:
object
id
required
string
applicationId
required
string
namespaceId
required
string
locationId
string
userId
required
string
type
required
string
Allowed values: Private Public
name
required
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
tier
required
string
Allowed values: free enterprise
plugncharge
boolean
disableCharging
boolean
requireTLS
boolean
basicAuthPassword
string
ipWhitelist
string
asnWhitelist
string
connectionUrl
string
ocppVersion
string
ipAddress
string
userAgent
string
tlsVersion
string
state
required
string
Allowed values: Disconnected PreBooting Booting Ready
disconnectedReason
string
Allowed values: NeverConnected ConnectionLost ConnectionClosed ConnectionError Restarting Reconnecting
status
string
Allowed values: Available Preparing Charging SuspendedEVSE SuspendedEV Finishing Reserved Unavailable Faulted
statusSince
string format: date-time
error
string
Allowed values: ConnectorLockFailure EVCommunicationError GroundFailure HighTemperature InternalError LocalListConflict NoError OtherError OverCurrentFailure OverVoltage PowerMeterFailure PowerSwitchFailure ReaderFailure ResetFailure UnderVoltage WeakSignal
connectedSince
string format: date-time
disconnectedSince
string format: date-time
firmwareUpdateStatus
string
diagnosticsUploadStatus
string
nextKeycardAction
string
Allowed values: BindToNamespace BindToLocation BindToCharger Unbind
tierExpiry
string format: date-time
diagnosticsId
string
diagnosticsIdExpiry
string format: date-time
initialized
required
boolean
vendor
model
connectors
metadata
configuration
profiles
localAuthList

400

Response for status badRequest

object
success
required
boolean
message
required
string

403

Response for status forbidden

object
success
required
boolean
message
required
string

404

Response for status notFound

object
success
required
boolean
message
required
string

500

Response for status internalServerError

object
success
required
boolean
message
required
string