Snippets

OICP 2.2 REST eRoamingGetChargeDetailRecords

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/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/
1
2
3
4
5
6
{
  "From": "2018-01-23T14:20:10.285Z",
  "OperatorID": "string",
  "ProviderID": "string",
  "To": "2018-01-23T14:20:10.285Z"
}
{
  "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"
    }
  ]
}

Comments (0)

HTTPS SSH

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