GET api/customers/{customerId}/contracts/{contractNo}/gateways/{gatewayAssetId}/evchargingdevices/{deviceAssetId}

Get the specified electrical vehicles (EV) charging devices connected to a gateway with charging info.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
customerId

integer

Required

contractNo

integer

Required

gatewayAssetId

integer

Required

deviceAssetId

integer

Required

Body Parameters

None.

Response Information

Resource Description

DeviceResponseWithChargingInfo
NameDescriptionTypeAdditional information
AssetId

integer

None.

Name

string

None.

Description

string

None.

DeviceType

DeviceType

None.

Values

Collection of TimeSeriesValueExtended

None.

EvChargingInfo

EvChargingInformationReq

None.

Response Formats

application/json, text/json

Sample:
{
  "AssetId": 1,
  "Name": "sample string 2",
  "Description": "sample string 3",
  "DeviceType": 1,
  "Values": [
    {
      "$id": "1",
      "ValueCategory": 1,
      "ValueTime": "2025-05-19T09:34:19.0989433+00:00",
      "ValueSubCategory": 1,
      "Value": 1.1,
      "ValueUnit": 0
    },
    {
      "$ref": "1"
    }
  ],
  "EvChargingInfo": {
    "ChargingMode": 0,
    "SmartModeIsActive": true,
    "CarInfoId": "sample string 1",
    "CarManufacturer": "sample string 2",
    "CarModel": "sample string 3",
    "CarGeneration": "sample string 4",
    "GrossBatterySize": 1.1,
    "NetBatterySize": 1.1,
    "BatteryLevel": 1.1,
    "FullyChargedBy": "2025-05-19T09:34:19.1145655+00:00",
    "CustomerId": "sample string 5",
    "ContractId": 6,
    "GatewayAssetId": 7,
    "DeviceAssetId": 8
  }
}

text/html

Sample:
{"AssetId":1,"Name":"sample string 2","Description":"sample string 3","DeviceType":1,"Values":[{"$id":"1","ValueCategory":1,"ValueTime":"2025-05-19T09:34:19.0989433+00:00","ValueSubCategory":1,"Value":1.1,"ValueUnit":0},{"$ref":"1"}],"EvChargingInfo":{"ChargingMode":0,"SmartModeIsActive":true,"CarInfoId":"sample string 1","CarManufacturer":"sample string 2","CarModel":"sample string 3","CarGeneration":"sample string 4","GrossBatterySize":1.1,"NetBatterySize":1.1,"BatteryLevel":1.1,"FullyChargedBy":"2025-05-19T09:34:19.1145655+00:00","CustomerId":"sample string 5","ContractId":6,"GatewayAssetId":7,"DeviceAssetId":8}}