updateIsChargingDurationCapped
Update the charging duration cap preference for a device.
Arguments
Input fields for updating the charging duration cap preference.
Possible Errors
Allowed Viewers
Rate Limits
| Key | Steps |
|---|---|
user |
['300/h'] |
Query Complexity
2Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
mutation UpdateIsChargingDurationCapped($input: UpdateIsChargingDurationCappedInput) {
updateIsChargingDurationCapped(input: $input) {
alerts {
...SmartFlexDeviceAlertInterfaceFragment
}
deviceType
id
integrationDeviceId
name
onboardingWizard {
...SmartFlexOnboardingWizardFragment
}
preferences {
...SmartFlexDevicePreferencesInterfaceFragment
}
preferenceSetting {
...FlexDevicePreferenceSettingInterfaceFragment
}
propertyId
provider
reAuthenticationState {
...DeviceReAuthenticationInterfaceFragment
}
status {
...SmartFlexDeviceStatusInterfaceFragment
}
}
}
Variables
{
"input": UpdateIsChargingDurationCappedInput
}
Response
{
"data": {
"updateIsChargingDurationCapped": {
"alerts": SmartFlexDeviceAlertInterface,
"deviceType": "BATTERIES",
"id": "62222654",
"integrationDeviceId": "36940104",
"name": "many-everything-up-else-evidence",
"onboardingWizard": SmartFlexOnboardingWizard,
"preferences": SmartFlexDevicePreferencesInterface,
"preferenceSetting": FlexDevicePreferenceSettingInterface,
"propertyId": "33509218",
"provider": "BMW",
"reAuthenticationState": DeviceReAuthenticationInterface,
"status": SmartFlexDeviceStatusInterface
}
}
}