sap-labs-france / ev-server

The Open e-Mobility Charging Station management backend server (check also ev-dashboard and ev-mobile)
https://open-e-mobility.fr/
Apache License 2.0
152 stars 143 forks source link

How to programatically create and operate tenants? #3699

Open acasademont opened 2 years ago

acasademont commented 2 years ago

Hi!

We have some doubts about the architecture of the server, we want to operate the server through the API mainly, not using the client. What we found out is:

thanks a lot!!

aliuysal60 commented 2 years ago

1- Yes 2- Yes, it creates a user. But you need to confirm the user's email address. If you have not filled in the email sending information in config.json, you will not receive a confirmation email and you will not be able to login or use the api. 3- No, SiteArea tokens exist for the OCPP side. For authorization from charging stations to OCPP server. You are talking about rest api and it has nothing to do with siteArea tokens. If you have looked at the config.json file, you will see that there are many different services out there, each working for different purposes.

Postman Rest Api schema; https://raw.githubusercontent.com/sap-labs-france/ev-server/master-qa/postman/e-Mobility%20REST%20API.postman_collection.json