Zoho: Update a single Blueprint transition for a record
Zoho blueprintActions.putRecordBlueprintTransition: arguments, response, policy and SDK examples.
← Blueprint actions operations · Get started
Operation zoho.putrecordblueprinttransition
Provider route: PUT /crm/v8/{moduleApiName}/{recordId}/actions/blueprint. Alter supplies the connection’s credentials and routing.
Call through Alter
Section titled “Call through Alter”Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.
import { App } from "@alter-ai/sdk";import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["blueprintActions"]["putRecordBlueprintTransition"]>[0]) { const app = new App({ apiKey: process.env.ALTER_API_KEY! }); try { const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! }); const call = await provider.blueprintActions.putRecordBlueprintTransition(input); const result = await call.wait(); return result.bodyJson(); } finally { await app.close(); }}import osfrom alter_sdk import Appfrom alter_sdk_zoho import ZohoIntegration
async def execute(arguments): async with App(api_key=os.environ["ALTER_API_KEY"]) as app: provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]}) call = await provider.blueprint_actions.put_record_blueprint_transition(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
path | object | Required within parent | Additional keys: not allowed |
path.moduleApiName | string | Required within parent | Maximum length: 255 |
path.recordId | string | Required within parent | Maximum length: 255 |
body | Model | Optional | Expand Update a single Blueprint transition for a record — request body — body |
Referenced models: Update a single Blueprint transition for a record — request body — body
Response
Section titled “Response”Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | Model | Root | Expand Update a single Blueprint transition for a record — response body |
Referenced models: Update a single Blueprint transition for a record — response body
Schemas
Section titled “Schemas”Update a single Blueprint transition for a record — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the response returned when a Blueprint transition is executed on a record, indicating the outcome of the transition execution with its status, code, message, and details. Additional keys: not allowed |
code | string | Required within parent | Represents the status code of the Blueprint transition execution, such as **SUCCESS**. Maximum length: 255 |
details | object | Required within parent | Contains additional details about the outcome of the Blueprint transition execution. Additional keys: allowed |
message | string | Required within parent | Represents the response message describing the outcome of the Blueprint transition execution. Maximum length: 255 |
status | string | Required within parent | Indicates the status of the Blueprint transition execution, such as **SUCCESS**. Maximum length: 255 |
Update a single Blueprint transition for a record — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the request body for executing a Blueprint transition on a record, carrying the Blueprint transition data to process. Additional keys: not allowed |
blueprint | array | Required within parent | Contains the Blueprint transition object to be processed for the record. Maximum items: 1 |
blueprint[] | Model | Each item | Expand Update a single Blueprint transition for a record — request body — body blueprint item |
Referenced models: Update a single Blueprint transition for a record — request body — body blueprint item
Update a single Blueprint transition for a record — request body — body blueprint item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a Blueprint transition to be processed for the record, including the transition ID, the state in which the transition is saved, the field values required for the transition, and the related Notes and Attachments. Additional keys: not allowed |
data | JSON | Optional | Represents the object that contains the field values required for the transition. Supports CheckLists and subform during fields, where the subform API name is the dynamic key and its value is an array of subform records. This value can be null when the transition payload supplies no during fields. |
data (anyOf 1) | Model | Alternative | Expand Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists |
data (anyOf 2) | null | Alternative | Represents a null value, used when the transition payload supplies no during fields. |
state | string | Required within parent | Represents the state in which the transition is saved. Possible values: **draft** - The transition is saved as a draft. **completed** - The transition is saved as completed. One of: draft, completed Maximum length: 50 |
transition_id | string | Required within parent | Represents the unique ID of the Blueprint transition to execute. Maximum length: 25 |
Referenced models: Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists
Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the object that contains the field values required for the transition. Keys are field API names. Values can be: (a) primitive field values (string, number, Boolean, or null), (b) arrays for subform during fields or multi-record fields (for example, **Tag**, **Subform_1**) where each element is a key-value map, or (c) an associated module object whose properties include the associated module's field values and nested subform arrays (for example, **data.Sales_Order** with nested **Ordered_Items**). Additional keys: see wildcard field |
CheckLists | array or null | Optional | Represents the array of checklist items for the transition. Each item contains question-answer pairs. Maximum items: 100 |
CheckLists[] | Model | Each item | Expand Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists Check Lists item |
$.* | JSON | Additional keys | |
$.* (anyOf 1) | array | Alternative | Sub-form during field or multi-record field - dynamic key is the sub-form/field API name; value is an array of records, each being a key-value map of field API names to their values. Maximum items: 100 |
$.* (anyOf 1)[] | Model | Each item | Expand Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists value array item |
$.* (anyOf 2) | object | Alternative | Associated module object used inside data when a blueprint during field references an associated module record. Keys are field API names of the associated module (primitive values) and/or sub-form API names mapped to arrays of sub-form records (e.g. Sales_Order.Ordered_Items). Additional keys: allowed |
$.* (anyOf 3) | string | Alternative | String field value for a regular blueprint during field. Maximum length: 4000 |
$.* (anyOf 4) | number | Alternative | Numeric field value for a regular blueprint during field. |
$.* (anyOf 5) | boolean | Alternative | Boolean field value for a regular blueprint during field. |
$.* (anyOf 6) | null | Alternative | Null field value for a regular blueprint during field. |
Referenced models: Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists Check Lists item, Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists value array item
Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists Check Lists item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a checklist item for the transition. Each key is dynamic and takes a checklist question configured for the transition, and its Boolean value stores the answer to that question. Additional keys: allowed |
Update a single Blueprint transition for a record — request body — body blueprint item data Check Lists value array item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a single subform record as a key-value map of subform field API names to their values. The keys are dynamic and depend on the subform field configuration. Additional keys: allowed |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.putrecordblueprinttransition. Catalog operation: putRecordBlueprintTransition. 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.