/ocpp/v2/raw-requestThis endpoint injects an OCPP raw request to the device.
actionstringrequired
The name of the action to be executed
assetIdstringrequired
The id of the asset to send the request to
payloadobjectrequired
The payload to be sent to the asset
networkobjectThe network to send the request to
idstringrequired
The id of the network to send the request to
asyncbooleanWhether the request should be sent asynchronously. If false, the data will be present in the response
requestIdstringAn optional request ID that will be used as the OCPP message ID. If not provided one will be generated.
{
"action": "CancelReservation",
"assetId": "string",
"payload": {},
"network": {
"id": "string"
},
"async": true,
"requestId": "string"
}OK
{
"status": "Success",
"async": true,
"ocppMessageId": "string",
"data": {
"ocppMessageId": "string",
"connection": {
"connectionId": "string",
"protocol": "ocpp2.0.1"
},
"request": {
"messageType": "2",
"messageId": "string",
"action": "string",
"payload": {}
},
"response": {
"messageType": "CALL_ERROR",
"messageId": "string",
"errorCode": "string",
"ErrorDescription": "string",
"errorDetails": {},
"payload": {}
}
}
}/ocpp/v2/assets/{assetId}/rate-display/disableThis endpoint sends a request to the station to disable rate display
assetIdstringrequired
The ID of the asset
OK
Empty response
/ocpp/v2/assets/{assetId}/rate-display/sync-rateThis endpoint sends a request to the station to sync rate
oauth2
Required Scopes:
write:ocppThis endpoint sends a request to the station to sync rate
All Scopes
abort:session · Abruptly end sessionread:asset · Retrieve assetsread:assetgroup · Retrieve asset groupsread:assetstatus · Retrieve asset statusesread:driver · Retrieve driversread:invitation · Retrieve invitationsread:invoice · Retrieve an invoiceread:invoiceitem · Retrieve invoice itemread:networkaccessprofile · Retrieve network access profilesread:panel · Retrieve panels.read:payment_terminals_payment · Read payments from payment terminalread:paymentprofile · Retrieve payment profile from payment terminalread:projects · Retrieve projectsread:session · Retrieve a sessionread:simgroup · Retrieve sim groupsread:sitepartner · Retrieve site partnersread:sitepartneruser · Retrieve site partner usersread:subscription · Retrieve subsciptionread:token · Retrieve tokensread:webhooks · Retrieve webhookswrite:asset · Create and update assetswrite:assetgroup · Create and update asset groupswrite:driver · Create and update driverswrite:invitation · Create and update invitationswrite:invitecode · Create and update invite codeswrite:network · Create and update networkswrite:notification.email · Create and update emailwrite:ocpp · Sends request over OCPPwrite:ocpp.raw_request · Sends raw request over OCPPwrite:onboardinglink · Create an onboarding linkwrite:panel · Create and update panels.write:paymentprofile · Create payment profilewrite:plugandcharge_enrollment · Update Plug and Charge enrollment statuswrite:project_stations · Create and update project stationswrite:projects · Create and update projectswrite:session · Create or update a sessionwrite:simgroup · Create sim groupswrite:sitepartner · Create and update site partnerswrite:sitepartneruser · Create and update site partner userswrite:ticket · Create a ticketwrite:token · Create and update tokenswrite:verificationcode · Send and confirm verification codeswrite:webhooks · Create, update, and delete webhooksOK
{
"status": "Accepted",
"timestamp": "2023-06-07T17:32:28Z",
"data": {
"ocppMessageId": "string",
"rateId": "string",
"connection": {
"connectionId": "string",
"protocol": "ocpp2.0.1"
}
}
}Was this page helpful?