Snippets

OICP 2.2 REST eRoamingPullEvseData

Updated by Lukas Pflaum

File (0) OICP Modified

  • Ignore whitespace
  • Hide word diff
-The service description can be found in the OICP 2.2.
+The Service End Points to which the below POST command should be sent are: 
 
+for QA - environment: https://service-qa.hubject.com/api/oicp/evsepull/v22/providers/{providerID}/data-records
+for PROD - environment: https://service.hubject.com/api/oicp/evsepull/v22/providers/{providerID}/data-records
+
+The service description can be found in the OICP protocol version 2.2.
 To download the latest OICP Version, please visit our website:
 https://www.hubject.com/downloads/

File (2) Answer (Code 200): eRoamingEvseData.json Deleted

  • Ignore whitespace
  • Hide word diff
-{
-  "EvseData": {
-    "OperatorEvseData": [
-      {
-        "EvseDataRecord": [
-          {
-            "Accessibility": "Unspecified",
-            "AdditionalInfo": [
-              {
-                "lang": "string",
-                "value": "string"
-              }
-            ],
-            "Address": {
-              "City": "string",
-              "Country": "string",
-              "Floor": "string",
-              "HouseNum": "string",
-              "PostalCode": "string",
-              "Region": "string",
-              "Street": "string",
-              "TimeZone": "string"
-            },
-            "AuthenticationModes": [
-              "NFC RFID Classic"
-            ],
-            "ChargingFacilities": [
-              {
-                "Amperage": 0,
-                "Power": 0,
-                "PowerType": "AC_1_PHASE",
-                "Voltage": 0
-              }
-            ],
-            "ChargingModes": [
-              "Mode_1"
-            ],
-            "ChargingPoolID": "string",
-            "ChargingStationID": "string",
-            "ChargingStationName": "string",
-            "ClearinghouseID": "string",
-            "DynamicInfoAvailable": "true",
-            "EnChargingStationName": "string",
-            "EvseID": "string",
-            "GeoChargingPointEntrance": {
-              "Google": {
-                "Coordinates": "string"
-              },
-              "DecimalDegree": {
-                "Latitude": "string",
-                "Longitude": "string"
-              },
-              "DegreeMinuteSeconds": {
-                "Latitude": "string",
-                "Longitude": "string"
-              }
-            },
-            "GeoCoordinates": {
-              "Google": {
-                "Coordinates": "string"
-              },
-              "DecimalDegree": {
-                "Latitude": "string",
-                "Longitude": "string"
-              },
-              "DegreeMinuteSeconds": {
-                "Latitude": "string",
-                "Longitude": "string"
-              }
-            },
-            "HotlinePhoneNumber": "string",
-            "HubOperatorID": "string",
-            "IsHubjectCompatible": false,
-            "IsOpen24Hours": false,
-            "MaxCapacity": 0,
-            "OpeningTimes": [
-              {
-                "Period": [
-                  {
-                    "begin": "string",
-                    "end": "string"
-                  }
-                ],
-                "on": "Everyday"
-              }
-            ],
-            "PaymentOptions": [
-              "No Payment"
-            ],
-            "Plugs": [
-              "Small Paddle Inductive"
-            ],
-            "ValueAddedServices": [
-              "Reservation"
-            ],
-            "deltaType": "insert",
-            "lastUpdate": "2018-01-23T14:27:51.759Z"
-          }
-        ],
-        "OperatorID": "string",
-        "OperatorName": "string"
-      }
-    ]
-  },
-  "StatusCode": {
-    "AdditionalInfo": "string",
-    "Code": "000",
-    "Description": "string"
-  }
-}

File (2) Response (Code 200): eRoamingEvseData.json Added

  • Ignore whitespace
  • Hide word diff
