PATCH api/customers/{customerId}/evchargingrequests/{evChargingRequestId}

Partially update an existing EV charging request for the specified customer. Only StartTime, EndTime and ChargeDemand can be updated.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

Customer number/ID

integer

Required

evChargingRequestId

EV charging request ID

globally unique identifier

Required

Body Parameters

EV charging request with only the properties to update.

EvChargingRequestPatch
NameDescriptionTypeAdditional information
AssetId

integer

None.

StartTime

Start time in UTC.

date

None.

EndTime

End time in UTC.

date

None.

ChargingDemand

Charging demand i kWh.

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "AssetId": 1,
  "StartTime": "2025-05-19T20:15:10.3811232+00:00",
  "EndTime": "2025-05-19T20:15:10.3811232+00:00",
  "ChargingDemand": 1.1
}

text/html

Sample:
{"AssetId":1,"StartTime":"2025-05-19T20:15:10.3811232+00:00","EndTime":"2025-05-19T20:15:10.3811232+00:00","ChargingDemand":1.1}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.