deviceSetEvCharging(...args)

Arguments

deviceId
ID!,non-nullrequired
chargingOn
Boolean!,non-nullrequired
commandSource

Return type

commandId
Mutation sample
mutation deviceSetEvCharging(
  $deviceId: ID!
  $chargingOn: Boolean!
  $commandSource: CommandSource
) {
  deviceSetEvCharging(
    deviceId: $deviceId
    chargingOn: $chargingOn
    commandSource: $commandSource
  ) {
    commandId 
    errors {
      message 
      path 
    }
  }
}
Variables
{ "deviceId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "chargingOn": true, "commandSource": "CUSTOMER" }
Response sample
{ "data": { "commandId": "9cfb1c81-4c79-452f-b1f5-8ee6571276b4", "errors": [ { "message": "Example String", "path": "Example String" } ] } }