Snippets

OICP 2.2 REST eRoamingPushPricingProductData

Created by Lukas Pflaum last modified
1
2
3
4
5
6
7
8
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/
{
  "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"
  }
}
{
  "CPOPartnerSessionID": "string",
  "EMPPartnerSessionID": "string",
  "Result": false,
  "SessionID": "string",
  "StatusCode": {
    "AdditionalInfo": "string",
    "Code": "000",
    "Description": "string"
  }
}

Comments (0)

HTTPS SSH

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