+{
+  "EvseData": {
+    "OperatorEvseData": [
+      {
+        "EvseDataRecord": [
+          {
+            "Accessibility": "Unspecified",
+            "AdditionalInfo": [
+              {
+                "lang": "string",
+                "value": "string"
+              }
+            ],
+            "Address": {
+              "City": "string",
+              "Country": "string",
+              "Floor": "string",
+              "HouseNum": "string",
+              "PostalCode": "string",
+              "Region": "string",
+              "Street": "string",
+              "TimeZone": "string"
+            },
+            "AuthenticationModes": [
+              "NFC RFID Classic"
+            ],
+            "ChargingFacilities": [
+              {
+                "Amperage": 0,
+                "Power": 0,
+                "PowerType": "AC_1_PHASE",
+                "Voltage": 0
+              }
+            ],
+            "ChargingModes": [
+              "Mode_1"
+            ],
+            "ChargingPoolID": "string",
+            "ChargingStationID": "string",
+            "ChargingStationName": "string",
+            "ClearinghouseID": "string",
+            "DynamicInfoAvailable": "true",
+            "EnChargingStationName": "string",
+            "EvseID": "string",
+            "GeoChargingPointEntrance": {
+              "Google": {
+                "Coordinates": "string"
+              },
+              "DecimalDegree": {
+                "Latitude": "string",
+                "Longitude": "string"
+              },
+              "DegreeMinuteSeconds": {
+                "Latitude": "string",
+                "Longitude": "string"
+              }
+            },
+            "GeoCoordinates": {
+              "Google": {
+                "Coordinates": "string"
+              },
+              "DecimalDegree": {
+                "Latitude": "string",
+                "Longitude": "string"
+              },
+              "DegreeMinuteSeconds": {
+                "Latitude": "string",
+                "Longitude": "string"
+              }
+            },
+            "HotlinePhoneNumber": "string",
+            "HubOperatorID": "string",
+            "IsHubjectCompatible": false,
+            "IsOpen24Hours": false,
+            "MaxCapacity": 0,
+            "OpeningTimes": [
+              {
+                "Period": [
+                  {
+                    "begin": "string",
+                    "end": "string"
+                  }
+                ],
+                "on": "Everyday"
+              }
+            ],
+            "PaymentOptions": [
+              "No Payment"
+            ],
+            "Plugs": [
+              "Small Paddle Inductive"
+            ],
+            "ValueAddedServices": [
+              "Reservation"
+            ],
+            "deltaType": "insert",
+            "lastUpdate": "2018-01-23T14:27:51.759Z"
+          }
+        ],
+        "OperatorID": "string",
+        "OperatorName": "string"
+      }
+    ]
+  },
+  "StatusCode": {
+    "AdditionalInfo": "string",
+    "Code": "000",
+    "Description": "string"
+  }
+}
Updated by Lukas Pflaum

File (0) OICP Added

  • Ignore whitespace
  • Hide word diff
+The service description can be found in the OICP 2.2.
+
+To download the latest OICP Version, please visit our website:
+https://www.hubject.com/downloads/

File (1) POST Deleted

  • Ignore whitespace
  • Hide word diff
-{
-  "CountryCodes": [
-    "string"
-  ],
-  "GeoCoordinatesResponseFormat": "Google",
-  "LastCall": "2018-01-23T14:27:43.052Z",
-  "OperatorIds": [
-    "string"
-  ],
-  "ProviderID": "string",
-  "SearchCenter": {
-    "GeoCoordinates": {
-      "Google": {
-        "Coordinates": "string"
-      },
-      "DecimalDegree": {
-        "Latitude": "string",
-        "Longitude": "string"
-      },
-      "DegreeMinuteSeconds": {
-        "Latitude": "string",
-        "Longitude": "string"
-      }
-    },
-    "Radius": 0
-  }
-}

File (1) POST.json Added

  • Ignore whitespace
  • Hide word diff
+{
+  "CountryCodes": [
+    "string"
+  ],
+  "GeoCoordinatesResponseFormat": "Google",
+  "LastCall": "2018-01-23T14:27:43.052Z",
+  "OperatorIds": [
+    "string"
+  ],
+  "ProviderID": "string",
+  "SearchCenter": {
+    "GeoCoordinates": {
+      "Google": {
+        "Coordinates": "string"
+      },
+      "DecimalDegree": {
+        "Latitude": "string",
+        "Longitude": "string"
+      },
+      "DegreeMinuteSeconds": {
+        "Latitude": "string",
+        "Longitude": "string"
+      }
+    },
+    "Radius": 0
+  }
+}

File (2) Answer (Code 200): eRoamingEvseData Deleted

  • Ignore whitespace
  • Hide word diff
