/v1.1/chargestations/{id}/get_diagnostics

Request chargestation to upload local logs to an FTP server. Works for both OCPP 1.6 (GetDiagnostics) and OCPP 2.0.1 (GetLog) charge stations. For OCPP 2.0.1, location maps to the GetLog log.remoteLocation, startTime/stopTime map to oldestTimestamp/latestTimestamp, and logType/requestId/retries/retryInterval are supported (requestId is auto-generated when omitted).

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The charge station id that needs to be fetched

Body Params
string
required

FTP server Upload Credentials

string

Logs Start datetime in ISOString Format. For OCPP 2.0.1 maps to log.oldestTimestamp.

string

Logs Stop datetime in ISOString Format. For OCPP 2.0.1 maps to log.latestTimestamp.

integer

Optional. Number of times the charge station retries the upload before giving up.

integer

Optional. Interval (in seconds) between upload retries.

string
enum

OCPP 2.0.1 only. Type of log to retrieve. Defaults to DiagnosticsLog.

Allowed:
integer

OCPP 2.0.1 only. Correlation id for the log upload. Auto-generated when omitted.

meta_data
object

Any custom data, the developer wants to attach.

Responses

command.response_data returned.

400

A failure response

Language
Credentials
OAuth2
Authenticate
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json