/ocpp/v2/raw-request
This endpoint injects an OCPP raw request to the device.
action
string
required
The name of the action to be executed
assetId
string
required
The id of the asset to send the request to
payload
object
required
The payload to be sent to the asset
network
object
The network to send the request to
id
string
required
The id of the network to send the request to
async
boolean
Whether the request should be sent asynchronously. If false, the data will be present in the response
requestId
string
An 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/disable
This endpoint sends a request to the station to disable rate display
assetId
string
required
The ID of the asset
OK
Empty response
/ocpp/v2/assets/{assetId}/rate-display/sync-rate
This endpoint sends a request to the station to sync rate
oauth2
Required Scopes:
write:ocpp
This 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 tokenswrite: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 codesOK
{
"status": "Accepted",
"timestamp": "2023-06-07T17:32:28Z",
"data": {
"ocppMessageId": "string",
"rateId": "string",
"connection": {
"connectionId": "string",
"protocol": "ocpp2.0.1"
}
}
}
Was this page helpful?