Zoho: Kiosk Current Records Associations
Zoho kiosksGetRecords.getKioskCurrentRecordAssociations: arguments, response, policy and SDK examples.
← Kiosks get records operations · Get started
Operation zoho.getkioskcurrentrecordassociations
Provider route: GET /crm/v8/settings/kiosks/{kioskId}/current_record/associations. 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["kiosksGetRecords"]["getKioskCurrentRecordAssociations"]>[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.kiosksGetRecords.getKioskCurrentRecordAssociations(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.kiosks_get_records.get_kiosk_current_record_associations(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.kioskId | string | Required within parent | Maximum length: 255 |
query | object | Optional | Additional keys: not allowed |
query.include_inner_details | string | Optional | Maximum length: 500 |
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 Kiosk Current Records Associations — response body |
Referenced models: Kiosk Current Records Associations — response body
Schemas
Section titled “Schemas”Kiosk Current Records Associations — response body
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Response containing current record association information. Additional keys: not allowed |
current_record | array | Required within parent | Array of current record association data. Maximum items: 10 |
current_record[] | Model | Each item | Expand Kiosk Current Records Associations — response body — current record item |
Referenced models: Kiosk Current Records Associations — response body — current record item
Kiosk Current Records Associations — response body — current record item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Current record with its association information. Additional keys: not allowed |
_associations | array | Required within parent | List of associations for the current record. Maximum items: 1 |
_associations[] | Model | Each item | Expand Get Records Associations — response body — get records item associations item |
id | string | Required within parent | Current record identifier. Maximum length: 255 |
Referenced models: Get Records Associations — response body — get records item associations item
Get Records Associations — response body — get records item associations item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Association entry describing where a component is used. Additional keys: not allowed |
resources | array | Required within parent | Resources that use this component. Maximum items: 25 |
resources[] | Model | Each item | Expand Get Records Associations — response body — get records item associations item resources item |
type | string | Required within parent | Type of association (e.g., 'kiosk_states'). Maximum length: 255 |
Referenced models: Get Records Associations — response body — get records item associations item resources item
Get Records Associations — response body — get records item associations item resources item
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Resource that references a component. Additional keys: not allowed |
_details | Model | Required within parent | Expand Get Records Associations — response body — get records item associations item resources item details |
id | string | Required within parent | Unique identifier of the resource. Maximum length: 255 |
name | string | Required within parent | Name of the resource. Maximum length: 255 |
Referenced models: Get Records Associations — response body — get records item associations item resources item details
Get Records Associations — response body — get records item associations item resources item details
| Field | Type | Presence | Description and constraints |
|---|---|---|---|
$ | object | Root | Details about the resource type. Additional keys: not allowed |
type | string | Required within parent | Type of the resource (e.g., 'get_records', 'action'). Maximum length: 255 |
Policy, approvals and errors
Section titled “Policy, approvals and errors”SDK function policy ID: zoho.getkioskcurrentrecordassociations. Catalog operation: getKioskCurrentRecordAssociations. 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.