Update a charging session
POST
/api/charging-sessions/{chargingSessionId}
Post /api/charging-sessions/:chargingSessionId
Parameters
Path Parameters
chargingSessionId
required
string
Request Body required
object
chargingSession
required
object
note
string
Responses
200
Response for status ok
object
success
required
boolean
chargingSession
required
object
id
required
string
transactionId
required
integer
idTag
required
string
chargerId
required
string
connectorId
required
integer
chargingIntentId
required
string format: uuid
userId
string
status
required
string
startedAtTimestamp
required
string
startedAtEnergy
required
number
lastMeteredAtTimestamp
string
lastMeteredAtEnergy
number
stoppedAtTimestamp
string
stoppedAtEnergy
number
stoppedReason
string
tariff
object
elements
required
Array<object>
object
id
required
string
name
required
string
backgroundColor
required
string
priceComponents
required
object
Flat
string
PerMinute
string
PerKilowattHour
string
restrictions
object
startTime
object
hour
required
integer
minute
required
integer
endTime
object
hour
required
integer
minute
required
integer
daysOfWeek
Array<string>
minEnergy
number
maxEnergy
number
minCurrent
number
maxCurrent
number
minPower
number
maxPower
number
minDuration
integer
maxDuration
integer
vehicleRequestingPower
boolean
minRestrictionsDuration
integer
minPrice
string
maxPrice
string
altTexts
Array<object>
object
language
required
string
text
required
string
altUrl
string format: uri
timeZone
required
string
energy
required
number
duration
required
number
price
required
string
note
string
applicationId
required
string
namespaceId
required
string
locationId
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
chargingIntent
required
object
id
required
string format: uuid
idTag
required
string
chargerId
required
string
connectorId
integer
chargingSessionId
string
userId
string
type
required
string
startType
required
string
details
object
pushNotificationPreferences
object
afterEnergy
number
afterDuration
number
afterPrice
string
createdAt
required
string format: date-time
updatedAt
required
string format: date-time
prioritized
boolean
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