ZRM Docs
API ReferenceMonitoring Account

monitoringAccount.create

Type: Mutation · Auth: Workspace-aware

Input

FieldTypeRequiredDefaultDescription
customerIdstringYesID of the associated customer
siteIdstringYesID of the associated site
monitoringTypeenum(burglar, fire, burglar_and_fire)YesMonitoring type
statusenum(active, suspended, canceled, pending_activation)Yes"active"Status
billingFrequencyenum(monthly, quarterly, annually)Yes"monthly"Billing frequency
monthlyRatenumberYesMonthly rate
autoBillingbooleanYestrueAuto billing
billingStartDatestringYesBilling start date
nextBillingDatestringYesNext billing date
centralStationAccountNumberstringNoCentral station account number
notesstringNoNotes
workspaceIdstringNoID of the associated workspace
visibilityModeenum(global, workspace_local, shared)Yes"workspace_local"Visibility mode

Example

{
  "customerId": "550e8400-e29b-41d4-a716-446655440000",
  "siteId": "550e8400-e29b-41d4-a716-446655440000",
  "monitoringType": "burglar",
  "status": "active",
  "billingFrequency": "monthly",
  "monthlyRate": 0,
  "autoBilling": true,
  "billingStartDate": "example",
  "nextBillingDate": "example",
  "visibilityMode": "global"
}

On this page