Skip to main content

Arguments

accountNumber : String! required

The account number, e.g. A-12345678.

propertyId : Int
            The property's id where the device will be registered to.
            Note: in future, eligible device types will be dependent on the property id and
            it will be a required input.

Returns

[KrakenFlexDeviceTypes]

The device types that can be controlled by KrakenFlex.

Allowed Viewers

Customer Partner User Third party

Required Permissions

Can access customer queries
OR Can view smartflex data

Query Complexity

1

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.

Query

query EligibleDeviceTypes( $accountNumber: String!, $propertyId: Int ) { eligibleDeviceTypes( accountNumber: $accountNumber, propertyId: $propertyId ) }

Variables

{ "accountNumber": "A-93B37828", "propertyId": 58011963 }

Response

{ "data": { "eligibleDeviceTypes": "BATTERIES" } }