Snippets

OICP 2.1 Push Charge Detail Record | 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.

Section:
3.1.5 eRoamingChargeDetailRecord

To download the latest OICP Version, please visit our website:
https://www.hubject.com/downloads/
<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: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: \d\.\d{0,3} -->
         <Authorization:MeterValueStart>123.456</Authorization:MeterValueStart>
         <!--Optional: \d\.\d{0,3} -->
         <Authorization:MeterValueEnd>234.567</Authorization:MeterValueEnd>

         <!--Optional:-->
         <Authorization:MeterValueInBetween>
            <!--1 or more repetitions: \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:--  \d\.\d{0,3} -->
         <Authorization:ConsumedEnergy>111.111</Authorization:ConsumedEnergy>
         <!--Optional:-->
         <Authorization:MeteringSignature>?</Authorization:MeteringSignature>

         <!--Optional:-->
         <Authorization:HubOperatorID>?</Authorization:HubOperatorID>
         <!--Optional:-->
         <Authorization:HubProviderID>?</Authorization:HubProviderID>

      </Authorization:eRoamingChargeDetailRecord>
   </soapenv:Body>

</soapenv:Envelope>
<soapenv:Envelope xmlns:soapenv     = "http://schemas.xmlsoap.org/soap/envelope/"
                  xmlns:CommonTypes = "http://www.hubject.com/b2b/services/commontypes/v2.0">

   <soapenv:Header/>

   <soapenv:Body>
      <CommonTypes:eRoamingAcknowledgement>

         <CommonTypes:Result>?</CommonTypes:Result>

         <CommonTypes:StatusCode>

            <CommonTypes:Code>000</CommonTypes:Code>

            <!--Optional:-->
            <CommonTypes:Description>Success</CommonTypes:Description>

            <!--Optional:-->
            <CommonTypes:AdditionalInfo>?</CommonTypes:AdditionalInfo>

         </CommonTypes:StatusCode>

         <!--Optional:-->
         <CommonTypes:SessionID>de164e08-1c88-1293-537b-be355041070e</CommonTypes:SessionID>

         <!--Optional:-->
         <CommonTypes:PartnerSessionID>0815</CommonTypes:PartnerSessionID>

      </CommonTypes:eRoamingAcknowledgement>
   </soapenv:Body>

</soapenv:Envelope>

Comments (0)

HTTPS SSH

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