-{
-  "EvseData": {
-    "OperatorEvseData": [
-      {
-        "EvseDataRecord": [
-          {
-            "Accessibility": "Unspecified",
-            "AdditionalInfo": [
-              {
-                "lang": "string",
-                "value": "string"
-              }
-            ],
-            "Address": {
-              "City": "string",
-              "Country": "string",
-              "Floor": "string",
-              "HouseNum": "string",
-              "PostalCode": "string",
-              "Region": "string",
-              "Street": "string",
-              "TimeZone": "string"
-            },
-            "AuthenticationModes": [
-              "NFC RFID Classic"
-            ],
-            "ChargingFacilities": [
-              {
-                "Amperage": 0,
-                "Power": 0,
-                "PowerType": "AC_1_PHASE",
-                "Voltage": 0
-              }
-            ],
-            "ChargingModes": [
-              "Mode_1"
-            ],
-            "ChargingPoolID": "string",
-            "ChargingStationID": "string",
-            "ChargingStationName": "string",
-            "ClearinghouseID": "string",
-            "DynamicInfoAvailable": "true",
-            "EnChargingStationName": "string",
-            "EvseID": "string",
-            "GeoChargingPointEntrance": {
-              "Google": {
-                "Coordinates": "string"
-              },
-              "DecimalDegree": {
-                "Latitude": "string",
-                "Longitude": "string"
-              },
-              "DegreeMinuteSeconds": {
-                "Latitude": "string",
-                "Longitude": "string"
-              }
-            },
-            "GeoCoordinates": {
-              "Google": {
-                "Coordinates": "string"
-              },
-              "DecimalDegree": {
-                "Latitude": "string",
-                "Longitude": "string"
-              },
-              "DegreeMinuteSeconds": {
-                "Latitude": "string",
-                "Longitude": "string"
-              }
-            },
-            "HotlinePhoneNumber": "string",
-            "HubOperatorID": "string",
-            "IsHubjectCompatible": false,
-            "IsOpen24Hours": false,
-            "MaxCapacity": 0,
-            "OpeningTimes": [
-              {
-                "Period": [
-                  {
-                    "begin": "string",
-                    "end": "string"
-                  }
-                ],
-                "on": "Everyday"
-              }
-            ],
-            "PaymentOptions": [
-              "No Payment"
-            ],
-            "Plugs": [
-              "Small Paddle Inductive"
-            ],
-            "ValueAddedServices": [
-              "Reservation"
-            ],
-            "deltaType": "insert",
-            "lastUpdate": "2018-01-23T14:27:51.759Z"
-          }
-        ],
-        "OperatorID": "string",
-        "OperatorName": "string"
-      }
-    ]
-  },
-  "StatusCode": {
-    "AdditionalInfo": "string",
-    "Code": "000",
-    "Description": "string"
-  }
-}

File (2) Answer (Code 200): eRoamingEvseData.json Added

  • Ignore whitespace
  • Hide word diff
+{
+  "EvseData": {
+    "OperatorEvseData": [
+      {
+        "EvseDataRecord": [
+          {
+            "Accessibility": "Unspecified",
+            "AdditionalInfo": [
+              {
+                "lang": "string",
+                "value": "string"
+              }
+            ],
+            "Address": {
+              "City": "string",
+              "Country": "string",
+              "Floor": "string",
+              "HouseNum": "string",
+              "PostalCode": "string",
+              "Region": "string",
+              "Street": "string",
+              "TimeZone": "string"
+            },
+            "AuthenticationModes": [
+              "NFC RFID Classic"
+            ],
+            "ChargingFacilities": [
+              {
+                "Amperage": 0,
+                "Power": 0,
+                "PowerType": "AC_1_PHASE",
+                "Voltage": 0
+              }
+            ],
+            "ChargingModes": [
+              "Mode_1"
+            ],
+            "ChargingPoolID": "string",
+            "ChargingStationID": "string",
+            "ChargingStationName": "string",
+            "ClearinghouseID": "string",
+            "DynamicInfoAvailable": "true",
+            "EnChargingStationName": "string",
+            "EvseID": "string",
+            "GeoChargingPointEntrance": {
+              "Google": {
+                "Coordinates": "string"
+              },
+              "DecimalDegree": {
+                "Latitude": "string",
+                "Longitude": "string"
+              },
+              "DegreeMinuteSeconds": {
+                "Latitude": "string",
+                "Longitude": "string"
+              }
+            },
+            "GeoCoordinates": {
+              "Google": {
+                "Coordinates": "string"
+              },
+              "DecimalDegree": {
+                "Latitude": "string",
+                "Longitude": "string"
+              },
+              "DegreeMinuteSeconds": {
+                "Latitude": "string",
+                "Longitude": "string"
+              }
+            },
+            "HotlinePhoneNumber": "string",
+            "HubOperatorID": "string",
+            "IsHubjectCompatible": false,
+            "IsOpen24Hours": false,
+            "MaxCapacity": 0,
+            "OpeningTimes": [
+              {
+                "Period": [
+                  {
+                    "begin": "string",
+                    "end": "string"
+                  }
+                ],
+                "on": "Everyday"
+              }
+            ],
+            "PaymentOptions": [
+              "No Payment"
+            ],
+            "Plugs": [
+              "Small Paddle Inductive"
+            ],
+            "ValueAddedServices": [
+              "Reservation"
+            ],
+            "deltaType": "insert",
+            "lastUpdate": "2018-01-23T14:27:51.759Z"
+          }
+        ],
+        "OperatorID": "string",
+        "OperatorName": "string"
+      }
+    ]
+  },
+  "StatusCode": {
+    "AdditionalInfo": "string",
+    "Code": "000",
+    "Description": "string"
+  }
+}
Created by Lukas Pflaum

