Skip to main content
PUT
/
v1
/
entities
/
{entityId}
/
properties
Update the custom properties of an Entity
curl --request PUT \
  --url https://api.traxes.io/connect/v1/entities/{entityId}/properties \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "properties": "<any>"
}'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "type": "Battery",
  "brand": "<string>",
  "identifier": "<string>",
  "name": "<string>",
  "parentId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "isOnline": true,
  "properties": "<any>",
  "lastSeen": "2023-11-07T05:31:56Z",
  "created": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

Access Token Authentication

Path Parameters

entityId
string<uuid>
required

The id of the Entity

Body

application/json

A request to modify the custom properties of an Entity

properties
any

The custom properties of the Entity

Response

OK

An Entity

id
string<uuid>
required

The id of the Entity

type
enum<string>
required
Available options:
Battery,
ChargePoint,
EV,
HeatPump,
SolarPlant,
RetrofitMeter,
Meter,
Inverter
brand
string | null
required

The brand information of the Entity

identifier
string | null
required

The reference of the Entity

created
string<date-time>
required

The date and time the entity was created

name
string | null

The name of the Entity. Used like a label or a description.

parentId
string<uuid> | null

The parent id of the Entity

isOnline
boolean

A value indicating whether the entity is online.

properties
any

The custom properties of the Entity

lastSeen
string<date-time> | null

The date and time the entity was last seen