Skip to content

Zoho: Get specific record locking configuration

Zoho recordLockingConfigurations.getRecordLockingConfigurationPassingIdInUrl: arguments, response, policy and SDK examples.

← Record locking configurations operations · Get started

Operation zoho.getrecordlockingconfigurationpassingidinurl

Provider route: GET /crm/v8/settings/record_locking_configurations/{id}. Alter supplies the connection’s credentials and routing.

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["recordLockingConfigurations"]["getRecordLockingConfigurationPassingIdInUrl"]>[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.recordLockingConfigurations.getRecordLockingConfigurationPassingIdInUrl(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from 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.record_locking_configurations.get_record_locking_configuration_passing_id_in_url(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
pathobjectRequired within parentAdditional keys: not allowed
path.idstringRequired within parentRecord Locking Configuration ID
Format: int64
queryobjectRequired within parentAdditional keys: not allowed
query.modulestringRequired within parentMaximum length: 256

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

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)ModelAlternativeExpand Get record locking configuration — response body — record locking configurations
$ (anyOf 2)nullAlternative

Referenced models: Get record locking configuration — response body — record locking configurations

Get record locking configuration — response body — record locking configurations
FieldTypePresenceDescription and constraints
$objectRootResponse object containing the record locking configuration details.
Additional keys: not allowed
record_locking_configurationsarrayRequired within parentArray containing the record locking configuration details.
Maximum items: 1
record_locking_configurations[]ModelEach itemExpand Get record locking configuration — response body — record locking configurations record locking configurations item

Referenced models: Get record locking configuration — response body — record locking configurations record locking configurations item

Get record locking configuration — response body — record locking configurations record locking configurations item
FieldTypePresenceDescription and constraints
$objectRootDetails of the record locking configuration.
Additional keys: not allowed
created_byobjectRequired within parentUser who created the configuration.
Additional keys: not allowed
created_by.idstringRequired within parentUnique identifier of the user.
Maximum length: 32
created_by.namestringRequired within parentName of the user.
Maximum length: 256
created_timestringRequired within parentTimestamp when the configuration was created.
Format: date-time
excluded_fieldsarrayRequired within parentFields that are exempt from locking.
Maximum items: 15
excluded_fields[]objectEach itemMinimal details of an excluded field.
Additional keys: not allowed
excluded_fields[].api_namestringRequired within parentAPI name of the excluded field.
Maximum length: 256
excluded_fields[].idstringRequired within parentUnique identifier of the excluded field.
Maximum length: 32
feature_typestringRequired within parentFeature type identifier (always `record_locking`).
Known values: record_locking
Default: record_locking
idstringRequired within parentUnique identifier of the configuration.
Maximum length: 32
lock_excluded_profilesarrayRequired within parentProfiles that are excluded from locking.
Maximum items: 15
lock_excluded_profiles[]objectEach itemMinimal details of an excluded profile.
Additional keys: not allowed
lock_excluded_profiles[].idstringRequired within parentUnique identifier of the profile.
Maximum length: 32
lock_excluded_profiles[].namestringRequired within parentName of the profile.
Maximum length: 256
lock_for_portal_usersbooleanRequired within parentIndicates whether portal users are subject to locking.
Default: true
lock_typestringRequired within parentThe locking mode used for this configuration.
Known values: automatic, manual, both
locked_forstringRequired within parentIndicates which profiles the lock applies to.
Known values: all_profiles, all_profiles_except_excluded_profiles
locking_rulesarrayRequired within parentList of locking rules defined in the configuration.
Maximum items: 5
locking_rules[]ModelEach itemExpand Get record locking configuration — response body — record locking configurations record locking configurations item locking rules item
modified_byobjectRequired within parentUser who last modified the configuration.
Additional keys: not allowed
modified_by.idstringRequired within parentUnique identifier of the user.
Maximum length: 32
modified_by.namestringRequired within parentName of the user.
Maximum length: 256
modified_timestringRequired within parentTimestamp when the configuration was last modified.
Format: date-time
restricted_actionsarrayRequired within parentList of actions that are restricted on locked records.
Maximum items: 5
restricted_actions[]stringEach itemA restricted action.
Known values: change_owner, update, delete, tags, convert
restricted_communicationsarrayRequired within parentList of communication actions restricted on locked records.
Maximum items: 1
restricted_communications[]stringEach itemA restricted communication action.
Known values: send_mail
restricted_custom_buttonsJSONRequired within parent
restricted_custom_buttons (anyOf 1)arrayAlternativeList of custom buttons restricted on locked records (may be null).
restricted_custom_buttons (anyOf 1)[]objectEach itemMinimal details of a restricted custom button.
Additional keys: not allowed
restricted_custom_buttons (anyOf 1)[].idstringRequired within parentUnique identifier of the custom button.
Maximum length: 32
restricted_custom_buttons (anyOf 1)[].namestringOptionalName of the custom button.
Maximum length: 256
restricted_custom_buttons (anyOf 2)nullAlternativeList of custom buttons restricted on locked records (may be null).
restricted_custom_buttons (anyOf 2)[]objectEach itemMinimal details of a restricted custom button.
Additional keys: not allowed
restricted_custom_buttons (anyOf 2)[].idstringRequired within parentUnique identifier of the custom button.
Maximum length: 32
restricted_custom_buttons (anyOf 2)[].namestringOptionalName of the custom button.
Maximum length: 256
system_definedbooleanRequired within parentIndicates whether the configuration is system-defined.

Referenced models: Get record locking configuration — response body — record locking configurations record locking configurations item locking rules item

Get record locking configuration — response body — record locking configurations record locking configurations item locking rules item
FieldTypePresenceDescription and constraints
$objectRootDetails of a locking rule.
Additional keys: not allowed
criteriaModelOptionalExpand Get record locking configuration — response body — record locking configurations record locking configurations item locking rules item criteria
idstringRequired within parentUnique identifier of the locking rule.
Maximum length: 32
lock_existing_recordsbooleanRequired within parentIndicates whether existing records are locked when the rule is applied.
Default: false
namestringRequired within parentName of the locking rule.
Maximum length: 256

Referenced models: Get record locking configuration — response body — record locking configurations record locking configurations item locking rules item criteria

Get record locking configuration — response body — record locking configurations record locking configurations item locking rules item criteria
FieldTypePresenceDescription and constraints
$objectRootCriteria that records must match for the rule to apply.
Additional keys: not allowed
comparatorstringRequired within parentThe comparator used in the criteria.
Maximum length: 256
fieldobjectRequired within parentDetails of the field used in the criteria.
Additional keys: not allowed
field.api_namestringRequired within parentAPI name of the field.
Maximum length: 256
field.idstringRequired within parentUnique identifier of the field.
Maximum length: 32
typestringRequired within parentType of the criteria.
Maximum length: 256
valueJSONOptional

SDK function policy ID: zoho.getrecordlockingconfigurationpassingidinurl. Catalog operation: getRecordLockingConfigurationPassingIdInURL. 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.

No-content response statuses: [204]

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.