Snippets

OICP 2.2 REST eRoamingGetChargeDetailRecords

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/cdrmgmt/v21/providers/{providerID}/get-charge-detail-records-request
+for PROD - environment: https://service.hubject.com/api/oicp/cdrmgmt/v21/providers/{providerID}/get-charge-detail-records-request
+
+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):eRoamingChargeDetailRecords.json Deleted

  • Ignore whitespace
  • Hide word diff
-{
-  "eroamingChargeDetailRecords": [
-    {
-      "CPOPartnerSessionID": "string",
-      "ChargingEnd": "2018-01-23T14:20:20.977Z",
-      "ChargingStart": "2018-01-23T14:20:20.977Z",
-      "ConsumedEnergy": 0,
-      "EMPPartnerSessionID": "string",
-      "EvseID": "string",
-      "HubOperatorID": "string",
-      "HubProviderID": "string",
-      "Identification": {
-        "PlugAndChargeIdentification": {
-          "EvcoID": "string"
-        },
-        "QRCodeIdentification": {
-          "EvcoID": "string",
-          "HashedPIN": {
-            "Function": "Bcrypt",
-            "LegacyHashData": {
-              "Function": "MD5",
-              "Salt": "string",
-              "Value": "string"
-            },
-            "Value": "string"
-          },
-          "PIN": "string"
-        },
-        "RFIDIdentification": {
-          "EvcoID": "string",
-          "ExpiryDate": "2018-01-23T14:20:20.977Z",
-          "PrintedNumber": "string",
-          "RFID": "mifareCls",
-          "UID": "string"
-        },
-        "RFIDMifareFamilyIdentification": {
-          "UID": "string"
-        },
-        "RemoteIdentification": {
-          "EvcoID": "string"
-        }
-      },
-      "MeterValueEnd": 0,
-      "MeterValueInBetween": {
-        "meterValues": [
-          0
-        ]
-      },
-      "MeterValueStart": 0,
-      "MeteringSignature": "string",
-      "PartnerProductID": "string",
-      "SessionEnd": "2018-01-23T14:20:20.977Z",
-      "SessionID": "string",
-      "SessionStart": "2018-01-23T14:20:20.977Z"
-    }
-  ]
-}

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

  • Ignore whitespace
  • Hide word diff
+{
+  "eroamingChargeDetailRecords": [
+    {
+      "CPOPartnerSessionID": "string",
+      "ChargingEnd": "2018-01-23T14:20:20.977Z",
+      "ChargingStart": "2018-01-23T14:20:20.977Z",
+      "ConsumedEnergy": 0,
+      "EMPPartnerSessionID": "string",
+      "EvseID": "string",
+      "HubOperatorID": "string",
+      "HubProviderID": "string",
+      "Identification": {
+        "PlugAndChargeIdentification": {
+          "EvcoID": "string"
+        },
+        "QRCodeIdentification": {
+          "EvcoID": "string",
+          "HashedPIN": {
+            "Function": "Bcrypt",
+            "LegacyHashData": {
+              "Function": "MD5",
+              "Salt": "string",
+              "Value": "string"
+            },
+            "Value": "string"
+          },
+          "PIN": "string"
+        },
+        "RFIDIdentification": {
+          "EvcoID": "string",
+          "ExpiryDate": "2018-01-23T14:20:20.977Z",
+          "PrintedNumber": "string",
+          "RFID": "mifareCls",
+          "UID": "string"
+        },
+        "RFIDMifareFamilyIdentification": {
+          "UID": "string"
+        },
+        "RemoteIdentification": {
+          "EvcoID": "string"
+        }
+      },
+      "MeterValueEnd": 0,
+      "MeterValueInBetween": {
+        "meterValues": [
+          0
+        ]
+      },
+      "MeterValueStart": 0,
+      "MeteringSignature": "string",
+      "PartnerProductID": "string",
+      "SessionEnd": "2018-01-23T14:20:20.977Z",
+      "SessionID": "string",
+      "SessionStart": "2018-01-23T14:20:20.977Z"
+    }
+  ]
+}
Updated by Lukas Pflaum

File (1) POST Deleted

  • Ignore whitespace
  • Hide word diff
-{
-  "From": "2018-01-23T14:20:10.285Z",
-  "OperatorID": "string",
-  "ProviderID": "string",
-  "To": "2018-01-23T14:20:10.285Z"
-}

File (1) POST.json Added

  • Ignore whitespace
  • Hide word diff
+{
+  "From": "2018-01-23T14:20:10.285Z",
+  "OperatorID": "string",
+  "ProviderID": "string",
+  "To": "2018-01-23T14:20:10.285Z"
+}

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

  • Ignore whitespace
  • Hide word diff
