Skip to content

Zoho: Get webform diff

Zoho webforms.getDiff: arguments, response, policy and SDK examples.

← Webforms operations · Get started

Operation zoho.getdiff

Provider route: GET /crm/v8/settings/webforms/diff. 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["webforms"]["getDiff"]>[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.webforms.getDiff(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.webforms.get_diff(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectRequired within parentAdditional keys: not allowed
query.base_formnumberRequired within parentOne of: 111111000000114140
query.variant_formnumberRequired within parentOne of: 111111000000114400

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

FieldTypePresenceDescription and constraints
$ModelRootExpand Get webform diff — response body

Referenced models: Get webform diff — response body

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

Get webform diff — response body
FieldTypePresenceDescription and constraints
$objectRootRepresents the diff response comparing the base and variant webforms, including the list of structural differences.
Additional keys: not allowed
diffarrayRequired within parentContains the list of diff objects representing the differences between the base and variant webforms.
Maximum items: 1
diff[]ModelEach itemExpand Get webform diff — response body — diff item

Referenced models: Get webform diff — response body — diff item

Get webform diff — response body — diff item
FieldTypePresenceDescription and constraints
$objectRootRepresents the structural differences between the base and variant webforms, including added, modified, and removed fields.
Additional keys: not allowed
added_fieldsJSONRequired within parent
added_fields (anyOf 1)arrayAlternativeContains the list of fields added to the variant webform compared to the base webform.
Maximum items: 50
added_fields (anyOf 1)[]ModelEach itemExpand Get webform diff — response body — diff item added fields null item
added_fields (anyOf 2)nullAlternativeContains the list of fields added to the variant webform compared to the base webform.
Maximum items: 50
added_fields (anyOf 2)[]ModelEach itemExpand Get webform diff — response body — diff item added fields null item
button_attributesJSONRequired within parent
button_attributes (anyOf 1)nullAlternativeContains the button attribute differences between the base and variant webforms.
Maximum items: 2
button_attributes (anyOf 1)[]ModelEach itemExpand Get webform diff — response body — diff item button attributes null item
button_attributes (anyOf 2)arrayAlternativeContains the button attribute differences between the base and variant webforms.
Maximum items: 2
button_attributes (anyOf 2)[]ModelEach itemExpand Get webform diff — response body — diff item button attributes null item
form_attributesJSONRequired within parent
form_attributes (anyOf 1)ModelAlternativeExpand Get webform diff — response body — diff item form attributes value
Field: form_attributes
form_attributes (anyOf 2)ModelAlternativeExpand Get webform diff — response body — diff item form attributes value
Field: form_attributes
modified_fieldsJSONRequired within parent
modified_fields (anyOf 1)arrayAlternativeContains the list of fields modified in the variant webform compared to the base webform.
Maximum items: 50
modified_fields (anyOf 1)[]ModelEach itemExpand Get webform diff — response body — diff item added fields null item
modified_fields (anyOf 2)nullAlternativeContains the list of fields modified in the variant webform compared to the base webform.
Maximum items: 50
modified_fields (anyOf 2)[]ModelEach itemExpand Get webform diff — response body — diff item added fields null item
removed_fieldsJSONRequired within parent
removed_fields (anyOf 1)nullAlternativeContains the list of fields removed from the variant webform compared to the base webform.
Maximum items: 50
removed_fields (anyOf 1)[]ModelEach itemExpand Get webform diff — response body — diff item added fields null item
removed_fields (anyOf 2)arrayAlternativeContains the list of fields removed from the variant webform compared to the base webform.
Maximum items: 50
removed_fields (anyOf 2)[]ModelEach itemExpand Get webform diff — response body — diff item added fields null item

Referenced models: Get webform diff — response body — diff item button attributes null item, Get webform diff — response body — diff item added fields null item, Get webform diff — response body — diff item form attributes value

Get webform diff — response body — diff item button attributes null item
FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeRepresents a button attribute entry associated with the webform's form attribute configuration.
Additional keys: not allowed
$ (anyOf 1).labelstringOptionalSpecifies the display label shown on the button in the webform.
Maximum length: 255
$ (anyOf 1).namestringOptionalRepresents the internal name identifier of the button attribute configuration within the webform.
Maximum length: 255
Get webform diff — response body — diff item added fields null item
FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeRepresents the configuration of a field modified in the comparison between the base and variant webforms.
Additional keys: not allowed
$ (anyOf 1).display_labelstringOptionalRepresents the display label of the field as shown on the webform.
Maximum length: 255
$ (anyOf 1).fieldModelOptionalExpand Get webform diff — response body — diff / item / added_fields / null / item / type: general, advanced, portal field
$ (anyOf 1).field_infoModelOptionalExpand Get webform diff — response body — diff / item / added_fields / null / item / type: general, advanced, portal field info
$ (anyOf 1).helpModelOptionalExpand Get webform diff — response body — diff / item / added_fields / null / item / type: general, advanced, portal help
$ (anyOf 1).hiddenbooleanOptionalIndicates whether the field is hidden on the webform. Possible values: true - The field is hidden. false - The field is visible.
$ (anyOf 1).requiredbooleanOptionalIndicates whether the field is required on the webform. Possible values: true - The field is required. false - The field is not required.
$ (anyOf 1).typestringRequired within parentRepresents the type classification of the field as configured on the webform.
Known values: general, advanced, portal
Maximum length: 255

Referenced models: Get webform diff — response body — diff / item / added_fields / null / item / type: general, advanced, portal help, Get webform diff — response body — diff / item / added_fields / null / item / type: general, advanced, portal field info, Get webform diff — response body — diff / item / added_fields / null / item / type: general, advanced, portal field

Get webform diff — response body — diff item form attributes value
FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeRepresents an alternate visual configuration of the webform, including color, width, alignment, and font attributes.
Additional keys: not allowed
$ (anyOf 1).alignstringOptionalSpecifies the horizontal alignment of the webform content.
Maximum length: 255
$ (anyOf 1).colorstringOptionalSpecifies the background color of the webform.
Maximum length: 255
$ (anyOf 1).font_attributesModelOptionalExpand Get webform diff — response body — diff item form attributes value align, color, font attributes, width font attributes
$ (anyOf 1).widthstringOptionalSpecifies the width of the webform.
Maximum length: 255
$ (anyOf 2)nullAlternativeRepresents an alternate visual configuration of the webform, including color, width, alignment, and font attributes.
Additional keys: not allowed
$ (anyOf 2).alignstringOptionalSpecifies the horizontal alignment of the webform content.
Maximum length: 255
$ (anyOf 2).colorstringOptionalSpecifies the background color of the webform.
Maximum length: 255
$ (anyOf 2).font_attributesModelOptionalExpand Get webform diff — response body — diff item form attributes value align, color, font attributes, width font attributes
$ (anyOf 2).widthstringOptionalSpecifies the width of the webform.
Maximum length: 255

Referenced models: Get webform diff — response body — diff item form attributes value align, color, font attributes, width font attributes

Get webform diff — response body — diff / item / added_fields / null / item / type: general, advanced, portal field info
FieldTypePresenceDescription and constraints
$objectRootRepresents the field metadata object containing additional information about the CRM field in this diff entry.
Additional keys: not allowed
field_labelstringRequired within parentRepresents the display label of the CRM field in the diff field metadata.
Maximum length: 255
typestringRequired within parentRepresents the data type of the field as defined in the CRM module configuration.
Maximum length: 255

SDK function policy ID: zoho.getdiff. Catalog operation: getDiff. 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 how our website, product, and documentation are used.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

Advertising

Shares visits and sign-ups with Meta, Reddit, and X so we can measure which of our ads work.

You can change these choices at any time from Cookie settings.