Skip to main content
GET
/
v3
/
chargers
/
{charger}
/
transactions
/
{transaction}
/
graph
Get Transaction Graph
curl --request GET \
  --url https://app.plugchoice.com/api/v3/chargers/{charger}/transactions/{transaction}/graph \
  --header 'Authorization: Bearer <token>'
{
  "energy": [
    {
      "date": "<string>",
      "value": 123,
      "unit": "<string>"
    }
  ],
  "current": [
    {
      "date": "<string>",
      "L1": 123,
      "L2": 123,
      "L3": 123,
      "offered": 123
    }
  ],
  "voltage": [
    {
      "date": "<string>",
      "L1": 123,
      "L2": 123,
      "L3": 123
    }
  ]
}
Returns energy, current, and voltage graph data for a specific transaction. Data points are sampled to a maximum of 200 points.
charger
string
required
The UUID of the charger.
transaction
integer
required
The ID of the transaction.

Response

energy
object[]
Energy consumption data points over time.
current
object[]
Current data points over time per phase.
voltage
object[]
Voltage data points over time per phase.