Snippets

OICP 2.1 Authorize Start | XML

Updated by Julius Poessnecker

File (0) OICP Modified

  • Ignore whitespace
  • Hide word diff
-The service descrciption can be found in the OICP 2.1.
+The service description can be found in the OICP 2.1.
 
 Section:
 3.1.1 eRoamingAuthorizeStart
Updated by Julius Poessnecker

File (0) OICP Added

  • Ignore whitespace
  • Hide word diff
+The service descrciption can be found in the OICP 2.1.
+
+Section:
+3.1.1 eRoamingAuthorizeStart
+
+To download the latest OICP Version, please visit our website:
+https://www.hubject.com/downloads/
Updated by Gregor Schermuly

File (1) Authorize Start | XML.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:eRoamingAuthorizeStart>
+
+         <!--Optional:-->
+         <Authorization:SessionID>de164e08-1c88-1293-537b-be355041070e</Authorization:SessionID>
+         <!--Optional:-->
+         <Authorization:PartnerSessionID>0815</Authorization:PartnerSessionID>
+
+         <Authorization:OperatorID>DE*GEF</Authorization:OperatorID>
+
+         <!--Optional:-->
+         <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:PartnerProductID>AC1</Authorization:PartnerProductID>
+
+      </Authorization:eRoamingAuthorizeStart>
+   </soapenv:Body>
+
+</soapenv:Envelope>

File (2) Expected Response 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:eRoamingAuthorizationStart>
+
+         <!--Optional:-->
+         <Authorization:SessionID>de164e08-1c88-1293-537b-be355041070e</Authorization:SessionID>
+         <!--Optional:-->
+         <Authorization:PartnerSessionID>0815</Authorization:PartnerSessionID>
+         <!--Optional:-->
+         <Authorization:ProviderID>DE*GDF</Authorization:ProviderID>
+
+         <Authorization:AuthorizationStatus>Authorized|NotAuthorized</Authorization:AuthorizationStatus>
+
+         <Authorization:StatusCode>
+
+            <CommonTypes:Code>102</CommonTypes:Code>
+
+            <!--Optional:-->
+            <CommonTypes:Description>RFID Authentication failed - invalid UID</CommonTypes:Description>
+
+            <!--Optional:-->
+            <CommonTypes:AdditionalInfo>?</CommonTypes:AdditionalInfo>
+
+         </Authorization:StatusCode>
+
+         <!--Optional:-->
+         <Authorization:AuthorizationStopIdentifications>
+
+            <!--Zero or more repetitions:-->
+            <Authorization:Identification>
+
+               <!--You have a CHOICE of the next 4 items at this level-->
+               <CommonTypes:RFIDmifarefamilyIdentification>
+                  <CommonTypes:UID>?</CommonTypes:UID>
+               </CommonTypes:RFIDmifarefamilyIdentification>
+
+               <CommonTypes:QRCodeIdentification>
+
+                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
+
+                  <!--You have a CHOICE of the next 2 items at this level-->
+                  <CommonTypes:PIN>?</CommonTypes:PIN>
+
+                  <CommonTypes:HashedPIN>
+                     <CommonTypes:Value>?</CommonTypes:Value>
+                     <CommonTypes:Function>?</CommonTypes:Function>
+                     <CommonTypes:Salt>?</CommonTypes:Salt>
+                  </CommonTypes:HashedPIN>
+
+               </CommonTypes:QRCodeIdentification>
+
+               <CommonTypes:PlugAndChargeIdentification>
+                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
+               </CommonTypes:PlugAndChargeIdentification>
+
+               <CommonTypes:RemoteIdentification>
+                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
+               </CommonTypes:RemoteIdentification>
+
+            </Authorization:Identification>
+         </Authorization:AuthorizationStopIdentifications>
+
+      </Authorization:eRoamingAuthorizationStart>
+   </soapenv:Body>
+
+</soapenv:Envelope>

File Authorize Start | XML.xml Deleted

  • 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:eRoamingAuthorizeStart>
-
-         <!--Optional:-->
-         <Authorization:SessionID>de164e08-1c88-1293-537b-be355041070e</Authorization:SessionID>
-         <!--Optional:-->
-         <Authorization:PartnerSessionID>0815</Authorization:PartnerSessionID>
-
-         <Authorization:OperatorID>DE*GEF</Authorization:OperatorID>
-
-         <!--Optional:-->
-         <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:PartnerProductID>AC1</Authorization:PartnerProductID>
-
-      </Authorization:eRoamingAuthorizeStart>
-   </soapenv:Body>
-
-</soapenv:Envelope>

File Expected Response Deleted

  • 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:eRoamingAuthorizationStart>
