Zoho: Reorder Blueprints within a module
Zoho blueprintConfigActions.reorderBlueprints: arguments, response, policy and SDK examples.
← Blueprint config actions operations · Get started
Operation zoho.reorderblueprints
Provider route: POST /crm/v8/settings/blueprints/actions/reorder. 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["blueprintConfigActions"]["reorderBlueprints"]>[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.blueprintConfigActions.reorderBlueprints(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_config_actions.reorder_blueprints(arguments) result = await call.wait() return result.body_json()| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Additional keys: not allowed |
query | object | Required within parent | Additional keys: not allowed |
query.module | string | Required within parent | Maximum length: 255 |
headers | object | Required within parent | Additional keys: not allowed |
headers.X-ZOHO-SERVICE | string | Required within parent | One of: automation |
body | Model | Optional | Expand Reorder Blueprints within a module — request body — body |
Referenced models: Reorder Blueprints within a module — 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 |
|---|---|---|---|
$ | JSON | Root | |
$ (anyOf 1) | Model | Alternative | Expand Reorder Blueprints within a module — response body — blueprints — Blueprint Reorder Success Response |
$ (anyOf 2) | Model | Alternative | Expand Reorder Blueprints within a module — response body — blueprints — Blueprint Reorder Multi Status Response |
Referenced models: Reorder Blueprints within a module — response body — blueprints — Blueprint Reorder Multi Status Response, Reorder Blueprints within a module — response body — blueprints — Blueprint Reorder Success Response
Schemas
Section titled “Schemas”Reorder Blueprints within a module — request body — body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the request body for updating the display order of multiple Blueprints. Contains an array of Blueprint reorder entries, each specifying a Blueprint ID and the target sequence number. Additional keys: not allowed |
blueprints | array | Required within parent | Contains the list of Blueprint entries whose display order is to be updated. Maximum items: 100 |
blueprints[] | Model | Each item | Expand Reorder Blueprints within a module — request body — body blueprints item |
Referenced models: Reorder Blueprints within a module — request body — body blueprints item
Reorder Blueprints within a module — response body — blueprints — Blueprint Reorder Multi Status Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the multi-status response returned for a Blueprint reorder request, containing an array of per-Blueprint reorder results. Additional keys: not allowed |
blueprints | array | Optional | Contains the list of Blueprint reorder results, each indicating the outcome of the reorder operation for an individual Blueprint. Maximum items: 2 |
blueprints[] | Model | Each item | Expand Reorder Blueprints within a module — response body — blueprints blueprints item |
Referenced models: Reorder Blueprints within a module — response body — blueprints blueprints item
Reorder Blueprints within a module — response body — blueprints — Blueprint Reorder Success Response
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the success response returned for a Blueprint reorder request, containing an array of per-Blueprint reorder results. Additional keys: not allowed |
blueprints | array | Required within parent | Contains the list of Blueprint entries reflecting the updated order after a successful reorder operation. Maximum items: 50 |
blueprints[] | Model | Each item | Expand Reorder Blueprints within a module — response body — blueprints blueprints item |
Referenced models: Reorder Blueprints within a module — response body — blueprints blueprints item
Reorder Blueprints within a module — request body — body blueprints item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents a single Blueprint reorder entry, specifying the Blueprint ID and the target position in the display order. Both are required. Additional keys: not allowed |
id | string | Required within parent | Represents the unique identifier of the Blueprint to be reordered. Maximum length: 50 |
sequence_number | integer | Required within parent | Represents the new order for the blueprint Format: int32 |
Reorder Blueprints within a module — response body — blueprints blueprints item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the result of a single Blueprint reorder operation, including the result code, status, message, and associated details. Additional keys: not allowed |
code | string | Optional | Represents the result code indicating the outcome of the reorder operation for this Blueprint. Maximum length: 255 |
details | Model | Optional | Expand Reorder Blueprints within a module — response body — blueprints blueprints item details |
message | string | Optional | Represents the message describing the outcome of the reorder operation for this Blueprint. Maximum length: 255 |
status | string | Optional | Represents the status of the reorder operation for this Blueprint, indicating whether it succeeded or failed. Maximum length: 255 |
Referenced models: Reorder Blueprints within a module — response body — blueprints blueprints item details
Reorder Blueprints within a module — response body — blueprints blueprints item details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Represents the details associated with a single Blueprint reorder result, including the unique identifier of the affected Blueprint. Additional keys: not allowed |
id | string | Optional | Represents the unique identifier of the Blueprint entry. Maximum length: 255 |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.reorderblueprints. Catalog operation: reorderBlueprints. 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.