updateIsChargingDurationCapped
Update the charging duration cap preference for a device.
Arguments
Input fields for updating the charging duration cap preference.
Examples
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": "26614586",
"integrationDeviceId": "99751612",
"name": "language-radio-marriage-hotel-paper",
"onboardingWizard": SmartFlexOnboardingWizard,
"preferences": SmartFlexDevicePreferencesInterface,
"preferenceSetting": FlexDevicePreferenceSettingInterface,
"propertyId": "74315901",
"provider": "BMW",
"reAuthenticationState": DeviceReAuthenticationInterface,
"status": SmartFlexDeviceStatusInterface
}
}
}