fix: find the first free indexes at adding charging stations
[e-mobility-charging-stations-simulator.git] / README.md
index 8b4d62f0ad56f5a9012d2bdec9e300d118955d84..84347a67d8fd428fffc6ea0dbf83271a255f1da6 100644 (file)
--- a/README.md
+++ b/README.md
@@ -573,7 +573,12 @@ Set the Websocket header _Sec-Websocket-Protocol_ to `ui0.0.1`.
    `template`: string,  
    `numberOfStations`: number,  
    `options?`: {  
-   `autoStart?`: boolean  
+   `persistentConfiguration?`: boolean,  
+   `autoStart?`: boolean,  
+   `autoRegister?`: boolean,  
+   `enableStatistics?`: boolean,  
+   `ocppStrictCompliance?`: boolean,  
+   `stopTransactionsOnStopped?`: boolean  
    }  
   }
 
@@ -582,6 +587,23 @@ Set the Websocket header _Sec-Websocket-Protocol_ to `ui0.0.1`.
    `status`: 'success' | 'failure'  
   }
 
+###### Delete Charging Stations
+
+- Request:  
+  `ProcedureName`: 'deleteChargingStations'  
+  `PDU`: {  
+   `hashIds`: charging station unique identifier strings array (optional, default: all charging stations),  
+   `deleteConfiguration?`: boolean  
+  }
+
+- Response:  
+  `PDU`: {  
+   `status`: 'success' | 'failure',  
+   `hashIdsSucceeded`: charging station unique identifier strings array,  
+   `hashIdsFailed`: charging station unique identifier strings array (optional),  
+   `responsesFailed`: failed responses payload array (optional)  
+  }
+
 ###### Set Charging Station Supervision Url
 
 - Request: