PicoChargingHistory

Gets the last charging history for a pico station

get/pico/history/{id}

Request

  • Base URL: https://api.smart-me.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.smart-me.com/pico/history/{id}
  • Auth: one of:
    • OAuth 2 (authorization code, authorization URL /oauth/authorize, token URL /oauth/token; client credentials, token URL /oauth/token)
    • HTTP basic

Path parameters

idstring uuid required

Response

OK

startTimestring date-time

The starttime of the charging (in UTC)

durationinteger

The duration in seconds

energyUsednumber double

The energy used (in kWh)

transactionStopReason0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8
<p>Members: </p><ul><li><i>0</i> - Unknown</li><li><i>1</i> - CarDisconnected</li><li><i>2</i> - RemoteStop</li><li><i>3</i> - ErrorStop</li><li><i>4</i> - InstallationMode</li><li><i>5</i> - CableError</li><li><i>6</i> - DiodeError</li><li><i>7</i> - RcdError</li><li><i>8</i> - OverloadError</li></ul>

Changes

No recorded changes to this operation across all 1 revision of this API.