File (1) POST Added

  • Ignore whitespace
  • Hide word diff
+{
+  "CountryCodes": [
+    "string"
+  ],
+  "GeoCoordinatesResponseFormat": "Google",
+  "LastCall": "2018-01-23T14:27:43.052Z",
+  "OperatorIds": [
+    "string"
+  ],
+  "ProviderID": "string",
+  "SearchCenter": {
+    "GeoCoordinates": {
+      "Google": {
+        "Coordinates": "string"
+      },
+      "DecimalDegree": {
+        "Latitude": "string",
+        "Longitude": "string"
+      },
+      "DegreeMinuteSeconds": {
+        "Latitude": "string",
+        "Longitude": "string"
+      }
+    },
+    "Radius": 0
+  }
+}

File (2) Answer (Code 200): eRoamingEvseData Added

  • Ignore whitespace
  • Hide word diff
+{
+  "EvseData": {
+    "OperatorEvseData": [
+      {
+        "EvseDataRecord": [
+          {
+            "Accessibility": "Unspecified",
+            "AdditionalInfo": [
+              {
+                "lang": "string",
+                "value": "string"
+              }
+            ],
+            "Address": {
+              "City": "string",
+              "Country": "string",
+              "Floor": "string",
+              "HouseNum": "string",
+              "PostalCode": "string",
+              "Region": "string",
+              "Street": "string",
+              "TimeZone": "string"
+            },
+            "AuthenticationModes": [
+              "NFC RFID Classic"
+            ],
+            "ChargingFacilities": [
+              {
+                "Amperage": 0,
+                "Power": 0,
+                "PowerType": "AC_1_PHASE",
+                "Voltage": 0
+              }
+            ],
+            "ChargingModes": [
+              "Mode_1"
+            ],
+            "ChargingPoolID": "string",
+            "ChargingStationID": "string",
+            "ChargingStationName": "string",
+            "ClearinghouseID": "string",
+            "DynamicInfoAvailable": "true",
+            "EnChargingStationName": "string",
+            "EvseID": "string",
+            "GeoChargingPointEntrance": {
+              "Google": {
+                "Coordinates": "string"
+              },
+              "DecimalDegree": {
+                "Latitude": "string",
+                "Longitude": "string"
+              },
+              "DegreeMinuteSeconds": {
+                "Latitude": "string",
+                "Longitude": "string"
+              }
+            },
+            "GeoCoordinates": {
+              "Google": {
+                "Coordinates": "string"
+              },
+              "DecimalDegree": {
+                "Latitude": "string",
+                "Longitude": "string"
+              },
+              "DegreeMinuteSeconds": {
+                "Latitude": "string",
+                "Longitude": "string"
+              }
+            },
+            "HotlinePhoneNumber": "string",
+            "HubOperatorID": "string",
+            "IsHubjectCompatible": false,
+            "IsOpen24Hours": false,
+            "MaxCapacity": 0,
+            "OpeningTimes": [
+              {
+                "Period": [
+                  {
+                    "begin": "string",
+                    "end": "string"
+                  }
+                ],
+                "on": "Everyday"
+              }
+            ],
+            "PaymentOptions": [
+              "No Payment"
+            ],
+            "Plugs": [
+              "Small Paddle Inductive"
+            ],
+            "ValueAddedServices": [
+              "Reservation"
+            ],
+            "deltaType": "insert",
+            "lastUpdate": "2018-01-23T14:27:51.759Z"
+          }
+        ],
+        "OperatorID": "string",
+        "OperatorName": "string"
+      }
+    ]
+  },
+  "StatusCode": {
+    "AdditionalInfo": "string",
+    "Code": "000",
+    "Description": "string"
+  }
+}
HTTPS SSH

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