Skip to main content
POST
Creates a plug

Authorizations

Authorization
string
header
required

OAuth2 Bearer Authorization

Body

application/json

Creates a plug. Required permission: assets:plug:create

chargepoint_id
integer<int32>
required

chargepoint id

Required range: x >= 0
type_id
integer<int32>
required

Plug type id

Required range: x >= 0
phase
enum<string>
required

Phase of the plug

Available options:
ac1,
ac3,
dc
ampere
integer<int32>
required

Ampere of the plug

Required range: x >= 0
voltage
integer<int32>
required

Voltage of the plug

Required range: x >= 0
max_power
integer<int32>
required

Maximum power of the plug

Required range: x >= 0
active
boolean
default:true
required

Status of the plug

fixable
boolean
default:true
required

Is the plug fixable

with_cable
boolean
default:false
required

Is the plug with a fixed cable

cable_length
integer<int32>
required

Plugs cable length

Required range: x >= 0
export
boolean
default:false
required

Should the plug be shown in external APIs

comment
string

Internal comments for the plug

Maximum string length: 255
serial_number
string

Serial number of the plug

Maximum string length: 25
article_number
string

Article number of the plug

Maximum string length: 25

Response

Plug created

plug
object
required

Plug