Snippets

OICP 2.1 Push Authentication Data | 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.3.1 eRoamingPushAuthenticationData
+
+To download the latest OICP Version, please visit our website:
+https://www.hubject.com/downloads/
Created by Gregor Schermuly

File (1) Push Authentication Data | XML.xml Added

  • Ignore whitespace
  • Hide word diff
+<soapenv:Envelope xmlns:soapenv            = "http://schemas.xmlsoap.org/soap/envelope/"
+                  xmlns:AuthenticationData = "http://www.hubject.com/b2b/services/authenticationdata/v2.0"
+                  xmlns:CommonTypes        = "http://www.hubject.com/b2b/services/commontypes/v2.0">
+
+   <soapenv:Header/>
+
+   <soapenv:Body>
+      <AuthenticationData:eRoamingPushAuthenticationData>
+
+         <AuthenticationData:ActionType>fullLoad|update|insert|delete</AuthenticationData:ActionType>
+
+         <AuthenticationData:ProviderAuthenticationData>
+
+            <AuthenticationData:ProviderID>DE*GDF</AuthenticationData:ProviderID>
+
+            <!--Zero or more repetitions:-->
+            <AuthenticationData:AuthenticationDataRecord>
+               <AuthenticationData: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>?</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>
+
+               </AuthenticationData:Identification>
+            </AuthenticationData:AuthenticationDataRecord>
+
+         </AuthenticationData:ProviderAuthenticationData>
+
+      </AuthenticationData:eRoamingPushAuthenticationData>
+   </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:CommonTypes = "http://www.hubject.com/b2b/services/commontypes/v2.0">
+
+    <soapenv:Body>
+
+        <CommonTypes:eRoamingAcknowledgement>
+
+            <CommonTypes:Result>true|false</CommonTypes:Result>
+
+            <CommonTypes:StatusCode>
+                <CommonTypes:Code>000</CommonTypes:Code>
+                <CommonTypes:Description>Success</CommonTypes:Description>
+                <CommonTypes:AdditionalInfo />
+            </CommonTypes:StatusCode>
+
+        </CommonTypes:eRoamingAcknowledgement>
+    </soapenv:Body>
+
+</soapenv:Envelope>
HTTPS SSH

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