Snippets

OICP 2.2 REST eRoamingPushPricingProductData

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/dynamicpricing/v10/operators/{operatorID}/pricing-products
+for PROD - environment: https://service.hubject.com/api/oicp/dynamicpricing/v10/operators/{operatorID}/pricing-products
+
+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): eRoamingAcknowledgement.json Deleted

  • Ignore whitespace
  • Hide word diff
-{
-  "CPOPartnerSessionID": "string",
-  "EMPPartnerSessionID": "string",
-  "Result": false,
-  "SessionID": "string",
-  "StatusCode": {
-    "AdditionalInfo": "string",
-    "Code": "000",
-    "Description": "string"
-  }
-}

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

  • Ignore whitespace
  • Hide word diff
+{
+  "CPOPartnerSessionID": "string",
+  "EMPPartnerSessionID": "string",
+  "Result": false,
+  "SessionID": "string",
+  "StatusCode": {
+    "AdditionalInfo": "string",
+    "Code": "000",
+    "Description": "string"
+  }
+}
Updated by Lukas Pflaum

File (1) POST Deleted

  • Ignore whitespace
  • Hide word diff
-{
-  "ActionType": "fullLoad",
-  "PricingProductData": {
-    "OperatorID": "string",
-    "OperatorName": "string",
-    "PricingDefaultPrice": 0,
-    "PricingDefaultPriceCurrency": "UNDEFINED",
-    "PricingDefaultReferenceUnit": "HOUR",
-    "PricingProductDataRecords": [
-      {
-        "AdditionalReferences": {
-          "AdditionalReferenceUnit": "HOUR",
-          "PricePerAdditionalReferenceUnit": 0
-        },
-        "IsValid24hours": false,
-        "MaximumProductChargingPower": 0,
-        "PricePerReferenceUnit": 0,
-        "ProductAvailabilityTimes": [
-          {
-            "Periods": [
-              {
-                "begin": "string",
-                "end": "string"
-              }
-            ],
-            "on": "Everyday"
-          }
-        ],
-        "ProductID": "string",
-        "ProductPriceCurrency": "UNDEFINED",
-        "ReferenceUnit": "HOUR"
-      }
-    ],
-    "ProviderID": "string"
-  }
-}

File (1) POST.json Added

  • Ignore whitespace
  • Hide word diff
+{
+  "ActionType": "fullLoad",
+  "PricingProductData": {
+    "OperatorID": "string",
+    "OperatorName": "string",
+    "PricingDefaultPrice": 0,
+    "PricingDefaultPriceCurrency": "UNDEFINED",
+    "PricingDefaultReferenceUnit": "HOUR",
+    "PricingProductDataRecords": [
+      {
+        "AdditionalReferences": {
+          "AdditionalReferenceUnit": "HOUR",
+          "PricePerAdditionalReferenceUnit": 0
+        },
+        "IsValid24hours": false,
+        "MaximumProductChargingPower": 0,
+        "PricePerReferenceUnit": 0,
+        "ProductAvailabilityTimes": [
+          {
+            "Periods": [
+              {
+                "begin": "string",
+                "end": "string"
+              }
+            ],
+            "on": "Everyday"
+          }
+        ],
+        "ProductID": "string",
+        "ProductPriceCurrency": "UNDEFINED",
+        "ReferenceUnit": "HOUR"
+      }
+    ],
+    "ProviderID": "string"
+  }
+}

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

  • Ignore whitespace
  • Hide word diff
-{
-  "CPOPartnerSessionID": "string",
-  "EMPPartnerSessionID": "string",
-  "Result": false,
-  "SessionID": "string",
-  "StatusCode": {
-    "AdditionalInfo": "string",
-    "Code": "000",
-    "Description": "string"
-  }
-}

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

  • Ignore whitespace
  • Hide word diff
+{
+  "CPOPartnerSessionID": "string",
+  "EMPPartnerSessionID": "string",
+  "Result": false,
+  "SessionID": "string",
+  "StatusCode": {
+    "AdditionalInfo": "string",
+    "Code": "000",
+    "Description": "string"
+  }
+}
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
+{
+  "ActionType": "fullLoad",
+  "PricingProductData": {
+    "OperatorID": "string",
+    "OperatorName": "string",
+    "PricingDefaultPrice": 0,
+    "PricingDefaultPriceCurrency": "UNDEFINED",
+    "PricingDefaultReferenceUnit": "HOUR",
+    "PricingProductDataRecords": [
+      {
+        "AdditionalReferences": {
+          "AdditionalReferenceUnit": "HOUR",
+          "PricePerAdditionalReferenceUnit": 0
+        },
+        "IsValid24hours": false,
+        "MaximumProductChargingPower": 0,
+        "PricePerReferenceUnit": 0,
+        "ProductAvailabilityTimes": [
+          {
+            "Periods": [
+              {
+                "begin": "string",
+                "end": "string"
+              }
+            ],
+            "on": "Everyday"
+          }
+        ],
+        "ProductID": "string",
+        "ProductPriceCurrency": "UNDEFINED",
+        "ReferenceUnit": "HOUR"
+      }
+    ],
+    "ProviderID": "string"
+  }
+}

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

  • Ignore whitespace
  • Hide word diff
+{
+  "CPOPartnerSessionID": "string",
+  "EMPPartnerSessionID": "string",
+  "Result": false,
+  "SessionID": "string",
+  "StatusCode": {
+    "AdditionalInfo": "string",
+    "Code": "000",
+    "Description": "string"
+  }
+}
HTTPS SSH

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