-{
-  "eroamingChargeDetailRecords": [
-    {
-      "CPOPartnerSessionID": "string",
-      "ChargingEnd": "2018-01-23T14:20:20.977Z",
-      "ChargingStart": "2018-01-23T14:20:20.977Z",
-      "ConsumedEnergy": 0,
-      "EMPPartnerSessionID": "string",
-      "EvseID": "string",
-      "HubOperatorID": "string",
-      "HubProviderID": "string",
-      "Identification": {
-        "PlugAndChargeIdentification": {
-          "EvcoID": "string"
-        },
-        "QRCodeIdentification": {
-          "EvcoID": "string",
-          "HashedPIN": {
-            "Function": "Bcrypt",
-            "LegacyHashData": {
-              "Function": "MD5",
-              "Salt": "string",
-              "Value": "string"
-            },
-            "Value": "string"
-          },
-          "PIN": "string"
-        },
-        "RFIDIdentification": {
-          "EvcoID": "string",
-          "ExpiryDate": "2018-01-23T14:20:20.977Z",
-          "PrintedNumber": "string",
-          "RFID": "mifareCls",
-          "UID": "string"
-        },
-        "RFIDMifareFamilyIdentification": {
-          "UID": "string"
-        },
-        "RemoteIdentification": {
-          "EvcoID": "string"
-        }
-      },
-      "MeterValueEnd": 0,
-      "MeterValueInBetween": {
-        "meterValues": [
-          0
-        ]
-      },
-      "MeterValueStart": 0,
-      "MeteringSignature": "string",
-      "PartnerProductID": "string",
-      "SessionEnd": "2018-01-23T14:20:20.977Z",
-      "SessionID": "string",
-      "SessionStart": "2018-01-23T14:20:20.977Z"
-    }
-  ]
-}

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

  • Ignore whitespace
  • Hide word diff
+{
+  "eroamingChargeDetailRecords": [
+    {
+      "CPOPartnerSessionID": "string",
+      "ChargingEnd": "2018-01-23T14:20:20.977Z",
+      "ChargingStart": "2018-01-23T14:20:20.977Z",
+      "ConsumedEnergy": 0,
+      "EMPPartnerSessionID": "string",
+      "EvseID": "string",
+      "HubOperatorID": "string",
+      "HubProviderID": "string",
+      "Identification": {
+        "PlugAndChargeIdentification": {
+          "EvcoID": "string"
+        },
+        "QRCodeIdentification": {
+          "EvcoID": "string",
+          "HashedPIN": {
+            "Function": "Bcrypt",
+            "LegacyHashData": {
+              "Function": "MD5",
+              "Salt": "string",
+              "Value": "string"
+            },
+            "Value": "string"
+          },
+          "PIN": "string"
+        },
+        "RFIDIdentification": {
+          "EvcoID": "string",
+          "ExpiryDate": "2018-01-23T14:20:20.977Z",
+          "PrintedNumber": "string",
+          "RFID": "mifareCls",
+          "UID": "string"
+        },
+        "RFIDMifareFamilyIdentification": {
+          "UID": "string"
+        },
+        "RemoteIdentification": {
+          "EvcoID": "string"
+        }
+      },
+      "MeterValueEnd": 0,
+      "MeterValueInBetween": {
+        "meterValues": [
+          0
+        ]
+      },
+      "MeterValueStart": 0,
+      "MeteringSignature": "string",
+      "PartnerProductID": "string",
+      "SessionEnd": "2018-01-23T14:20:20.977Z",
+      "SessionID": "string",
+      "SessionStart": "2018-01-23T14:20:20.977Z"
+    }
+  ]
+}
Created 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 Added

  • Ignore whitespace
  • Hide word diff
+{
+  "From": "2018-01-23T14:20:10.285Z",
+  "OperatorID": "string",
+  "ProviderID": "string",
+  "To": "2018-01-23T14:20:10.285Z"
+}

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

  • Ignore whitespace
  • Hide word diff
+{
+  "eroamingChargeDetailRecords": [
+    {
+      "CPOPartnerSessionID": "string",
+      "ChargingEnd": "2018-01-23T14:20:20.977Z",
+      "ChargingStart": "2018-01-23T14:20:20.977Z",
+      "ConsumedEnergy": 0,
+      "EMPPartnerSessionID": "string",
+      "EvseID": "string",
+      "HubOperatorID": "string",
+      "HubProviderID": "string",
+      "Identification": {
+        "PlugAndChargeIdentification": {
+          "EvcoID": "string"
+        },
+        "QRCodeIdentification": {
+          "EvcoID": "string",
+          "HashedPIN": {
+            "Function": "Bcrypt",
+            "LegacyHashData": {
+              "Function": "MD5",
+              "Salt": "string",
+              "Value": "string"
+            },
+            "Value": "string"
+          },
+          "PIN": "string"
+        },
+        "RFIDIdentification": {
+          "EvcoID": "string",
+          "ExpiryDate": "2018-01-23T14:20:20.977Z",
+          "PrintedNumber": "string",
+          "RFID": "mifareCls",
+          "UID": "string"
+        },
+        "RFIDMifareFamilyIdentification": {
+          "UID": "string"
+        },
+        "RemoteIdentification": {
+          "EvcoID": "string"
+        }
+      },
+      "MeterValueEnd": 0,
+      "MeterValueInBetween": {
+        "meterValues": [
+          0
+        ]
+      },
+      "MeterValueStart": 0,
+      "MeteringSignature": "string",
+      "PartnerProductID": "string",
+      "SessionEnd": "2018-01-23T14:20:20.977Z",
+      "SessionID": "string",
+      "SessionStart": "2018-01-23T14:20:20.977Z"
+    }
+  ]
+}
HTTPS SSH

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