Skip to content

Corrigo: Create rcs circuit

Corrigo rcsCircuit.create: arguments, response, policy and SDK examples.

← Rcs circuit operations · Get started

Operation corrigo.base_rcscircuit_create

Provider route: POST /v1/base/RcsCircuit. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/corrigo with npm, or alter-sdk-corrigo with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { CorrigoIntegration } from "@alter-ai/corrigo";
async function execute(input: Parameters<CorrigoIntegration["rcsCircuit"]["create"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new CorrigoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.rcsCircuit.create(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_corrigo import CorrigoIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = CorrigoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.rcs_circuit.create(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
bodyobjectRequired within parentAdditional keys: not allowed
body.requestIdJSONOptional
body.requestId (anyOf 1)stringAlternative
body.requestId (anyOf 2)nullAlternative
body.propertiesJSONOptional
body.properties (anyOf 1)arrayAlternative
body.properties (anyOf 1)[]stringEach item
body.properties (anyOf 2)nullAlternative
body.entityModelRequired within parentExpand Create rcs circuit — request body — body entity

Referenced models: Create rcs circuit — request body — body entity

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$JSONRoot
Create rcs circuit — request body — body entity
FieldTypePresenceDescription and constraints
$objectRoot
idintegerOptionalFormat: int32
isNewbooleanOptionalRead only: true
limitMultipleEntitiesNumberBehaviourbooleanOptional
performDeletionbooleanOptional
propertiesJSONOptional
properties (anyOf 1)arrayAlternative
properties (anyOf 1)[]JSONEach item
properties (anyOf 1)[] (anyOf 1)objectAlternativeA Corrigo PropertyTreeNode.
properties (anyOf 1)[] (anyOf 2)nullAlternative
properties (anyOf 2)nullAlternative
concurrencyIdintegerOptionalFormat: int32
actionsJSONOptional
actions (anyOf 1)arrayAlternative
actions (anyOf 1)[]JSONEach item
actions (anyOf 1)[] (anyOf 1)objectAlternativeA Corrigo RcsAction.
actions (anyOf 1)[] (anyOf 2)nullAlternative
actions (anyOf 2)nullAlternative
alarmSetPointJSONOptional
alarmSetPoint (anyOf 1)numberAlternativeFormat: double
alarmSetPoint (anyOf 2)nullAlternative
assetJSONOptional
asset (anyOf 1)objectAlternativeA Corrigo Location.
asset (anyOf 2)nullAlternative
assetSystemJSONOptional
assetSystem (anyOf 1)objectAlternativeA Corrigo AssetSystem.
assetSystem (anyOf 2)nullAlternative
calendarLeakRateJSONOptional
calendarLeakRate (anyOf 1)numberAlternativeFormat: double
calendarLeakRate (anyOf 2)nullAlternative
capacitynumberOptionalFormat: double
commentsJSONOptional
comments (anyOf 1)stringAlternative
comments (anyOf 2)nullAlternative
concentrationMonitorTypeIDJSONOptional
concentrationMonitorTypeID (anyOf 1)integerAlternativeFormat: int32
concentrationMonitorTypeID (anyOf 2)nullAlternative
dateOfOperationJSONOptional
dateOfOperation (anyOf 1)stringAlternativeFormat: date-time
dateOfOperation (anyOf 2)nullAlternative
detectionLimitJSONOptional
detectionLimit (anyOf 1)numberAlternativeFormat: double
detectionLimit (anyOf 2)nullAlternative
equipmentCalibrationDateJSONOptional
equipmentCalibrationDate (anyOf 1)stringAlternativeFormat: date-time
equipmentCalibrationDate (anyOf 2)nullAlternative
equipmentNameJSONOptional
equipmentName (anyOf 1)stringAlternative
equipmentName (anyOf 2)nullAlternative
equipmentStatusIdstringOptionalOne of: Active, Mothballed, Retired, Inactive, Decommissioned
Format: int32
equipmentTypeIDJSONOptional
equipmentTypeID (anyOf 1)integerAlternativeFormat: int32
equipmentTypeID (anyOf 2)nullAlternative
fullChargeCalcMethodIDJSONOptional
fullChargeCalcMethodID (anyOf 1)integerAlternativeFormat: int32
fullChargeCalcMethodID (anyOf 2)nullAlternative
hasEquipmentCalibrationbooleanOptional
hasLeakInspectionbooleanOptional
installDateJSONOptional
installDate (anyOf 1)stringAlternativeFormat: date-time
installDate (anyOf 2)nullAlternative
isLeakDetectionEquipmentbooleanOptional
isMetricbooleanOptional
isMothballbooleanOptional
leakDetectionCoverIDJSONOptional
leakDetectionCoverID (anyOf 1)integerAlternativeFormat: int32
leakDetectionCoverID (anyOf 2)nullAlternative
leakDetectionDeviceTypeIDJSONOptional
leakDetectionDeviceTypeID (anyOf 1)integerAlternativeFormat: int32
leakDetectionDeviceTypeID (anyOf 2)nullAlternative
leakInspectionDateJSONOptional
leakInspectionDate (anyOf 1)stringAlternativeFormat: date-time
leakInspectionDate (anyOf 2)nullAlternative
leakRatenumberOptionalFormat: double
leakRateLogsJSONOptional
leakRateLogs (anyOf 1)arrayAlternative
leakRateLogs (anyOf 1)[]JSONEach item
leakRateLogs (anyOf 1)[] (anyOf 1)objectAlternativeA Corrigo RcsLeakRateLog.
leakRateLogs (anyOf 1)[] (anyOf 2)nullAlternative
leakRateLogs (anyOf 2)nullAlternative
leakThresholdnumberOptionalFormat: double
locationDescriptionJSONOptional
locationDescription (anyOf 1)stringAlternative
locationDescription (anyOf 2)nullAlternative
locationOfSensorsInletsJSONOptional
locationOfSensorsInlets (anyOf 1)stringAlternative
locationOfSensorsInlets (anyOf 2)nullAlternative
locationTypeIDJSONOptional
locationTypeID (anyOf 1)integerAlternativeFormat: int32
locationTypeID (anyOf 2)nullAlternative
manufacturerJSONOptional
manufacturer (anyOf 1)stringAlternative
manufacturer (anyOf 2)nullAlternative
mhProductJSONOptional
mhProduct (anyOf 1)objectAlternativeA Corrigo Product.
mhProduct (anyOf 2)nullAlternative
modelJSONOptional
model (anyOf 1)stringAlternative
model (anyOf 2)nullAlternative
modelYearJSONOptional
modelYear (anyOf 1)integerAlternativeFormat: int32
modelYear (anyOf 2)nullAlternative
numberJSONOptional
number (anyOf 1)stringAlternative
number (anyOf 2)nullAlternative
numberofSensorsJSONOptional
numberofSensors (anyOf 1)integerAlternativeFormat: int32
numberofSensors (anyOf 2)nullAlternative
objectIdintegerOptionalFormat: int32
objectTypeIdModelOptionalExpand Create actor — request body — body entity type Id
operationalStatusDateJSONOptional
operationalStatusDate (anyOf 1)stringAlternativeFormat: date-time
operationalStatusDate (anyOf 2)nullAlternative
operationalStatusIdstringOptionalOne of: Normal, UnderRepair, Seasonal, Retrofitted, PermanentShutdownAndRemoval, Mothball, Sold, DisposedOrDestroyed
Format: int32
rcsCircuitMonitorMappingJSONOptional
rcsCircuitMonitorMapping (anyOf 1)arrayAlternative
rcsCircuitMonitorMapping (anyOf 1)[]JSONEach item
rcsCircuitMonitorMapping (anyOf 1)[] (anyOf 1)objectAlternativeA Corrigo RcsCircuitMonitorEquipment.
rcsCircuitMonitorMapping (anyOf 1)[] (anyOf 2)nullAlternative
rcsCircuitMonitorMapping (anyOf 2)nullAlternative
sensorManufacturerJSONOptional
sensorManufacturer (anyOf 1)stringAlternative
sensorManufacturer (anyOf 2)nullAlternative
sensorTypeIDJSONOptional
sensorTypeID (anyOf 1)integerAlternativeFormat: int32
sensorTypeID (anyOf 2)nullAlternative
serialNumberJSONOptional
serialNumber (anyOf 1)stringAlternative
serialNumber (anyOf 2)nullAlternative
statusIdstringOptionalOne of: Active, Retired, Retrofitted
Format: int32
temperatureClassificationIDJSONOptional
temperatureClassificationID (anyOf 1)integerAlternativeFormat: int32
temperatureClassificationID (anyOf 2)nullAlternative

Referenced models: Create actor — request body — body entity type Id

Create actor — request body — body entity type Id
FieldTypePresenceDescription and constraints
$stringRootOne of: Unknown, Employee, Occupancy, CorrigoNet, Resident, CommLease, CommLeaseSpace, Property, Portfolio, LeaseGroup, LeaseUser, Supplier, Asset, WO, Org, Warranty, WOPrintout, Team, CompanyProp, Landmark, Provider, ReportTimeSet, TenantCoi, Model, Theme, CustomerInvoice, Payment, MhLocation, MhProduct, PmRmTemplate, Document, WoProxy, Proposal, PlWoItem, Insurance, InvTemplate, ReportSubscription, Requestor, ProcTemplateStep, Procedure, MhOrder, AssetSystem, WorkTemplate, WtWoProxy, Incident, Visit, DutyType, Estimate, Quote, WoActionLog, ProcedureTemplate, WoRequiredDoc, WoSchedule, Rounds, RoundsSchedule, RoundsStep, Specialty, ReceiptStorageRecord, MhTransaction, MhConsumptionRequest, AlertSend
Format: int32

SDK function policy ID: corrigo.base_rcscircuit_create. Catalog operation: base.RcsCircuit.create. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.