-
-         <!--Optional:-->
-         <Authorization:SessionID>de164e08-1c88-1293-537b-be355041070e</Authorization:SessionID>
-         <!--Optional:-->
-         <Authorization:PartnerSessionID>0815</Authorization:PartnerSessionID>
-         <!--Optional:-->
-         <Authorization:ProviderID>DE*GDF</Authorization:ProviderID>
-
-         <Authorization:AuthorizationStatus>Authorized|NotAuthorized</Authorization:AuthorizationStatus>
-
-         <Authorization:StatusCode>
-
-            <CommonTypes:Code>102</CommonTypes:Code>
-
-            <!--Optional:-->
-            <CommonTypes:Description>RFID Authentication failed - invalid UID</CommonTypes:Description>
-
-            <!--Optional:-->
-            <CommonTypes:AdditionalInfo>?</CommonTypes:AdditionalInfo>
-
-         </Authorization:StatusCode>
-
-         <!--Optional:-->
-         <Authorization:AuthorizationStopIdentifications>
-
-            <!--Zero or more repetitions:-->
-            <Authorization:Identification>
-
-               <!--You have a CHOICE of the next 4 items at this level-->
-               <CommonTypes:RFIDmifarefamilyIdentification>
-                  <CommonTypes:UID>?</CommonTypes:UID>
-               </CommonTypes:RFIDmifarefamilyIdentification>
-
-               <CommonTypes:QRCodeIdentification>
-
-                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
-
-                  <!--You have a CHOICE of the next 2 items at this level-->
-                  <CommonTypes:PIN>?</CommonTypes:PIN>
-
-                  <CommonTypes:HashedPIN>
-                     <CommonTypes:Value>?</CommonTypes:Value>
-                     <CommonTypes:Function>?</CommonTypes:Function>
-                     <CommonTypes:Salt>?</CommonTypes:Salt>
-                  </CommonTypes:HashedPIN>
-
-               </CommonTypes:QRCodeIdentification>
-
-               <CommonTypes:PlugAndChargeIdentification>
-                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
-               </CommonTypes:PlugAndChargeIdentification>
-
-               <CommonTypes:RemoteIdentification>
-                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
-               </CommonTypes:RemoteIdentification>
-
-            </Authorization:Identification>
-         </Authorization:AuthorizationStopIdentifications>
-
-      </Authorization:eRoamingAuthorizationStart>
-   </soapenv:Body>
-
-</soapenv:Envelope>
Created by Gregor Schermuly

File Authorize Start | XML.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:eRoamingAuthorizeStart>
+
+         <!--Optional:-->
+         <Authorization:SessionID>de164e08-1c88-1293-537b-be355041070e</Authorization:SessionID>
+         <!--Optional:-->
+         <Authorization:PartnerSessionID>0815</Authorization:PartnerSessionID>
+
+         <Authorization:OperatorID>DE*GEF</Authorization:OperatorID>
+
+         <!--Optional:-->
+         <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:PartnerProductID>AC1</Authorization:PartnerProductID>
+
+      </Authorization:eRoamingAuthorizeStart>
+   </soapenv:Body>
+
+</soapenv:Envelope>

File Expected Response 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:eRoamingAuthorizationStart>
+
+         <!--Optional:-->
+         <Authorization:SessionID>de164e08-1c88-1293-537b-be355041070e</Authorization:SessionID>
+         <!--Optional:-->
+         <Authorization:PartnerSessionID>0815</Authorization:PartnerSessionID>
+         <!--Optional:-->
+         <Authorization:ProviderID>DE*GDF</Authorization:ProviderID>
+
+         <Authorization:AuthorizationStatus>Authorized|NotAuthorized</Authorization:AuthorizationStatus>
+
+         <Authorization:StatusCode>
+
+            <CommonTypes:Code>102</CommonTypes:Code>
+
+            <!--Optional:-->
+            <CommonTypes:Description>RFID Authentication failed - invalid UID</CommonTypes:Description>
+
+            <!--Optional:-->
+            <CommonTypes:AdditionalInfo>?</CommonTypes:AdditionalInfo>
+
+         </Authorization:StatusCode>
+
+         <!--Optional:-->
+         <Authorization:AuthorizationStopIdentifications>
+
+            <!--Zero or more repetitions:-->
+            <Authorization:Identification>
+
+               <!--You have a CHOICE of the next 4 items at this level-->
+               <CommonTypes:RFIDmifarefamilyIdentification>
+                  <CommonTypes:UID>?</CommonTypes:UID>
+               </CommonTypes:RFIDmifarefamilyIdentification>
+
+               <CommonTypes:QRCodeIdentification>
+
+                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
+
+                  <!--You have a CHOICE of the next 2 items at this level-->
+                  <CommonTypes:PIN>?</CommonTypes:PIN>
+
+                  <CommonTypes:HashedPIN>
+                     <CommonTypes:Value>?</CommonTypes:Value>
+                     <CommonTypes:Function>?</CommonTypes:Function>
+                     <CommonTypes:Salt>?</CommonTypes:Salt>
+                  </CommonTypes:HashedPIN>
+
+               </CommonTypes:QRCodeIdentification>
+
+               <CommonTypes:PlugAndChargeIdentification>
+                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
+               </CommonTypes:PlugAndChargeIdentification>
+
+               <CommonTypes:RemoteIdentification>
+                  <CommonTypes:EVCOID>?</CommonTypes:EVCOID>
+               </CommonTypes:RemoteIdentification>
+
+            </Authorization:Identification>
+         </Authorization:AuthorizationStopIdentifications>
+
+      </Authorization:eRoamingAuthorizationStart>
+   </soapenv:Body>
+
+</soapenv:Envelope>
HTTPS SSH

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