Skip to content

Corrigo: Update rcs action

Corrigo rcsAction.update: arguments, response, policy and SDK examples.

← Rcs action operations · Get started

Operation corrigo.base_rcsaction_update

Provider route: PUT /v1/base/RcsAction. 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["rcsAction"]["update"]>[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.rcsAction.update(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_action.update(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 action — request body — body entity

Referenced models: Create rcs action — 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

3 more schemas are linked from the tables above, on the schema pages.

Create rcs action — 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
actorIdJSONOptional
actorId (anyOf 1)integerAlternativeFormat: int32
actorId (anyOf 2)nullAlternative
actorTypeIdModelOptionalExpand Create actor — request body — body entity type Id
alarmSetPointJSONOptional
alarmSetPoint (anyOf 1)numberAlternativeFormat: double
alarmSetPoint (anyOf 2)nullAlternative
amountDestroyednumberOptionalFormat: double
amountReclaimednumberOptionalFormat: double
certClassIdstringOptionalOne of: None, Class1, Class1AndClass2, Class1AndClass2AndClass3, Class1AndClass3, Class2, Class2AndClass3, Class3, Universal
Format: int32
certNumberJSONOptional
certNumber (anyOf 1)stringAlternative
certNumber (anyOf 2)nullAlternative
circuitJSONOptional
circuit (anyOf 1)objectAlternativeA Corrigo RcsCircuit.
circuit (anyOf 2)nullAlternative
circuitNumberJSONOptional
circuitNumber (anyOf 1)stringAlternative
circuitNumber (anyOf 2)nullAlternative
commentsJSONOptional
comments (anyOf 1)stringAlternative
comments (anyOf 2)nullAlternative
costValueJSONOptional
costValue (anyOf 1)numberAlternativeFormat: double
costValue (anyOf 2)nullAlternative
cylinderJSONOptional
cylinder (anyOf 1)objectAlternativeA Corrigo RcsCylinder.
cylinder (anyOf 2)nullAlternative
cylinderNumberJSONOptional
cylinderNumber (anyOf 1)stringAlternative
cylinderNumber (anyOf 2)nullAlternative
cylinderSourceJSONOptional
cylinderSource (anyOf 1)objectAlternativeA Corrigo RcsCylinder.
cylinderSource (anyOf 2)nullAlternative
detectionLimitJSONOptional
detectionLimit (anyOf 1)numberAlternativeFormat: double
detectionLimit (anyOf 2)nullAlternative
dtALDAlarmJSONOptional
dtALDAlarm (anyOf 1)stringAlternativeFormat: date-time
dtALDAlarm (anyOf 2)nullAlternative
dtDueJSONOptional
dtDue (anyOf 1)stringAlternativeFormat: date-time
dtDue (anyOf 2)nullAlternative
dtEndIsolationJSONOptional
dtEndIsolation (anyOf 1)stringAlternativeFormat: date-time
dtEndIsolation (anyOf 2)nullAlternative
dtIsolationJSONOptional
dtIsolation (anyOf 1)stringAlternativeFormat: date-time
dtIsolation (anyOf 2)nullAlternative
dtShipmentJSONOptional
dtShipment (anyOf 1)stringAlternativeFormat: date-time
dtShipment (anyOf 2)nullAlternative
dtWhenJSONOptional
dtWhen (anyOf 1)stringAlternativeFormat: date-time
dtWhen (anyOf 2)nullAlternative
equipmentDestinationIdintegerOptionalFormat: int32
equipmentDestinationManagerJSONOptional
equipmentDestinationManager (anyOf 1)objectAlternativeA Corrigo Employee.
equipmentDestinationManager (anyOf 2)nullAlternative
hasComponentIsolatedbooleanOptional
initialChargebooleanOptional
isALDCalibrationSuccessbooleanOptional
isContactNotifiedbooleanOptional
isMetricbooleanOptional
isScheduledbooleanOptional
isTestPassedbooleanOptional
leakCauseDescriptionJSONOptional
leakCauseDescription (anyOf 1)stringAlternative
leakCauseDescription (anyOf 2)nullAlternative
leaksFoundbooleanOptional
leaksFoundCountintegerOptionalFormat: int32
moneyIdModelOptionalExpand Create rcs action — request body — body entity money Id
noLeakRatebooleanOptional
parasenseIdJSONOptional
parasenseId (anyOf 1)stringAlternative
parasenseId (anyOf 2)nullAlternative
parentActionJSONOptional
parentAction (anyOf 1)objectAlternativeA Corrigo RcsAction.
parentAction (anyOf 2)nullAlternative
poNumberJSONOptional
poNumber (anyOf 1)stringAlternative
poNumber (anyOf 2)nullAlternative
productJSONOptional
product (anyOf 1)objectAlternativeA Corrigo Product.
product (anyOf 2)nullAlternative
qtyJSONOptional
qty (anyOf 1)numberAlternativeFormat: double
qty (anyOf 2)nullAlternative
qtyCylinderJSONOptional
qtyCylinder (anyOf 1)numberAlternativeFormat: double
qtyCylinder (anyOf 2)nullAlternative
qtyCylinderSourceJSONOptional
qtyCylinderSource (anyOf 1)numberAlternativeFormat: double
qtyCylinderSource (anyOf 2)nullAlternative
rcsExtensionReasonIdstringOptionalOne of: Unknown, NoTechnician, NoParts, RequiresShutdown, RiskRadio, NoComponents, Other
Format: int32
rcsInspectionReasonIDstringOptionalOne of: Unknown, PlannedMaintenance, UnplannedMaintenance, AutomaticLeakDetectionAlarm, Other
Format: int32
rcsLeakCauseIdstringOptionalOne of: Unknown, Corrosion, JointFailure, NormalWear, RubOut, Rupture, SealFailure, Vibration, Abuse, Warranty, MechanicalFailure, Catastrophe, Other
Format: int32
rcsLeakLocationDetailIdModelOptionalExpand Create rcs action — request body — body entity rcs Leak Location Detail Id
rcsLeakLocationIdstringOptionalOne of: Unknown, Compressor, DischargeLine, Condenser, Receiver, LiquidLine, Evaporator, SuctionLine, HeatRecovery, Piping, Purge, Valve, RuptureDisc, Other
Format: int32
rcsStockTypeIdstringOptionalOne of: Unknown, SupplierStock, OwnerStock, External
Format: int32
rcsTestMethodIdstringOptionalOne of: Unknown, NotTested, Pressurizing, Electronic, DeepVacuum, SoapBubbles, Other, CalibratedLeakDetectionDevice, DyeInject, HalideDetector, OilResidue, ApprovedAlternate
Format: int32
reclamationCompanyJSONOptional
reclamationCompany (anyOf 1)stringAlternative
reclamationCompany (anyOf 2)nullAlternative
refrigerantHistorystringOptionalOne of: Unknown, Virgin, Recycled, Reclaimed
Format: int32
refrigerantTypeOfRepairIdstringOptionalOne of: Unknown, AuditOrInspect, Weld, Replace, Bypass, Repair, Remove, Tighten, Newcap, Relocate, LeakInspection, Calibrate, Other
Format: int32
remainingCapacitynumberOptionalFormat: double
serviceEventIdintegerOptionalFormat: int32
shippedToJSONOptional
shippedTo (anyOf 1)stringAlternative
shippedTo (anyOf 2)nullAlternative
supplierJSONOptional
supplier (anyOf 1)objectAlternativeA Corrigo Employee.
supplier (anyOf 2)nullAlternative
techNameJSONOptional
techName (anyOf 1)stringAlternative
techName (anyOf 2)nullAlternative
typeIdstringOptionalOne of: Unknown, Purchased, Disposed, Refilled, CylinderRelease, CircuitRelease, Added, Recovered, Tested, Transferred, LeakIdentified, LeakRepaired, LeakTestFollow, Created, CircuitEdit, Retired, LeakTestInitial, Adjusted, CylinderEdit, LeakInspected, ALDCalibrated, Retrofitted, Activated, ServicedOrLeakRepaired
Format: int32
typeOfRepairDescJSONOptional
typeOfRepairDesc (anyOf 1)stringAlternative
typeOfRepairDesc (anyOf 2)nullAlternative
workOrderIdintegerOptionalFormat: int32

Referenced models: Create actor — request body — body entity type Id, Create rcs action — request body — body entity money Id, Create rcs action — request body — body entity rcs Leak Location Detail Id

SDK function policy ID: corrigo.base_rcsaction_update. Catalog operation: base.RcsAction.update. 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.