upsertNiagaraDeviceSubscription
Mutation
No description yet.
upsertNiagaraDeviceSubscription(connectorId: String, deviceRef: NiagaraComponentRefInput, pollingIntervalMin: Long, subscribe: Boolean): NiagaraUpsertDeviceSubscriptionResponse
Arguments
| Argument | Type | Default | Description |
|---|---|---|---|
connectorId | String | ||
deviceRef | NiagaraComponentRefInput | ||
pollingIntervalMin | Long | ||
subscribe | Boolean |
Returns
NiagaraUpsertDeviceSubscriptionResponse
Example
Request
mutation UpsertNiagaraDeviceSubscription($deviceRef: NiagaraComponentRefInput) {
upsertNiagaraDeviceSubscription(deviceRef: $deviceRef) {
deviceSummary {
hasChildren
isSubscribed
javaClass
name
type
}
}
}