PATCH
/
entities
/
asset
/
{asset_id}
curl --request PATCH \
  --url http://localhost:8001/entities/asset/{asset_id} \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "Vehicle",
  "alias": "<string>",
  "properties": {
    "max_import_kw": 123,
    "max_export_kw": 123,
    "median_response_time_s": 123,
    "lat": 123,
    "lng": 123,
    "lat_lng_polygon": [
      {
        "lat": 123,
        "lng": 123
      }
    ],
    "power_measurement_frequency_hz": 123,
    "power_measurement_accuracy_pct": 123,
    "frequency_measurement_frequency_hz": 123,
    "frequency_measurement_accuracy_pct": 123,
    "metering_point": "boundary",
    "connection_type": "long_term_parallel",
    "import_meter_ids": [
      "<any>"
    ],
    "voltage_level": 123,
    "min_runtime_s": 123,
    "max_runtime_s": 123,
    "applicable_standards": {
      "EU_MID": true,
      "UK_MIR": true,
      "UK_weights_and_measures_1985": true,
      "UK_smart_charging_regs": true,
      "UK_COP_11": true,
      "UK_PAS_1878": true,
      "UK_PAS_1879": true
    },
    "capacity_kwh": 123
  },
  "controller": {
    "set_level_webhook": "<string>",
    "get_level_webhook": "<string>"
  },
  "is_aggregate": true
}'
"<any>"

Path Parameters

asset_id
string
required

Body

application/json
type
enum<string>

An enumeration.

Available options:
Vehicle,
Charger,
HVAC,
Solar Inverter,
Storage
alias
string
properties
object

Version for updates, which makes all fields optional

controller
object

Collection of webhooks which we can use to control a particular asset, should a bid including this asset be accepted.

Control of assets can be either via individual AssetControllers or the main webhook.

is_aggregate
boolean

Response

200 - application/json

The response is of type any.