Snippets

OICP 2.1 Get Charge Detail Record | 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 (CPO).
+
+Section:
+3.1.6 eRoamingGetChargeDetailRecords
+
+To download the latest OICP Version, please visit our website:
+https://www.hubject.com/downloads/
Created by Gregor Schermuly

File (1) Get Charge Detail Record | XML Added

  • Ignore whitespace
  • Hide word diff
+<soapenv:Envelope xmlns:soapenv       = "http://schemas.xmlsoap.org/soap/envelope/"
+                  xmlns:Authorization = "http://www.hubject.com/b2b/services/authorization/v2.0">
+
+   <soapenv:Header/>
+
+   <soapenv:Body>
+      <Authorization:eRoamingGetChargeDetailRecords>
+         <Authorization:ProviderID>DE*GDF</Authorization:ProviderID>
+         <Authorization:From>2015-10-01T00:00:00.000Z</Authorization:From>
+         <Authorization:To>2015-10-31T00:00:00.000Z</Authorization:To>
+      </Authorization:eRoamingGetChargeDetailRecords>
+   </soapenv:Body>
+
+</soapenv:Envelope>

File (2) Expected Response.xml Added

  • Ignore whitespace
  • Hide word diff
+<soapenv:Envelope xmlns:soapenv       = "http://schemas.xmlsoap.org/soap/envelope/"
+                  xmlns:Authorization = "http://www.hubject.com/b2b/services/authorization/v2.0"
+                  xmlns:CommonTypes   = "http://www.hubject.com/b2b/services/commontypes/v2.0">
+
+   <soapenv:Header/>
+
+   <soapenv:Body>
+      <Authorization:eRoamingChargeDetailRecords>
+
+         <!--Zero or more repetitions:-->
+         <Authorization:eRoamingChargeDetailRecord>
+
+            <Authorization:SessionID>de164e08-1c88-1293-537b-be355041070e</Authorization:SessionID>
+
+            <!--Optional:-->
+            <Authorization:PartnerSessionID>0815</Authorization:PartnerSessionID>
+
+            <!--Optional:-->
+            <Authorization:PartnerProductID>AC1</Authorization:PartnerProductID>
+
+            <Authorization:EvseID>DE*GEF*E123456789*1</Authorization:EvseID>
+
+            <Authorization:Identification>
+              <!--You have a CHOICE of the next 4 items at this level-->
+
+              <CommonTypes:RFIDmifarefamilyIdentification>
+                 <CommonTypes:UID>08152305</CommonTypes:UID>
+              </CommonTypes:RFIDmifarefamilyIdentification>
+
+              <CommonTypes:QRCodeIdentification>
+
+                 <CommonTypes:EVCOID>DE*GDF*01234ABCD*Z</CommonTypes:EVCOID>
+
+                 <!--You have a CHOICE of the next 2 items at this level-->
+                 <CommonTypes:PIN>1234</CommonTypes:PIN>
+
+                 <CommonTypes:HashedPIN>
+                    <CommonTypes:Value>f7cf02826ba923e3d31c1c3015899076</CommonTypes:Value>
+                    <CommonTypes:Function>MD5|SHA-1</CommonTypes:Function>
+                    <CommonTypes:Salt>22c7c09370af2a3f07fe8665b140498a</CommonTypes:Salt>
+                 </CommonTypes:HashedPIN>
+
+              </CommonTypes:QRCodeIdentification>
+
+              <CommonTypes:PlugAndChargeIdentification>
+                 <CommonTypes:EVCOID>DE*GDF*01234ABCD*Z</CommonTypes:EVCOID>
+              </CommonTypes:PlugAndChargeIdentification>
+
+              <CommonTypes:RemoteIdentification>
+                 <CommonTypes:EVCOID>DE*GDF*01234ABCD*Z</CommonTypes:EVCOID>
+              </CommonTypes:RemoteIdentification>
+
+            </Authorization:Identification>
+
+            <!--Optional:-->
+            <Authorization:ChargingStart>2015-10-23T15:45:30.000Z</Authorization:ChargingStart>
+            <!--Optional:-->
+            <Authorization:ChargingEnd>2015-10-23T16:59:31.000Z</Authorization:ChargingEnd>
+
+            <Authorization:SessionStart>2015-10-23T15:45:00.000Z</Authorization:SessionStart>
+            <Authorization:SessionEnd>2015-10-23T17:45:00.000Z</Authorization:SessionEnd>
+
+            <!--Optional:-->
+            <Authorization:MeterValueStart>123.456</Authorization:MeterValueStart>
+            <!--Optional:-->
+            <Authorization:MeterValueEnd>234.567</Authorization:MeterValueEnd>
+            <!--Optional:-->
+            <Authorization:MeterValueInBetween>
+              <!--1 or more repetitios: \d\.\d{0,3} -->
+              <Authorization:MeterValue>123.456</Authorization:MeterValue>
+              <Authorization:MeterValue>189.768</Authorization:MeterValue>
+              <Authorization:MeterValue>223.312</Authorization:MeterValue>
+              <Authorization:MeterValue>234.560</Authorization:MeterValue>
+              <Authorization:MeterValue>234.567</Authorization:MeterValue>
+            </Authorization:MeterValueInBetween>
+
+            <!--Optional:-->
+            <Authorization:ConsumedEnergy>111.111</Authorization:ConsumedEnergy>
+            <!--Optional:-->
+            <Authorization:MeteringSignature>?</Authorization:MeteringSignature>
+
+            <!--Optional:-->
+            <Authorization:HubOperatorID>?</Authorization:HubOperatorID>
+            <!--Optional:-->
+            <Authorization:HubProviderID>?</Authorization:HubProviderID>
+
+         </Authorization:eRoamingChargeDetailRecord>
+
+      </Authorization:eRoamingChargeDetailRecords>
+   </soapenv:Body>
+
+</soapenv:Envelope>
HTTPS SSH

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