POST api/customers/{customerId}/evchargingrequests

Create a new EV charging request for the specified customer.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

Customer number/ID

integer

Required

Body Parameters

The new EV charging request

EvChargingRequestResponse
NameDescriptionTypeAdditional information
Id

globally unique identifier

None.

CustomerId

AssetId of EV charging point where charging in requested.

integer

None.

AssetId

integer

None.

StartTime

Start time in UTC.

date

None.

EndTime

date

None.

ChargingDemand

Charging demand i kWh.

decimal number

None.

Request Formats

application/json, text/json

Sample:
{
  "Id": "42d74074-a0cd-413a-9f7a-39cc0218ed21",
  "CustomerId": 2,
  "AssetId": 3,
  "StartTime": "2025-05-19T20:51:58.3618415+00:00",
  "EndTime": "2025-05-19T20:51:58.3618415+00:00",
  "ChargingDemand": 6.1
}

text/html

Sample:
{"Id":"42d74074-a0cd-413a-9f7a-39cc0218ed21","CustomerId":2,"AssetId":3,"StartTime":"2025-05-19T20:51:58.3618415+00:00","EndTime":"2025-05-19T20:51:58.3618415+00:00","ChargingDemand":6.1}

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, text/html

Sample:

Sample not available.