Snippets

OICP 2.1 Pull EVSE Status by ID | XML

Updated by Julius Poessnecker

File (0) OICP Added

  • Ignore whitespace
  • Hide word diff
+The service description can be found in the OICP 2.1 (EMP).
+
+Section:
+3.5.2 eRoamingPullEVSEStatusById
+
+To download the latest OICP Version, please visit our website:
+https://www.hubject.com/downloads/
Created by Gregor Schermuly

File (1) Description Added

  • Ignore whitespace
  • Hide word diff
+The PullEvseStausById request can be used as an alternative to the PullEvseStaus request. In contrast to this request, it expects a list of EVSE Ids as input and will return a list of key value pairs having the EVSE Id as key and the current EVSE status as value. Unknown EVSE Ids will have the status EVSENotFound. A maximum of 100 EVSE Ids can be send per request. Concurrent requests are possible.

File (2) Pull EVSE Status by ID | XML.xml Added

  • Ignore whitespace
  • Hide word diff
+<soapenv:Envelope xmlns:soapenv    = "http://schemas.xmlsoap.org/soap/envelope/"
+                  xmlns:EVSEStatus = "http://www.hubject.com/b2b/services/evsestatus/v2.0">
+
+   <soapenv:Header/>
+
+   <soapenv:Body>
+      <EVSEStatus:eRoamingPullEvseStatusById>
+
+         <EVSEStatus:ProviderID>DE*GDF</EVSEStatus:ProviderID>
+
+         <!--1 to 100 repetitions:-->
+         <EVSEStatus:EvseId>DE*GEF*E123456789*1</EVSEStatus:EvseId>
+         <EVSEStatus:EvseId>DE*GEF*E123456789*2</EVSEStatus:EvseId>
+
+      </EVSEStatus:eRoamingPullEvseStatusById>
+   </soapenv:Body>
+</soapenv:Envelope>

File (3) Expected Response.xml Added

  • Ignore whitespace
  • Hide word diff
+<soapenv:Envelope xmlns:soapenv     = "http://schemas.xmlsoap.org/soap/envelope/"
+                  xmlns:EVSEStatus  = "http://www.hubject.com/b2b/services/evsestatus/v2.0"
+                  xmlns:CommonTypes = "http://www.hubject.com/b2b/services/commontypes/v2.0">
+
+   <soapenv:Header/>
+
+   <soapenv:Body>
+      <EVSEStatus:eRoamingEvseStatusById>
+
+         <!--Optional:-->
+         <EVSEStatus:EvseStatusRecords>
+
+           <!--Zero or more repetitions:-->
+           <EVSEStatus:EvseStatusRecord>
+              <EVSEStatus:EvseId>DE*GEF*E123456789*1</EVSEStatus:EvseId>
+              <EVSEStatus:EvseStatus>Available</EVSEStatus:EvseStatus>
+           </EVSEStatus:EvseStatusRecord>
+
+           <EVSEStatus:EvseStatusRecord>
+              <EVSEStatus:EvseId>DE*GEF*E123456789*2</EVSEStatus:EvseId>
+              <EVSEStatus:EvseStatus>Occupied</EVSEStatus:EvseStatus>
+           </EVSEStatus:EvseStatusRecord>
+
+         </EVSEStatus:EvseStatusRecords>
+
+         <!--Optional:-->
+         <EVSEStatus:StatusCode>
+
+            <CommonTypes:Code>?</CommonTypes:Code>
+
+            <!--Optional:-->
+            <CommonTypes:Description>?</CommonTypes:Description>
+
+            <!--Optional:-->
+            <CommonTypes:AdditionalInfo>?</CommonTypes:AdditionalInfo>
+
+         </EVSEStatus:StatusCode>
+
+      </EVSEStatus:eRoamingEvseStatusById>
+   </soapenv:Body>
+
+</soapenv:Envelope>
HTTPS SSH

You can clone a snippet to your computer for local editing. Learn more.