ev-server icon indicating copy to clipboard operation
ev-server copied to clipboard

Return transaction ID after starting charging

Open gasparuff opened this issue 9 months ago • 0 comments

I'm trying to work with the ev-server through the REST API because I need to integrate it with another platform. I managed to successfully call the /remote/start and /stop endpoints and it does what it should. But for fetching the charging status after starting the charging, I need the transaction ID. Also for stopping the charging I need it. So what I did now, is to call {{baseUrl}}/api/charging-stations/:id and get the currentTransactionID from the connectors array response. But this seems kinda clunky to me... is there any way to get the transaction ID back in a response from the remote/start/ request?

gasparuff avatar May 06 '24 08:05 gasparuff