The CSV should contain one Chargepoint ID (identity) per row. An optional header row is automatically detected and skipped.
cURL
curl --request POST \ --url https://app.plugchoice.com/api/v3/teams/{team_uuid}/chargers/import \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: multipart/form-data' \ --form file='@example-file'
{ "message": "Import completed", "created": 5, "skipped": 2, "errors": [ { "row": 3, "identity": "EXISTING-001", "error": "The identity has already been taken." } ] }
See the documentation for more information.
CSV file containing charger identities
Import results with counts and any errors
"Import completed"
5
2
Show child attributes
[ { "row": 3, "identity": "EXISTING-001", "error": "The identity has already been taken." }]
Was this page helpful?