Snippets

OICP 2.1 Pull EVSE Status by ID | XML

Created by Gregor Schermuly last modified Julius Poessnecker
1
2
3
4
5
6
7
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/
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.
<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>
<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>

Comments (0)

HTTPS SSH

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