Snippets

OICP 2.2 REST eRoamingAuthorizeStop

Created by Lukas Pflaum last modified Antonio Acuna
The Service End Points to which the below POST command should be sent are: 

for QA - environment: https://service-qa.hubject.com/api/oicp/charging/v21/operators/{operatorID}/authorize/stop
for PROD - environment: https://service.hubject.com/api/oicp/charging/v21/operators/{operatorID}/authorize/stop

Please note that this part of the URL '/api/oicp/charging/v21/operators/{operatorID}/authorize/stop' will be added to your URL endpoint when sending the request through our HBS platform.

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/
{
  "CPOPartnerSessionID": "string",
  "EMPPartnerSessionID": "string",
  "EvseID": "string",
  "Identification": {
    "RFIDMifareFamilyIdentification": {
      "UID": "string"
    },
    "QRCodeIdentification": {
      "EvcoID": "string",
      "HashedPIN": {
        "Function": "Bcrypt",
        "LegacyHashData": {
          "Function": "MD5",
          "Salt": "string",
          "Value": "string"
        },
        "Value": "string"
      },
      "PIN": "string"
    },
    "PlugAndChargeIdentification": {
      "EvcoID": "string"
    },
    "RemoteIdentification": {
      "EvcoID": "string"
    },
    "RFIDIdentification": {
      "EvcoID": "string",
      "ExpiryDate": "2018-01-23T14:22:18.319Z",
      "PrintedNumber": "string",
      "RFID": "mifareCls",
      "UID": "string"
    }
  },
  "OperatorID": "string",
  "SessionID": "string"
}
{
  "AuthorizationStatus": "Authorized",
  "CPOPartnerSessionID": "string",
  "EMPPartnerSessionID": "string",
  "ProviderID": "string",
  "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.