openapi: 3.1.0 info: title: Fields API description: >- Fields are the individual data attributes that define the structure of module records in Zoho CRM, encompassing properties such as data type, display label, API name, and visibility settings. This API enables developers to retrieve, create, update, and delete custom fields for standard, custom, subform, and linking modules in a Zoho CRM account. version: '8' servers: - url: https://zohoapis.{dc}/crm/{version} description: Production API server for the Zoho CRM. variables: dc: description: >- The top-level domain of the API server URL, identifying the Zoho CRM data center region. default: com enum: - com - eu - in - cn - au - ca - jp version: description: The API version included in the request URL path. default: v8 paths: /settings/fields: get: summary: List fields metadata description: >- To retrieve the field metadata for the specified module in your Zoho CRM account, including standard, custom, subform, and linking module fields. The response includes fields from all layouts but does not contain layout-specific configurations such as mandatory flags or picklist values. x-zs-llm-description: >- Use this operation to discover all available fields for a module before constructing create or update record payloads. The 'module' query parameter is required. Response includes api_name, data_type, and json_type for each field. operationId: getFields parameters: - $ref: '#/components/parameters/Module' description: >- Specify the API name of the module for which you want to retrieve field metadata. For example, the module name 'Leads'. - $ref: '#/components/parameters/Includes' description: >- Specify whether to include the allowed_permissions JSON object in the response - $ref: '#/components/parameters/Type' description: >- Specify the type of fields to be retrieved. Example: 'used', 'unused', etc. responses: '200': description: >- Returns the field metadata for all fields in the specified module, including standard, custom, subform, and linking module fields. content: application/json: schema: type: object x-zs-$id: FieldsResponseSchema description: >- Represents the response body for the field metadata request, containing an array of field configuration objects. properties: fields: type: array description: >- Represents the list of field metadata objects retrieved for the specified module. items: $ref: '#/components/schemas/FieldSchema' maxItems: 100 required: - fields additionalProperties: false examples: FullExample: summary: Field metadata for a module retrieved successfully value: fields: - associated_module: null webhook: true operation_type: web_update: true api_create: true web_create: true api_update: true colour_code_enabled_by_system: false field_label: Address 1 - Latitude tooltip: null display_format_properties: null type: used field_read_only: false customizable_properties: - mandatory display_label: Address 1 - Latitude read_only: false association_details: null businesscard_supported: false multi_module_lookup: {} id: '4832675000000710341' created_time: '2025-11-17T19:09:17+05:30' filterable: false visible: true profiles: - permission_type: read_write name: Administrator id: '4832675000000015972' - permission_type: read_write name: Standard id: '4832675000000015975' view_type: view: true edit: true quick_create: false create: true separator: false searchable: true history_tracking_enabled: false external: null api_name: Address_1_Coordinates_Latitude parent_field: api_name: Address_1_Coordinates name: Address 1 - Coordinates id: '4832675000000710334' unique: {} enable_colour_code: false child_fields: null pick_list_values: [] system_mandatory: false private: null virtual_field: false json_type: double crypt: null range: null created_source: default display_type: -1 ui_type: 38 modified_time: '2025-11-17T19:09:17+05:30' public: false email_parser: fields_update_supported: false record_operations_supported: false currency: {} custom_field: true lookup: {} hipaa_compliance: null convert_mapping: Contacts: null Deals: null Accounts: null address: type: latitude rollup_summary: {} length: 50 column_name: LEADCF69 display_field: false pick_list_values_sorted_lexically: false sortable: true global_picklist: null display_format: null history_tracking: null data_type: double formula: {} additional_column: null hipaa_compliance_enabled: false decimal_place: 9 mass_update: false multiselectlookup: {} auto_number: {} - associated_module: null webhook: true operation_type: web_update: true api_create: true web_create: true api_update: true colour_code_enabled_by_system: false field_label: Address 1 - Longitude tooltip: null display_format_properties: null type: used field_read_only: false customizable_properties: - mandatory display_label: Address 1 - Longitude read_only: false association_details: null businesscard_supported: false multi_module_lookup: {} id: '4832675000000710342' created_time: '2025-11-17T19:09:17+05:30' filterable: false visible: true profiles: - permission_type: read_write name: Administrator id: '4832675000000015972' - permission_type: read_write name: Standard id: '4832675000000015975' view_type: view: true edit: true quick_create: false create: true separator: false searchable: true history_tracking_enabled: false external: null api_name: Address_1_Coordinates_Longitude parent_field: api_name: Address_1_Coordinates name: Address 1 - Coordinates id: '4832675000000710334' unique: {} enable_colour_code: false child_fields: null pick_list_values: [] system_mandatory: false private: null virtual_field: false json_type: double crypt: null range: null created_source: default display_type: -1 ui_type: 38 modified_time: '2025-11-17T19:09:17+05:30' public: false email_parser: fields_update_supported: false record_operations_supported: false currency: {} custom_field: true lookup: {} hipaa_compliance: null convert_mapping: Contacts: null Deals: null Accounts: null address: type: longitude rollup_summary: {} length: 50 column_name: LEADCF70 display_field: false pick_list_values_sorted_lexically: false sortable: true global_picklist: null display_format: null history_tracking: null data_type: double formula: {} additional_column: null hipaa_compliance_enabled: false decimal_place: 9 mass_update: false multiselectlookup: {} auto_number: {} - associated_module: null webhook: true operation_type: web_update: true api_create: true web_create: true api_update: true colour_code_enabled_by_system: false field_label: Lead Owner tooltip: null display_format_properties: null type: used field_read_only: true customizable_properties: - field_of_lookup display_label: Lead Owner read_only: false association_details: null businesscard_supported: true multi_module_lookup: {} id: '4832675000000000553' created_time: null filterable: true visible: true profiles: - permission_type: read_write name: Administrator id: '4832675000000015972' - permission_type: read_write name: Standard id: '4832675000000015975' view_type: view: true edit: true quick_create: false create: true separator: false searchable: true history_tracking_enabled: false external: null api_name: Owner parent_field: null unique: {} enable_colour_code: false child_fields: null pick_list_values: [] system_mandatory: false private: null virtual_field: false json_type: jsonobject crypt: null range: null created_source: default display_type: -1 ui_type: 8 modified_time: null public: false email_parser: fields_update_supported: false record_operations_supported: false currency: {} custom_field: false lookup: {} hipaa_compliance: null convert_mapping: Contacts: null Deals: null Accounts: null address: null rollup_summary: {} length: 120 column_name: SMOWNERID display_field: false pick_list_values_sorted_lexically: false sortable: true layout_associations: - api_name: Standard__s name: Standard id: '4832675000000095055' global_picklist: null display_format: null history_tracking: null data_type: ownerlookup formula: {} additional_column: null hipaa_compliance_enabled: false decimal_place: null mass_update: false multiselectlookup: {} auto_number: {} - associated_module: null webhook: true operation_type: web_update: true api_create: true web_create: true api_update: true colour_code_enabled_by_system: false field_label: Company tooltip: null display_format_properties: null type: used field_read_only: false customizable_properties: - mandatory - unique - removal - private_field - tooltip - hipaa_field - add_to_other_layouts display_label: Company read_only: false association_details: null businesscard_supported: false multi_module_lookup: {} id: '4832675000000000555' created_time: null filterable: true visible: true profiles: - permission_type: read_write name: Administrator id: '4832675000000015972' - permission_type: read_write name: Standard id: '4832675000000015975' view_type: view: true edit: true quick_create: true create: true separator: false searchable: true history_tracking_enabled: false external: null api_name: Company parent_field: null unique: {} enable_colour_code: false child_fields: null pick_list_values: [] system_mandatory: false private: null virtual_field: false json_type: string crypt: null range: null created_source: default display_type: -1 ui_type: 1 modified_time: null public: false quick_sequence_number: '1' email_parser: fields_update_supported: true record_operations_supported: true currency: {} custom_field: false lookup: {} hipaa_compliance: null convert_mapping: Contacts: null Deals: null Accounts: Account_Name address: null rollup_summary: {} length: 200 column_name: COMPANY display_field: false pick_list_values_sorted_lexically: false sortable: true layout_associations: - api_name: Standard__s name: Standard id: '4832675000000095055' global_picklist: null display_format: null history_tracking: null data_type: text formula: {} additional_column: null hipaa_compliance_enabled: false decimal_place: null mass_update: true multiselectlookup: {} auto_number: {} - associated_module: null webhook: true operation_type: web_update: true api_create: true web_create: true api_update: true colour_code_enabled_by_system: false field_label: First Name tooltip: null display_format_properties: null type: used field_read_only: false customizable_properties: - mandatory - removal - add_to_other_layouts display_label: First Name read_only: false association_details: null businesscard_supported: false multi_module_lookup: {} id: '4832675000000000557' created_time: null filterable: true visible: true profiles: - permission_type: read_write name: Administrator id: '4832675000000015972' - permission_type: read_write name: Standard id: '4832675000000015975' view_type: view: false edit: true quick_create: true create: true separator: false searchable: true history_tracking_enabled: false external: null api_name: First_Name parent_field: null unique: {} enable_colour_code: false child_fields: null pick_list_values: [] system_mandatory: false private: null virtual_field: false json_type: string crypt: null range: null created_source: default display_type: -1 ui_type: 27 modified_time: null public: false quick_sequence_number: '2' email_parser: fields_update_supported: false record_operations_supported: true currency: {} custom_field: false lookup: {} hipaa_compliance: null convert_mapping: Contacts: First_Name Deals: null Accounts: null address: null rollup_summary: {} length: 40 column_name: FIRSTNAME display_field: false pick_list_values_sorted_lexically: false sortable: true layout_associations: - api_name: Standard__s name: Standard id: '4832675000000095055' global_picklist: null display_format: null history_tracking: null data_type: text formula: {} additional_column: null hipaa_compliance_enabled: false decimal_place: null mass_update: false multiselectlookup: {} auto_number: {} '204': description: >- No content. The request was processed successfully, and the response body is empty. '400': description: >- The module API name in the request is invalid. Resolution: The **module** query parameter must reference a valid module API name. content: application/json: schema: $ref: '#/components/schemas/InvalidModuleName' examples: ErrorExample: value: code: INVALID_MODULE message: the module name given seems to be invalid details: {} status: error '500': description: >- An unexpected error occurred on the Zoho CRM server while processing the request. Resolution: Contact Zoho CRM support if the issue persists. content: application/json: schema: $ref: '#/components/schemas/InternalServerError' examples: ErrorExample: value: code: INTERNAL_ERROR message: Internal Server Error details: {} status: error security: - OAuth2: - ZohoCRM.settings.fields.READ post: summary: Create custom fields in a module description: >- To create custom fields in a module in your Zoho CRM organization, where supported modules include Leads, Contacts, Accounts, Campaigns, Cases, Invoices, Deals, Price Books, Products, Purchase Orders, Quotes, Sales Orders, Solutions, Vendors, Calls, Tasks, Events, Users, and Custom modules. x-zs-llm-description: >- Use this operation to create one or more custom fields in a module. Each field object in the 'fields' array must include 'field_label' and 'data_type'. The 'api_name' is auto-generated from 'field_label' if not provided. operationId: createFields parameters: - $ref: '#/components/parameters/Module' description: >- Specify the API name of the module for which you want to create custom fields. For example, the module name 'Leads'. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/FieldRequestBodySchema' examples: FullExample: summary: >- Creates a single-line text field and a multi-line text area field in one request value: fields: - field_label: Your Name data_type: text tooltip: name: static_text value: Enter your name profiles: - id: '2423488000000015972' permission_type: read_write - id: '2423488000000015975' permission_type: read_only external: type: user show: false crypt: mode: decryption - field_label: Name data_type: textarea length: 50000 textarea: type: rich_text tooltip: name: static_text value: Enter your name profiles: - id: '2423488000000015972' permission_type: read_write - id: '2423488000000015975' permission_type: read_write - field_label: Email address data_type: email tooltip: name: static_text value: Enter email address crypt: mode: decryption unique: case_sensitive: false hipaa_compliance_enabled: true private: type: High - field_label: Phone data_type: phone association_details: related_field: api_name: Phone id: '4832675000000710341' lookup_field: reference_id: '{{ref8909}}' responses: '201': description: >- Returns a list of results confirming that all requested custom fields were created successfully. content: application/json: schema: $ref: '#/components/schemas/CreateFieldsResponse' examples: FullExample: summary: >- Successful field creation response with IDs for each created field value: fields: - code: SUCCESS details: id: '111112000000067259' message: field created status: success - code: SUCCESS details: id: '11111200000006724' message: field created status: success - code: SUCCESS details: id: '111112000000067239' message: field created status: success '207': description: >- Returns a mixed-status result in which at least one field creation succeeds and at least one field encounters an error, with each entry in the fields array carrying its own status. content: application/json: schema: type: object x-zs-$id: PostMultiStatusResponse description: >- Represents a multi-status response in which each entry in the fields array independently reflects either a successful field creation or a field-level error. properties: fields: type: array description: >- Represents the list of field creation results returned for the request. Each entry is either a success object or an error object, reflecting whether the corresponding field creation succeeded or failed. items: oneOf: - $ref: '#/components/schemas/FieldCreationResult' - $ref: '#/components/schemas/ErrorResponse' minItems: 2 maxItems: 25 required: - fields additionalProperties: false examples: PartialSuccess: summary: >- Mixed result with one field created successfully and one rejected with INVALID_DATA value: fields: - code: SUCCESS details: id: '1947368000002460003' message: field created status: success - code: INVALID_DATA details: api_name: data_type json_path: $.fields[1].data_type message: invalid data status: error '400': description: >- Invalid data was submitted for one or more fields in the request. **Resolution:** The caller should verify that all required keys such as field_label and data_type are present and that field type values are valid before resubmitting the request. content: application/json: schema: x-zs-$id: PostBadRequestResponse oneOf: - $ref: '#/components/schemas/ErrorResponse' - type: object description: >- Represents an error response containing an array of field-level errors and supplementary context about the invalid request data. x-zs-$id: PostBadRequestWTOFieldobject properties: fields: type: array description: > Represents the list of error details for each field that could not be created. Each entry describes the specific error encountered during field creation. items: $ref: '#/components/schemas/ErrorResponse' maxItems: 25 required: - fields additionalProperties: false examples: ErrorExample: value: code: INVALID_MODULE message: the module name given seems to be invalid details: {} status: error '500': description: >- An unexpected server-side error occurred while processing the request. **Resolution:** The caller should wait briefly and retry the request; if the error persists, report the issue to Zoho CRM support. content: application/json: schema: $ref: '#/components/schemas/InternalServerError' examples: ErrorExample: value: code: INTERNAL_ERROR message: Internal Server Error details: {} status: error security: - OAuth2: - ZohoCRM.settings.fields.CREATE patch: summary: Update custom fields description: >- To update one or more custom fields in a module in your Zoho CRM account. x-zs-llm-description: >- Use this operation to bulk-update properties of multiple custom fields in a module. Each object in the 'fields' array must include the field's 'id' to identify which field to update. operationId: updateField parameters: - $ref: '#/components/parameters/Module' description: >- Specify the API name of the module for which you want to update custom fields. For example, the module name 'Leads'. requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/FieldUpdateRequestBodySchema' examples: FullExample: summary: Bulk update of multiple field configurations value: fields: - history_tracking_enabled: true history_tracking: related_list_name: Region Tracker duration_configuration: time followed_fields: - api_name: Owner _delete: null - api_name: Company id: '5725767000000002591' - id: '2276164000002053013' pick_list_values: - id: '2276164000002053012' _global_picklist_value: id: '2276164000002053039' - id: '2276164000002053014' _global_picklist_value: id: '2276164000002053041' global_picklist: api_name: Market id: '2276164000002053035' - id: '2276164000002053013' field_label: Updated Field Label length: 255 association_details: related_field: id: '4832675000000710341' api_name: City lookup_field: id: '4832675000000710334' api_name: Lookup_Field responses: '200': description: >- Returns the update status for each field submitted in the request, with the unique ID of each successfully updated field. content: application/json: schema: $ref: '#/components/schemas/CreateFieldsResponse' examples: FullExample: summary: All requested fields updated successfully value: fields: - code: SUCCESS details: id: '111112000000067259' message: field updated status: success - code: SUCCESS details: id: '11111200000006724' message: field updated status: success - code: SUCCESS details: id: '111112000000067239' message: field updated status: success '207': description: >- Returns a partial-success response where some fields were updated successfully and others failed validation, with per-field status information. content: application/json: schema: type: object x-zs-$id: PatchMultiStatusResponse description: >- Represents the multi-status response for a bulk field update request, containing a mix of success and error results. properties: fields: type: array description: >- Represents the list of per-field results for the bulk update operation, where each item indicates either a successful update or a validation error. items: oneOf: - $ref: '#/components/schemas/FieldCreationResult' - $ref: '#/components/schemas/ErrorResponse' minItems: 2 maxItems: 25 required: - fields additionalProperties: false examples: PartialSuccess: summary: Partial success - one field updated, one failed value: fields: - code: SUCCESS details: id: '1947368000002460003' message: field updated status: success - code: INVALID_DATA details: api_name: data_type json_path: $.fields[1].data_type message: invalid data status: error '400': description: >- The request to update one or more fields is invalid. Resolution: The request payload and module API name must be valid, every field object must include a valid field **id** and satisfy the schema for its declared **data_type**, and the field must not be system-defined, undergoing type conversion, or subject to association limits. content: application/json: schema: x-zs-$id: PatchBadRequestResponse oneOf: - $ref: '#/components/schemas/ErrorResponse' - type: object description: >- Represents the 400 error response when multiple fields fail validation, returning an array of per-field error objects. x-zs-$id: PatchBadRequestWTOFieldobject properties: fields: type: array description: >- Represents the array of per-field error objects when validation fails for one or more fields in the update request. items: $ref: '#/components/schemas/ErrorResponse' maxItems: 25 required: - fields additionalProperties: false examples: SingleError: summary: Invalid module value: code: INVALID_MODULE message: the module name given seems to be invalid details: {} status: error FieldErrors: summary: Invalid field data value: fields: - code: INVALID_DATA message: invalid data details: expected_data_type: ArrayList api_name: group json_path: $.fields[0].lookup.query_details.criteria.group status: error FieldIndexedEncryptNotAllowed: summary: Indexed field cannot be encrypted value: fields: - code: NOT_ALLOWED message: Indexed field cannot be encrypted details: api_name: crypt json_path: $.fields[0].crypt status: error '500': description: >- An unexpected error occurred on the Zoho CRM server while processing the request. Resolution: Contact Zoho CRM support if the issue persists. content: application/json: schema: $ref: '#/components/schemas/InternalServerError' examples: ErrorExample: value: code: INTERNAL_ERROR message: Internal Server Error details: {} status: error security: - OAuth2: - ZohoCRM.settings.fields.UPDATE /settings/fields/{fieldId}: get: summary: Get field metadata by ID description: >- To retrieve the metadata of a specific custom field in a module in your Zoho CRM account by its field ID. x-zs-llm-description: >- Use this operation to retrieve metadata of a single custom field by its field ID. Requires both 'module' query parameter and 'fieldId' path parameter. operationId: getFieldsWithID parameters: - $ref: '#/components/parameters/Module' description: >- Specify the API name of the module for which you want to retrieve field metadata. For example, the module name 'Leads'. - name: fieldId in: path description: Specify the unique ID of the custom field to retrieve. required: true schema: $ref: '#/components/schemas/Id' - $ref: '#/components/parameters/Includes' description: >- Specify whether to include the allowed_permissions JSON object in the response - $ref: '#/components/parameters/Type' description: >- Specify the type of fields to be retrieved. Example: 'used', 'unused', etc. responses: '200': description: >- Returns the metadata for the custom field identified by the specified field ID. content: application/json: schema: x-zs-$id: FieldsResponseWithID type: object description: >- Represents the response body for the single-field metadata request, containing an array with one field configuration object. properties: fields: type: array description: >- Represents the list of field metadata objects for the specified field, containing one entry. items: $ref: '#/components/schemas/FieldSchema' maxItems: 1 required: - fields additionalProperties: false examples: FullExample: summary: Metadata of a single field retrieved successfully value: fields: - associated_module: null webhook: true operation_type: web_update: true api_create: true web_create: true api_update: true colour_code_enabled_by_system: false field_label: Address 1 - Latitude tooltip: null display_format_properties: null type: used field_read_only: false customizable_properties: - mandatory display_label: Address 1 - Latitude read_only: false association_details: null businesscard_supported: false multi_module_lookup: {} id: '4832675000000710341' created_time: '2025-11-17T19:09:17+05:30' filterable: false visible: true profiles: - permission_type: read_write name: Administrator id: '4832675000000015972' - permission_type: read_write name: Standard id: '4832675000000015975' view_type: view: true edit: true quick_create: false create: true separator: false searchable: true history_tracking_enabled: false external: null api_name: Address_1_Coordinates_Latitude parent_field: api_name: Address_1_Coordinates name: Address 1 - Coordinates id: '4832675000000710334' unique: {} enable_colour_code: false child_fields: null pick_list_values: [] system_mandatory: false private: null virtual_field: false json_type: double crypt: null range: null created_source: default display_type: -1 ui_type: 38 modified_time: '2025-11-17T19:09:17+05:30' public: false email_parser: fields_update_supported: false record_operations_supported: false currency: {} custom_field: true lookup: {} hipaa_compliance: null convert_mapping: Contacts: null Deals: null Accounts: null address: type: latitude rollup_summary: {} length: 50 column_name: LEADCF69 display_field: false pick_list_values_sorted_lexically: false sortable: true global_picklist: null display_format: null history_tracking: null data_type: double formula: {} additional_column: null hipaa_compliance_enabled: false decimal_place: 9 mass_update: false multiselectlookup: {} auto_number: {} '400': description: >- The request is invalid. Resolution: The **module** query parameter must reference a valid module API name, and the **fieldId** path parameter must reference a valid field ID. content: application/json: schema: $ref: '#/components/schemas/BadRequest' examples: ErrorExample: value: code: INVALID_MODULE message: the module name given seems to be invalid details: {} status: error '500': description: >- An unexpected error occurred on the Zoho CRM server while processing the request. Resolution: Contact Zoho CRM support if the issue persists. content: application/json: schema: $ref: '#/components/schemas/InternalServerError' examples: ErrorExample: value: code: INTERNAL_ERROR message: Internal Server Error details: {} status: error security: - OAuth2: - ZohoCRM.settings.fields.READ patch: summary: Update a custom field description: >- To update a specific custom field in a module in your Zoho CRM account by its unique field ID. x-zs-llm-description: >- Use this operation to update a single custom field by its field ID. Unlike updateField (PATCH /settings/fields) which updates multiple fields at once, this targets exactly one field using the 'fieldId' path parameter. operationId: putFieldsWithId parameters: - $ref: '#/components/parameters/Module' description: >- Module name passed as parameter is case insensitive. For example, the module name 'Leads'. - name: fieldId in: path description: Specify the unique ID of the custom field to update. required: true schema: $ref: '#/components/schemas/Id' requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/FieldUpdateRequestBodySchema' examples: FullExample: summary: Example of a field update for the Leads module value: fields: - history_tracking_enabled: true history_tracking: related_list_name: Region Tracker duration_configuration: time followed_fields: - api_name: Owner _delete: null - api_name: Company id: '5725767000000002591' - id: '2276164000002053013' pick_list_values: - id: '2276164000002053012' _global_picklist_value: id: '2276164000002053039' - id: '2276164000002053014' _global_picklist_value: id: '2276164000002053041' global_picklist: api_name: Market id: '2276164000002053035' responses: '200': description: >- Returns the update status for the field, including its unique ID and confirmation of the successful update. content: application/json: schema: type: object description: >- Represents the response body for the single-field update operation, containing an array with one update result. x-zs-$id: UpdateFieldResponseWithId properties: fields: type: array description: >- Represents the list of field update results for the single-field update operation, containing one entry. items: $ref: '#/components/schemas/FieldCreationResult' maxItems: 1 additionalProperties: false examples: FullExample: summary: Example response of a text field update for the Leads module value: fields: - code: SUCCESS details: id: '111112000000067259' message: field updated status: success '400': description: >- The request to update the custom field is invalid. Resolution: The request payload and module API name must be valid, and the field object must satisfy the schema for its declared **data_type**. content: application/json: schema: x-zs-$id: PatchBadRequestResponseWithId oneOf: - $ref: '#/components/schemas/ErrorResponse' - type: object description: >- Represents the 400 error response when validation fails for one or more properties of the field being updated, returning an array of per-field error objects. x-zs-$id: BadRequestWTOFieldobjectWithId properties: fields: type: array description: >- Represents the array of per-field error objects when validation fails for one or more properties of the field being updated. items: $ref: '#/components/schemas/ErrorResponse' maxItems: 100 required: - fields additionalProperties: false examples: SingleError: summary: Invalid module value: code: INVALID_MODULE message: the module name given seems to be invalid details: {} status: error FieldErrors: summary: Invalid field data value: fields: - code: INVALID_DATA message: Invalid data details: expected_data_type: ArrayList api_name: group json_path: $.fields[0].lookup.query_details.criteria.group status: error FieldIndexedEncryptNotAllowed: summary: Indexed field cannot be encrypted value: fields: - code: NOT_ALLOWED message: Indexed field cannot be encrypted details: api_name: crypt json_path: $.fields[0].crypt status: error '500': description: >- An unexpected error occurred on the Zoho CRM server while processing the request. Resolution: Contact Zoho CRM support if the issue persists. content: application/json: schema: $ref: '#/components/schemas/InternalServerError' examples: ErrorExample: value: code: INTERNAL_ERROR message: Internal Server Error details: {} status: error security: - OAuth2: - ZohoCRM.settings.fields.UPDATE delete: summary: Delete a custom field description: >- To delete a custom field from a module in your Zoho CRM account. The field must not be used in workflows, approvals, scoring rules, or other configurations before deletion. x-zs-llm-description: >- Use this operation to permanently delete a custom field by its field ID. Requires both 'fieldId' path parameter and 'module' query parameter. Only custom fields can be deleted; system-defined fields will return an error. operationId: deleteCustomField parameters: - name: fieldId in: path description: Specify the unique ID of the custom field to delete. required: true schema: $ref: '#/components/schemas/Id' - $ref: '#/components/parameters/Module' description: >- Module name passed as parameter is case insensitive. For example, the module name 'Leads'. responses: '200': description: >- Returns the deletion status for the field, including its unique ID and confirmation of the successful deletion. content: application/json: schema: type: object description: >- Represents the response body for the field deletion operation, containing an array with one deletion result. x-zs-$id: DeleteFieldResponseWithId properties: fields: type: array description: >- Represents the list of field deletion results, containing one entry with the unique ID of the deleted field. items: $ref: '#/components/schemas/FieldCreationResult' maxItems: 1 additionalProperties: false examples: FullExample: summary: Successful deletion of a single custom field value: fields: - code: SUCCESS details: id: '111112000000067259' message: field deleted status: success '400': description: >- The request to delete the custom field is invalid. Resolution: The **module** query parameter must reference a valid module API name, the **fieldId** path parameter must reference a valid field ID, and the field must not be system-defined or in use in workflows, approvals, scoring rules, or other configurations. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: ErrorExample: value: code: INVALID_MODULE message: the module name given seems to be invalid details: {} status: error FieldUsedInIndex: summary: Field is part of an active index and cannot be deleted value: code: NOT_ALLOWED details: resource_path_index: 2 message: The custom field has already used in other places status: error '401': description: >- Authentication failure or insufficient OAuth scope. Resolution: Verify that the access token is valid and includes the required scopes. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: ErrorExample: value: code: AUTHENTICATION_FAILURE details: {} message: Authentication failed status: error '403': description: >- Permission denied to delete fields in this module. Resolution: Verify the user's profile has the required permissions. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: ErrorExample: value: code: NO_PERMISSION details: permissions: - Crm_Implied_Customize_Zoho_CRM message: permission denied status: error '404': description: >- The request URL is invalid or the specified field does not exist. Resolution: The **fieldId** path parameter must reference a valid field ID, and the request URL must follow the correct pattern. content: application/json: schema: $ref: '#/components/schemas/ErrorResponse' examples: ErrorExample: value: code: INVALID_URL_PATTERN details: {} message: Please check if the URL trying to access is a correct one status: error '500': description: >- An unexpected error occurred on the Zoho CRM server while processing the request. Resolution: Contact Zoho CRM support if the issue persists. content: application/json: schema: $ref: '#/components/schemas/InternalServerError' examples: ErrorExample: value: code: INTERNAL_ERROR message: Please check logs for internal error details: {} status: error security: - OAuth2: - ZohoCRM.settings.fields.DELETE /settings/fields/{fieldId}/actions/scheduled_jobs: get: summary: Get scheduled jobs for a field description: >- To retrieve the status of scheduled jobs for picklist field operations in your Zoho CRM account, such as replace or delete picklist option jobs. x-zs-llm-description: >- This endpoint allows you to retrieve the status of scheduled jobs for a specific field operation. You can use this to check the progress and outcome of operations such as replacing or deleting picklist values. The response will include details about the job, including its ID, action, module, and the status of various components involved in the operation. operationId: getScheduledJobs parameters: - $ref: '#/components/parameters/ParamQueryJobId' - $ref: '#/components/parameters/Module' - $ref: '#/components/parameters/ParamQueryPage' - $ref: '#/components/parameters/ParamQueryPerPage' - $ref: '#/components/parameters/ParamPathFieldid' responses: '200': description: >- Returns the list of scheduled jobs for the specified field, with their status, action type, and processing details. content: application/json: schema: $ref: '#/components/schemas/FieldPicklistJobsResponse' examples: Success200: summary: Scheduled jobs list retrieved successfully value: scheduled_jobs: - job_id: '3759037000000570605' action: REPLACE_PICKLIST_OPTION module: id: '3759037000000570346' api_name: Potentials details: records: total: 400 processed: 0 failed: 0 workflow_rules: total: 10 processed: 0 failed: 0 field_dependency: total: 3 processed: 0 failed: 0 dashboard_criteria: total: 5 processed: 0 failed: 0 status: SCHEDULED message: Job scheduled - job_id: '3759037000000570606' action: DELETE_PICKLIST_OPTION module: id: '3759037000000570456' api_name: Leads details: records: total: 400 processed: 300 failed: 100 workflow_rules: total: 10 processed: 10 failed: 0 field_dependency: total: 2 processed: 2 failed: 0 dashboard_criteria: total: 5 processed: 5 failed: 0 status: COMPLETED message: Job completed info: page: 1 per_page: 200 count: 10 more_records: true '204': description: >- No content. The request was processed successfully, and no scheduled jobs are available for the specified field. '400': description: >- The request is invalid. Resolution: Ensure the **module** query parameter is a valid module API name, the **fieldId** path parameter is a valid field ID, and required parameters are included. content: application/json: schema: oneOf: - $ref: '#/components/schemas/InvalidModuleError' - $ref: '#/components/schemas/InvalidFieldIdError' - $ref: '#/components/schemas/FeatureNotSupportedError' - $ref: '#/components/schemas/RequiredParameterMissingError' x-zs-$id: GetscheduledjobsError400 examples: InvalidModuleResponse1: summary: INVALID_MODULE error for an invalid module name value: code: INVALID_MODULE details: param_name: module message: the module name given seems to be invalid status: error InvalidDataResponse1: summary: INVALID_DATA error for an invalid field ID value: code: INVALID_DATA details: resource_path_index: 2 message: The Field Id is Invalid status: error FeatureNotSupportedResponse1: summary: >- FEATURE_NOT_SUPPORTED when license does not support this feature value: code: FEATURE_NOT_SUPPORTED details: {} message: Your License does not support this feature status: error RequiredParamMissingResponse1: summary: REQUIRED_PARAM_MISSING when a required parameter is absent value: code: REQUIRED_PARAM_MISSING details: param_name: module message: One of the expected parameter is missing status: error '403': description: >- Permission denied to retrieve scheduled jobs for this field. Resolution: The CRM administrator must grant the required permission to the user's profile. content: application/json: schema: $ref: '#/components/schemas/PermissionDeniedError' x-zs-$id: GetscheduledjobsError403 examples: NoPermissionResponse1: summary: NO_PERMISSION error for insufficient profile permissions value: code: NO_PERMISSION details: permissions: - Crm_Implied_Role_Prefix_Customize_Zoho_CRM message: permission denied status: error security: - OAuth2: - ZohoCRM.settings.fields.READ components: schemas: RecordProcessingSummary: type: object additionalProperties: false description: >- Represents the summary of record-level impact for the job, including total records evaluated, successfully processed, and failed. properties: processed: type: integer format: int32 description: Represents the processed records. total: type: integer format: int32 description: Represents the total records. failed: type: integer format: int32 description: Represents the failed records. required: - failed - processed - total title: Record Processing Summary InvalidFieldIdError: type: object additionalProperties: false description: >- Represents the error response returned when the supplied field ID is invalid for the requested operation. properties: code: type: string description: Represents the error code for the invalid field ID error. enum: - INVALID_DATA details: type: object additionalProperties: false description: Represents the validation details for the invalid field ID error. properties: resource_path_index: type: integer format: int32 description: >- Represents the index of the URL path segment that contains the invalid field ID. required: - resource_path_index message: type: string description: Represents the error message indicating the field ID is invalid. enum: - The Field Id is Invalid status: type: string description: Represents the response status. enum: - error required: - code - details - message - status title: Invalid Field ID Error x-zs-$id: InvalidFieldIdError PermissionDeniedError: type: object additionalProperties: false description: >- Represents the error response returned when the caller does not have the required permission to perform the requested operation. properties: code: type: string description: Represents the error code for the permission denied error. enum: - NO_PERMISSION details: type: object additionalProperties: false description: >- Represents the details of the permission denied error, including the required CRM permissions. properties: permissions: type: array description: >- Represents the list of CRM permissions required to perform the requested operation. items: type: string description: >- Represents a single CRM permission required to perform the requested operation. maxLength: 255 maxItems: 25 required: - permissions message: type: string description: Represents the error message indicating permission was denied. enum: - permission denied status: type: string description: Represents the response status. enum: - error required: - code - details - message - status title: Permission Denied Error x-zs-$id: PermissionDeniedError ModuleName: type: string description: Represents the name of the module. example: Leads maxLength: 100 FeatureNotSupportedError: type: object additionalProperties: false description: >- Represents the error response returned when the requested feature is not supported by the current license. properties: code: type: string description: Represents the error code for the unsupported feature error. enum: - FEATURE_NOT_SUPPORTED details: type: object additionalProperties: false description: Represents additional details about the unsupported feature error. properties: {} message: type: string description: >- Represents the error message indicating the feature is not supported. enum: - Your License does not support this feature status: type: string description: Represents the response status. enum: - error required: - code - details - message - status title: Feature Not Supported Error x-zs-$id: FeatureNotSupportedError FieldSchema: type: object additionalProperties: false description: Represents the schema representing a field in the module. properties: mask_details: oneOf: - type: object x-zs-$id: MaskDetails description: >- If field masking is enabled for the field, it will return the masking information; otherwise null. additionalProperties: true - $ref: '#/components/schemas/TypeNull' associated_module: oneOf: - type: object additionalProperties: false description: >- Represents the details of the associated module, such as a subform. properties: module: $ref: '#/components/schemas/ModuleName' id: $ref: '#/components/schemas/Id' required: - id - module x-zs-$id: AssociatedModule - $ref: '#/components/schemas/TypeNull' webhook: type: boolean description: Indicates whether webhook is enabled for the field. example: false operation_type: type: object additionalProperties: false description: Represents the operation types allowed for the field. properties: web_update: type: boolean description: Indicates whether the field can be updated through the web. example: false api_create: type: boolean description: Indicates whether the field can be created through the API. example: false web_create: type: boolean description: Indicates whether the field can be created through the web. example: false api_update: type: boolean description: Indicates whether the field can be updated through the API. example: false required: - api_create - api_update - web_create - web_update colour_code_enabled_by_system: type: boolean description: >- Indicates whether colour coding is enabled for this field by the system. example: false field_label: type: string description: >- Represents the display name of the field in the user's preferred language. example: Last Name maxLength: 100 tooltip: oneOf: - type: object additionalProperties: false description: >- Represents the tooltip configuration for the field, including the tooltip type and displayed message. properties: name: type: string description: Represents the it gives the name of the tool tip. example: info_icon maxLength: 25 value: type: string description: Represents the text for the tool tip. example: Last Name maxLength: 255 required: - name - value x-zs-$id: ToolTip - $ref: '#/components/schemas/TypeNull' display_format_properties: oneOf: - type: object additionalProperties: false description: >- Represents the display format configuration for the field, including the phone-number split value and radio-button display type. properties: split: type: number format: int32 description: >- Represents the split value applied to phone number fields, which divides the number into the specified number of segments. example: 3 radio_display_type: type: string description: >- Represents the display type applied to radio button fields, such as **all** or **vertical**. example: all maxLength: 25 x-zs-$id: DisplayFormatProperties - $ref: '#/components/schemas/TypeNull' type: type: string description: Represents the type of the field used or unused. example: user maxLength: 25 field_read_only: type: boolean description: >- Indicates whether the field is always read-only and cannot be edited under any circumstances. example: false customizable_properties: oneOf: - type: array description: Represents the customizable properties of the field. items: type: string description: Represents a customizable property of the field. example: mandatory maxLength: 50 maxItems: 100 x-zs-$id: CustomizableProperties - $ref: '#/components/schemas/TypeNull' display_label: type: string description: Represents the display label of the field. example: Last Name maxLength: 50 read_only: type: boolean description: Indicates whether the field is read-only for the current user. example: false association_details: oneOf: - type: object additionalProperties: false description: >- Represents the association details of the lookup field, including the related field and the lookup field configuration in the connected module. properties: related_field: type: object additionalProperties: false description: Represents the details of the related field. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id lookup_field: type: object additionalProperties: false description: Represents the details of the lookup field. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id required: - lookup_field - related_field x-zs-$id: AssociationDetails - $ref: '#/components/schemas/TypeNull' businesscard_supported: type: boolean description: >- Indicates whether the field can be added to the business card section. example: false multi_module_lookup: oneOf: - type: object additionalProperties: false description: >- Represents the multi-module lookup configuration of the field, including the display label, API name, and the list of modules the lookup references. properties: display_label: type: string description: Represents the display label of the multi module lookup. example: Appointments maxLength: 50 api_name: $ref: '#/components/schemas/ApiName' modules: type: array description: >- Represents the list of modules associated with the multi module lookup. items: type: object additionalProperties: false description: Represents the details of the module. properties: api_name: $ref: '#/components/schemas/ApiName' module_name: type: string description: Represents the name of the module. example: Leads maxLength: 50 id: $ref: '#/components/schemas/Id' required: - api_name - id - module_name maxItems: 100 x-zs-$id: MultiModuleLookup - $ref: '#/components/schemas/TypeNull' id: $ref: '#/components/schemas/Id' x-zs-$id: FieldsId created_time: oneOf: - type: string format: date-time description: Represents the time when the record was created. example: '2023-10-03T12:00:00+05:30' x-zs-$id: CreatedTime - $ref: '#/components/schemas/TypeNull' filterable: type: boolean description: Indicates if the field is filterable. example: true visible: type: boolean description: Indicates if the field is visible. example: true profiles: type: array description: Represents the list of profiles associated with the field. items: type: object additionalProperties: false description: Represents the profile details. properties: permission_type: type: string description: Represents the type of permission granted. example: read_write maxLength: 25 name: type: string description: Represents the name of the profile. example: Administrator maxLength: 60 id: $ref: '#/components/schemas/Id' required: - id - name - permission_type maxItems: 50 view_type: type: object additionalProperties: false description: Represents the view type details of the field. properties: view: type: boolean description: Indicates if the field is viewable. example: true edit: type: boolean description: Indicates if the field is editable. example: true quick_create: type: boolean description: Indicates if the field supports quick create. example: true create: type: boolean description: Indicates if the field supports create. example: true required: - create - edit - quick_create - view separator: type: boolean description: Indicates if the field is a separator. example: false searchable: type: boolean description: Indicates if the field is searchable. example: true history_tracking_enabled: type: boolean description: Indicates if history tracking is enabled for the field. example: false external: oneOf: - type: object additionalProperties: false description: >- Represents the external field configuration of the field, including its visibility and type when integrated with an external system. properties: show: type: boolean description: Indicates if the external field is shown. example: true type: type: string description: Indicates the type of the external field. example: org maxLength: 50 required: - show - type x-zs-$id: External - $ref: '#/components/schemas/TypeNull' api_name: $ref: '#/components/schemas/ApiName' x-zs-$id: FieldsApiName parent_field: oneOf: - type: object additionalProperties: false description: >- Represents the parent field of the current field, applicable to subfields such as address coordinates that belong to a composite parent field. properties: api_name: $ref: '#/components/schemas/ApiName' name: type: string description: Represents the name of the parent field. example: Address 1 - Coordinates maxLength: 50 id: $ref: '#/components/schemas/Id' required: - api_name - id - name x-zs-$id: ParentField - $ref: '#/components/schemas/TypeNull' unique: type: object additionalProperties: false description: Represents the uniqueness details of the field. properties: case_sensitive: type: boolean description: Indicates if the uniqueness is case sensitive. example: false enable_colour_code: type: boolean description: Indicates if colour code is enabled for the field. example: false child_fields: oneOf: - type: array description: >- Represents the list of child fields associated with the Address field. items: type: object additionalProperties: false description: Represents the details of a child Address fields. properties: sequence_number: type: number format: int32 description: >- Represents the sequence number of the child field present in the Address field. example: 1 field: type: object additionalProperties: false description: Represents the details of the child Address field. properties: api_name: $ref: '#/components/schemas/ApiName' name: type: string description: Represents the name of the child Address field. example: Address 1 - City maxLength: 100 id: $ref: '#/components/schemas/Id' required: - api_name - id - name required: - field - sequence_number maxItems: 100 x-zs-$id: ChildFields - $ref: '#/components/schemas/TypeNull' reference_id: $ref: '#/components/schemas/ReferenceId' pick_list_values: oneOf: - type: array description: >- Represents the list of picklist values configured for the field, applicable to picklist and multi-select picklist fields. items: type: object additionalProperties: false description: >- Represents the details of a picklist value, including its display value, actual value, sequence number, and color code. properties: display_value: type: string description: >- Represents the display value of the picklist option shown in the user interface. example: Option 1 maxLength: 120 sequence_number: type: number format: int32 description: >- Represents the order position of the picklist option in the dropdown list. example: 1 reference_value: type: string description: >- Represents the reference value of the picklist option used by integrations and reports. example: option_1 maxLength: 120 colour_code: type: string description: >- Represents the colour code associated with the picklist option. example: '#FF5733' maxLength: 20 actual_value: type: string description: Represents the actual stored value of the picklist option. example: Option 1 maxLength: 120 id: $ref: '#/components/schemas/Id' x-zs-$id: FieldsPickListValuesId type: type: string description: >- Represents whether the picklist option is used or unused in the module. example: standard maxLength: 50 record_category_value: type: object description: >- Reference to an existing record category value mapped to this picklist option. **At least one identifier must be provided**: `id`, `rid`, or `api_name`. Multiple identifiers can be provided for validation purposes. Server-side validation enforces this requirement. properties: id: type: string format: int64 description: Unique identifier of the record category value api_name: type: string description: API name of the record category value maxLength: 255 additionalProperties: false required: - actual_value - display_value - id - reference_value - sequence_number - type maxItems: 100 x-zs-$id: PickListValues - $ref: '#/components/schemas/TypeNull' enable_record_category: type: boolean description: >- Indicates if the record category feature is enabled for this picklist field. Only returned when the record category feature is available. example: false record_category_tracking_field: description: >- Reference to the field used to track record category changes over time in the timeline view. Only present when enable_record_category is true and a tracking field is configured. oneOf: - type: object x-zs-$id: RecordCategoryTrackingFieldStructure description: Field reference for tracking record category changes. additionalProperties: false properties: api_name: $ref: '#/components/schemas/ApiName' description: API name of the tracking field. id: $ref: '#/components/schemas/Id' description: Unique identifier of the tracking field. required: - api_name - id - $ref: '#/components/schemas/TypeNull' enable_transition_for_record_category: type: boolean description: >- Indicates if transitions between record categories are enabled. Only returned when enable_record_category is true. example: false record_category_values: type: array description: >- List of record category values defined for this picklist field. Only returned when enable_record_category is true. maxItems: 50 items: type: object description: Individual record category configuration. additionalProperties: false properties: id: $ref: '#/components/schemas/Id' description: Unique identifier of the record category. api_name: $ref: '#/components/schemas/ApiName' description: API name of the record category. value: type: string description: Display value of the record category. maxLength: 120 example: Closed Won nature_of_category: type: string description: Nature of the record category indicating sentiment or outcome. enum: - none - thumbs_up - thumbs_down example: thumbs_up required: - id - api_name - value - nature_of_category system_mandatory: type: boolean description: Indicates if the field is system mandatory. example: false private: oneOf: - type: object additionalProperties: false description: >- Represents the privacy configuration of the field, including the restriction type, access restrictions, and export restrictions applied to sensitive data. properties: restricted: type: boolean description: Indicates if the field is restricted. example: false type: type: string description: Represents the type of privacy. example: High maxLength: 25 export: type: boolean description: Indicates if the field is exportable. example: false required: - export - restricted - type x-zs-$id: PrivateField - $ref: '#/components/schemas/TypeNull' virtual_field: type: boolean description: Indicates if the field is a virtual field. example: false json_type: type: string description: Represents the jSON type of the field. example: string maxLength: 25 crypt: oneOf: - type: object additionalProperties: false description: >- Represents the encryption configuration of the field when encryption is enabled. properties: mode: type: string description: Represents the encryption mode used. example: encryption maxLength: 25 encrypt_case: oneOf: - type: string description: Represents the details of the encryption case. example: lowercase maxLength: 25 x-zs-$id: EncryptCase - $ref: '#/components/schemas/TypeNull' status: type: number format: int32 description: Represents the status of the encryption. example: 1 required: - mode - status x-zs-$id: CryptDetails - $ref: '#/components/schemas/TypeNull' range: oneOf: - type: object additionalProperties: false description: >- Represents the numeric range allowed for the field, defined by the **from** and **to** values. properties: from: type: number format: double description: Represents the starting value of the range. example: 1 to: type: number format: double description: Represents the ending value of the range. example: 100 required: - from - to x-zs-$id: RangeDetails - $ref: '#/components/schemas/TypeNull' created_source: type: string description: Represents the source from which the field was created. example: api maxLength: 60 display_type: type: number format: int32 description: Represents the display type of the field. example: 1 ui_type: type: number format: int32 description: Represents the UI type of the field. example: 1 modified_time: oneOf: - type: string format: date-time description: Represents the time when the record was last modified. example: '2023-10-05T15:30:00+05:30' x-zs-$id: ModifiedTime - $ref: '#/components/schemas/TypeNull' public: type: boolean description: Indicates if the field is public. example: true email_parser: type: object additionalProperties: false description: Represents the email parser details of the field. properties: fields_update_supported: type: boolean description: Indicates if field updates are supported by email parser. example: true record_operations_supported: type: boolean description: Indicates if record operations are supported by email parser. example: true required: - fields_update_supported - record_operations_supported currency: oneOf: - type: object additionalProperties: false description: >- Represents the currency configuration of the field, including precision, rounding option, and currency code. properties: rounding_option: type: string description: Represents the rounding option for the currency. example: Round Off maxLength: 25 precision: type: number format: int32 description: Represents the precision of the currency. example: 2 x-zs-$id: CurrencyDetails - $ref: '#/components/schemas/TypeNull' custom_field: type: boolean description: Indicates if the field is a custom field. example: true lookup: oneOf: - type: object additionalProperties: false description: Represents the lookup field details. properties: display_label: oneOf: - type: string x-zs-$id: LookupDisplayLabel description: Display label of the lookup field example: Related List Label 1 maxLength: 50 - $ref: '#/components/schemas/TypeNull' revalidate_filter_during_edit: type: boolean description: Indicates if the filter should be revalidated during edit. example: true api_name: oneOf: - $ref: '#/components/schemas/ApiName' - $ref: '#/components/schemas/TypeNull' module: type: object additionalProperties: false description: Represents the module details for the lookup field. properties: api_name: $ref: '#/components/schemas/ApiName' crypt: type: boolean description: Indicates if the module is encrypted. example: false id: $ref: '#/components/schemas/Id' required: - api_name - crypt - id id: oneOf: - $ref: '#/components/schemas/Id' - $ref: '#/components/schemas/TypeNull' query_details: type: object additionalProperties: false description: Represents the query details for the lookup field. properties: system_query_id: oneOf: - type: string format: int64 description: Represents the system query ID for the lookup field. example: '4832675000000850800' maxLength: 30 x-zs-$id: SystemQueryId - $ref: '#/components/schemas/TypeNull' query_id: type: string format: int64 description: Represents the query ID for the lookup field. example: '4832675000000850800' maxLength: 30 required: - system_query_id x-zs-$id: LookupDetails - $ref: '#/components/schemas/TypeNull' hipaa_compliance: oneOf: - type: object additionalProperties: false description: >- Represents the HIPAA compliance configuration of the field, including restrictions applied during access and export. properties: restricted_in_export: type: boolean description: Indicates if the field is restricted in export. example: false restricted: type: boolean description: Indicates if the field is restricted. example: false required: - restricted - restricted_in_export x-zs-$id: HipaaCompliance - $ref: '#/components/schemas/TypeNull' convert_mapping: type: object additionalProperties: false description: Represents the convert mapping details of the field. properties: Contacts: oneOf: - type: string description: Represents the mapping details for Contacts field name. example: Contact_Name maxLength: 100 x-zs-$id: ContactFieldName - $ref: '#/components/schemas/TypeNull' Deals: oneOf: - type: string description: Represents the mapping details for Contacts field name. example: Contact_Name maxLength: 100 x-zs-$id: DealFieldName - $ref: '#/components/schemas/TypeNull' Accounts: oneOf: - type: string description: Represents the mapping details for Contacts field name. example: Contact_Name maxLength: 100 x-zs-$id: AccountFieldName - $ref: '#/components/schemas/TypeNull' Invoices: oneOf: - type: string x-zs-$id: InvoiceFieldName description: Represents the mapping details for Invoices field name. example: Invoice_Name maxLength: 100 - $ref: '#/components/schemas/TypeNull' Sales_Orders: oneOf: - type: string x-zs-$id: SalesOrderFieldName description: Represents the mapping details for Sales Orders field name. example: Sales_Order_Name maxLength: 100 - $ref: '#/components/schemas/TypeNull' address: oneOf: - type: object additionalProperties: false description: Represents the address details, if available. properties: type: type: string description: Represents the type of address. example: shipping maxLength: 25 required: - type x-zs-$id: AddressDetails - $ref: '#/components/schemas/TypeNull' rollup_summary: oneOf: - type: object additionalProperties: false description: Represents the rollup summary details, if available. properties: return_type: type: string description: Represents the return type of the rollup summary. example: number maxLength: 50 expression: type: object additionalProperties: false description: Represents the expression details of the rollup summary. properties: function_parameters: type: array description: >- Represents the list of function parameters for the rollup summary. items: type: object additionalProperties: false description: Represents the details of a function parameter. properties: api_name: $ref: '#/components/schemas/ApiName' required: - api_name maxItems: 100 criteria: oneOf: - type: object additionalProperties: false description: >- Represents the criteria details for the rollup summary. properties: comparator: type: string description: Represents the comparator used in the criteria. example: equals maxLength: 25 field: type: object additionalProperties: false description: >- Represents the details of the field used in the criteria. properties: api_name: type: string description: Represents the API name of the field. example: Status maxLength: 100 id: $ref: '#/components/schemas/Id' required: - api_name - id type: type: string description: Represents the type of the criteria. example: custom maxLength: 25 value: type: string description: Represents the value used in the criteria. example: Approved maxLength: 100 required: - comparator - field - type - value x-zs-$id: RollupCriteria - $ref: '#/components/schemas/TypeNull' function: type: string description: Represents the function used in the rollup summary. example: SUM maxLength: 25 required: - function - function_parameters based_on_module: type: object additionalProperties: false description: Represents the module on which the rollup summary is based. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id related_list: type: object additionalProperties: false description: Represents the related list details for the rollup summary. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id rollup_based_on: type: string description: Indicates what the rollup is based on. example: Created_Time maxLength: 50 x-zs-$id: RollupSummaryDetails - $ref: '#/components/schemas/TypeNull' length: type: number format: int32 description: Represents the length of the field. example: 255 column_name: type: string description: Represents the column name of the field. example: WEBSITE maxLength: 100 display_field: type: boolean description: Indicates if the field is a display field. example: false pick_list_values_sorted_lexically: type: boolean description: Indicates whether the picklist values are sorted alphabetically. example: false sortable: type: boolean description: Indicates if the field is sortable. example: true global_picklist: oneOf: - type: object additionalProperties: false description: >- Represents the global picklist details linked to the field, identified by its API name and unique ID. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id x-zs-$id: GlobalPicklistDetails - $ref: '#/components/schemas/TypeNull' display_format: oneOf: - type: string description: >- Represents the display format applied to the field value, such as the date or date-time pattern shown in the user interface. example: dd-MM-yyyy HH:mm:ss maxLength: 50 x-zs-$id: DisplayFormat - $ref: '#/components/schemas/TypeNull' history_tracking: oneOf: - type: object additionalProperties: false description: Represents the history tracking details of the field. properties: related_list_name: type: string description: >- Represents the name of the related list for history tracking. example: Module_Histories maxLength: 100 module: type: object additionalProperties: false description: Represents the module details for history tracking. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id duration_configured_field: type: object additionalProperties: false description: >- Represents the duration configured field details for history tracking. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id duration_configuration: type: string description: Represents the duration configuration for history tracking. example: 7_DAYS maxLength: 120 followed_fields: type: array description: >- Represents the list of fields being followed for history tracking. items: type: object additionalProperties: false description: Represents the details of a followed field. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id maxItems: 100 required: - duration_configuration - duration_configured_field - followed_fields - module - related_list_name x-zs-$id: HistoryTrackingDetails - $ref: '#/components/schemas/TypeNull' data_type: type: string description: Represents the data type of the field. example: Text maxLength: 25 formula: oneOf: - type: object additionalProperties: false description: Represents the formula details of the field. properties: return_type: type: string description: Represents the return type of the formula. example: number maxLength: 50 sub_return_type: type: string description: >- Represents the sub-type of the formula return value, such as the specific string subtype when the return type is a string. example: small maxLength: 50 dynamic: type: boolean description: Indicates if the formula is dynamic. example: false stop_compute_conditionally: type: boolean description: >- Indicates if the formula computation should stop conditionally. example: false assume_default: type: boolean description: Indicates if the formula should assume default values. example: true x-zs-$id: FormulaDetails - $ref: '#/components/schemas/TypeNull' additional_column: oneOf: - type: string description: Represents the additional column of the field. example: Custom_Column_1 maxLength: 100 x-zs-$id: AdditionalColumnName - $ref: '#/components/schemas/TypeNull' hipaa_compliance_enabled: type: boolean description: Indicates if HIPAA compliance is enabled for the field. example: false decimal_place: oneOf: - type: number format: int32 description: Represents the number of decimal places for the field. example: 2 x-zs-$id: DecimalPlaces - $ref: '#/components/schemas/TypeNull' mass_update: type: boolean description: Indicates if mass update is enabled for the field. example: true multiselectlookup: oneOf: - type: object additionalProperties: false description: Represents the multi-module lookup details of the field. properties: linking_details: type: object additionalProperties: false description: Represents the linking details for the multi-module lookup. properties: module: type: object additionalProperties: false description: >- Represents the module details for the multi-module lookup. properties: visibility: type: number format: int32 description: Represents the visibility of the module. example: 1 plural_label: type: string description: Represents the plural label of the module. example: Contacts maxLength: 50 api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id - plural_label - visibility lookup_field: type: object additionalProperties: false description: >- Represents the lookup field details for the multi-module lookup. properties: api_name: $ref: '#/components/schemas/ApiName' field_label: type: string description: Represents the field label of the lookup field. example: Contact Name maxLength: 100 id: $ref: '#/components/schemas/Id' required: - api_name - field_label - id connected_lookup_field: type: object additionalProperties: false description: >- Represents the connected lookup field details for the multi-module lookup. properties: api_name: $ref: '#/components/schemas/ApiName' field_label: type: string description: >- Represents the field label of the connected lookup field. example: Account Name maxLength: 100 id: $ref: '#/components/schemas/Id' required: - api_name - field_label - id required: - connected_lookup_field - lookup_field - module connected_details: type: object additionalProperties: false description: >- Represents the connected details for the multi-module lookup. properties: field: type: object additionalProperties: false description: >- Represents the field details for the multi-module lookup. properties: api_name: $ref: '#/components/schemas/ApiName' field_label: type: string description: Represents the field label of the field. example: Account Name maxLength: 100 id: $ref: '#/components/schemas/Id' required: - api_name - field_label - id module: type: object additionalProperties: false description: >- Represents the module details for the multi-module lookup. properties: plural_label: type: string description: Represents the plural label of the module. example: Accounts maxLength: 50 api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id - plural_label layouts: type: array description: >- Represents the list of layouts associated with the multi-module lookup. items: type: object additionalProperties: false description: >- Represents the layout details for the multi-module lookup. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id maxItems: 100 required: - field - layouts - module related_list: type: object additionalProperties: false description: >- Represents the related list details for the multi-module lookup. properties: display_label: type: string description: Represents the display label of the related list. example: Related List Label 1 maxLength: 25 api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - display_label - id x-zs-$id: MultiModuleLookupDetails - $ref: '#/components/schemas/TypeNull' auto_number: oneOf: - type: object additionalProperties: false description: Represents the auto number details of the field. properties: starting_number_length: type: number format: int32 description: Represents the length of the starting number. example: 5 prefix: oneOf: - type: string x-zs-$id: Prefix description: Represents the prefix for the auto number. example: ORD- maxLength: 25 - $ref: '#/components/schemas/TypeNull' start_number: type: number format: int32 description: Represents the starting number for the auto number. example: 100 suffix: oneOf: - type: string x-zs-$id: Suffix description: Represents the suffix for the auto number. example: '-2024' maxLength: 25 - $ref: '#/components/schemas/TypeNull' x-zs-$id: AutoNumberDetails - $ref: '#/components/schemas/TypeNull' layout_associations: type: array description: Represents the list of layout associations for the field. items: type: object additionalProperties: false description: Represents the layout association details. properties: api_name: type: string description: Represents the API name of the layout. example: Standard_Layout maxLength: 25 name: type: string description: Represents the name of the layout. example: Standard Layout maxLength: 25 id: $ref: '#/components/schemas/Id' required: - api_name - id - name maxItems: 100 quick_sequence_number: type: string description: Represents the quick sequence number of the field. example: '1' maxLength: 10 blueprint_supported: type: boolean description: >- Indicates whether the field is supported in Blueprint configurations. example: true textarea: type: object additionalProperties: false description: Represents the textarea field details. properties: type: type: string description: Represents the type of the textarea. example: Large maxLength: 50 required: - type sharing_properties: type: object additionalProperties: false description: Represents the sharing properties of the field. properties: scheduler_status: type: string description: Represents the scheduler status for sharing. example: enabled maxLength: 50 share_permission: type: string description: Represents the share permission for the field. example: read_write maxLength: 50 share_preference_enabled: type: boolean description: Indicates if share preference is enabled. example: true required: - scheduler_status - share_permission - share_preference_enabled multiuserlookup: type: object additionalProperties: false description: Represents the multi-user lookup details of the field. properties: linking_details: type: object additionalProperties: false description: Represents the linking details for the multi-user lookup. properties: module: type: object additionalProperties: false description: Represents the module details for the multi-user lookup. properties: plural_label: type: string description: Represents the plural label of the module. example: Users maxLength: 50 api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name - id - plural_label lookup_field: type: object additionalProperties: false description: >- Represents the lookup field details for the multi-user lookup. properties: api_name: $ref: '#/components/schemas/ApiName' field_label: type: string description: Represents the label of the lookup field. example: User Name maxLength: 100 id: $ref: '#/components/schemas/Id' required: - api_name - field_label - id connected_lookup_field: type: object additionalProperties: false description: >- Represents the connected lookup field details for the multi-user lookup. properties: api_name: $ref: '#/components/schemas/ApiName' field_label: type: string description: Represents the label of the connected lookup field. example: Role Name maxLength: 100 id: $ref: '#/components/schemas/Id' required: - api_name - field_label - id required: - connected_lookup_field - lookup_field - module record_access: type: boolean description: Indicates if record access is enabled for the multi-user lookup. example: true required: - linking_details - record_access static_field: type: boolean description: Indicates if the field is a static field example: false required: - api_name - association_details - auto_number - businesscard_supported - colour_code_enabled_by_system - created_source - currency - custom_field - data_type - display_field - display_label - display_type - email_parser - enable_colour_code - external - field_label - field_read_only - filterable - formula - history_tracking_enabled - id - lookup - mass_update - multi_module_lookup - operation_type - pick_list_values - pick_list_values_sorted_lexically - profiles - public - range - read_only - rollup_summary - searchable - separator - sortable - system_mandatory - type - ui_type - unique - view_type - virtual_field - visible - webhook FieldPicklistActionJob: type: object additionalProperties: false allOf: - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: REPLACE_PICKLIST_OPTION description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.workflow_rules' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: workflow_rules: description: 'Required field: workflow_rules' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: REPLACE_PICKLIST_OPTION description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.workflow_rules.total' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: workflow_rules: description: 'Object field: workflow_rules' additionalProperties: false type: object properties: total: description: 'Required field: total' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: REPLACE_PICKLIST_OPTION description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.workflow_rules.processed' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: workflow_rules: description: 'Object field: workflow_rules' additionalProperties: false type: object properties: processed: description: 'Required field: processed' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: REPLACE_PICKLIST_OPTION description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.workflow_rules.failed' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: workflow_rules: description: 'Object field: workflow_rules' additionalProperties: false type: object properties: failed: description: 'Required field: failed' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: REPLACE_PICKLIST_OPTION description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.field_dependency' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: field_dependency: description: 'Required field: field_dependency' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: REPLACE_PICKLIST_OPTION description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.field_dependency.total' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: field_dependency: description: 'Object field: field_dependency' additionalProperties: false type: object properties: total: description: 'Required field: total' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: REPLACE_PICKLIST_OPTION description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.field_dependency.processed' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: field_dependency: description: 'Object field: field_dependency' additionalProperties: false type: object properties: processed: description: 'Required field: processed' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: REPLACE_PICKLIST_OPTION description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.field_dependency.failed' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: field_dependency: description: 'Object field: field_dependency' additionalProperties: false type: object properties: failed: description: 'Required field: failed' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: '"REPLACE_PICKLIST_OPTION"' description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.dashboard_criteria' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: dashboard_criteria: description: 'Required field: dashboard_criteria' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: '"REPLACE_PICKLIST_OPTION"' description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.dashboard_criteria.total' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: dashboard_criteria: description: 'Object field: dashboard_criteria' additionalProperties: false type: object properties: total: description: 'Required field: total' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: '"REPLACE_PICKLIST_OPTION"' description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.dashboard_criteria.processed' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: dashboard_criteria: description: 'Object field: dashboard_criteria' additionalProperties: false type: object properties: processed: description: 'Required field: processed' required: - details - description: Represents the description for allOf nested. if: description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" additionalProperties: false type: object properties: action: const: '"REPLACE_PICKLIST_OPTION"' description: Conditional schema when action is "REPLACE_PICKLIST_OPTION" then: description: 'Schema requiring fields: details.dashboard_criteria.failed' additionalProperties: false type: object properties: details: description: 'Object field: details' additionalProperties: false type: object properties: dashboard_criteria: description: 'Object field: dashboard_criteria' additionalProperties: false type: object properties: failed: description: 'Required field: failed' required: - details description: >- Represents a scheduled job for a picklist field action (delete, replace, or delete-and-replace), including the job ID, target module, impact details, status, and message. properties: job_id: type: string description: Represents the job id of the scheduler. format: int64 module: $ref: '#/components/schemas/ModuleReference' action: type: string description: Represents the scheduler detail action. enum: - DELETE_PICKLIST_OPTION - REPLACE_PICKLIST_OPTION - DELETE_AND_REPLACE_PICKLIST_OPTION maxLength: 255 details: $ref: '#/components/schemas/ScheduledJobImpactDetails' message: type: string description: Represents the message of the scheduler response. enum: - Job completed - Job scheduled - Job failed - Job inprogress maxLength: 255 status: type: string description: Represents the status of the scheduler. enum: - SCHEDULED - FAILED - COMPLETED - INPROGRESS maxLength: 255 required: - action - details - job_id - message - module - status title: Field Picklist Action Job x-zs-$id: FieldPicklistActionJob TypeNull: type: 'null' description: Represents the null if no information is available. x-zs-$id: TypeNull InvalidModuleError: type: object additionalProperties: false description: >- Represents the error response returned when the provided module name is invalid or not recognized. properties: code: type: string description: Represents the error code for the invalid module error. enum: - INVALID_MODULE details: type: object additionalProperties: false description: Represents the validation details for the invalid module error. properties: param_name: type: string description: >- Represents the name of the query parameter that contains the invalid module name. maxLength: 255 required: - param_name message: type: string description: Represents the error message indicating the module name is invalid. enum: - the module name given seems to be invalid status: type: string description: Represents the response status. enum: - error required: - code - details - message - status title: Invalid Module Error x-zs-$id: InvalidModuleError InternalServerError: type: object additionalProperties: false description: >- Represents the internal server error response, including the error code, message, and additional details. properties: code: type: string const: INTERNAL_ERROR description: >- Represents the error code indicating the type of server-side failure. maxLength: 50 message: type: string description: Represents the error message describing the server failure. maxLength: 255 details: type: object additionalProperties: true description: Represents additional details about the internal server error. status: type: string const: error description: Represents the status of the response. maxLength: 50 required: - code - details - message - status x-zs-$id: InternalServerError ReferenceId: type: string description: >- Represents the temporary identifier used to reference a screen within the same wizard request payload. example: '{{12345}}' maxLength: 255 pattern: \{\{[a-zA-Z0-9]+\}\} CreateFieldsResponse: type: object additionalProperties: false description: >- Represents the response body returned when one or more custom fields are created. properties: fields: type: array description: >- Represents the list of creation results, one per field submitted in the request. items: $ref: '#/components/schemas/FieldCreationResult' maxItems: 5 required: - fields x-zs-$id: CreateFieldsResponse ModuleReference: type: object additionalProperties: false description: >- Represents the lightweight reference to the CRM module targeted by the scheduled job, including the module API name and unique identifier. properties: api_name: type: string description: Represents the API name of the module. maxLength: 255 id: type: string description: Represents the module Id. maxLength: 20 minLength: 13 required: - api_name - id title: Module Reference ScheduledJobImpactDetails: type: object additionalProperties: false description: >- Represents the aggregated impact metrics for the scheduled job across records, workflow rules, field dependencies, and dashboard criteria affected by the picklist option change. properties: records: $ref: '#/components/schemas/RecordProcessingSummary' workflow_rules: $ref: '#/components/schemas/WorkflowRuleProcessingSummary' field_dependency: $ref: '#/components/schemas/FieldDependencyProcessingSummary' dashboard_criteria: $ref: '#/components/schemas/DashboardCriteriaProcessingSummary' required: - records title: Scheduled Job Impact Details FieldDependencyProcessingSummary: type: object additionalProperties: false description: >- Represents the summary of field dependency impact for the job, including counts of total evaluated, processed, and failed dependencies. properties: processed: type: integer format: int32 description: Represents the processed field dependencies. total: type: integer format: int32 description: Represents the total field dependencies. failed: type: integer format: int32 description: Represents the failed field dependencies. required: - failed - processed - total title: Field Dependency Processing Summary DashboardCriteriaProcessingSummary: type: object additionalProperties: false description: >- Represents the summary of dashboard criteria impact for the job, including counts of total evaluated, processed, and failed criteria. properties: processed: type: integer format: int32 description: Represents the processed records. total: type: integer format: int32 description: >- Represents the total number of records submitted for processing in the dashboard criteria evaluation, encompassing both successful and failed records. failed: type: integer format: int32 description: >- Indicates the total number of records that failed to process during the dashboard criteria evaluation. required: - failed - processed - total title: Dashboard Criteria Processing Summary ListPageInfo: type: object additionalProperties: false description: >- Represents the pagination metadata for the scheduled jobs list, including per-page size, current page, item count, and whether more records are available. properties: per_page: type: integer format: int32 description: Represents the per page count. count: type: integer format: int32 description: Represents the count of the jobids. page: type: integer format: int32 description: Represents the page number. more_records: type: boolean description: Represents the more records available. required: - count - more_records - page - per_page title: List Pagination Info FieldRequestBodySchema: type: object description: >- Specify the request body for creating custom fields. Maximum of 25 fields can be created in a single call. properties: fields: type: array description: Specify the list of fields to create. minItems: 1 maxItems: 25 items: type: object description: Specify the field configuration to create. properties: field_label: type: string description: Specify the unique display label of the field. maxLength: 25 example: Your Name data_type: type: string description: Specify the data type of the field. enum: - text - textarea - email - phone - picklist - multiselectpicklist - date - datetime - integer - autonumber - currency - percent - bigint - double - website - boolean - fileupload - imageupload - lookup - userlookup - multiselectlookup - multiuserlookup - formula - rollup_summary - address example: text maxLength: 50 length: type: integer description: >- Specify the maximum number of characters allowed. Varies by data type. format: int32 minimum: 1 maximum: 50000 example: 150 filterable: type: boolean description: Specify whether the field can be used in filters. example: true tooltip: type: object description: >- Represents the tooltip content for the field. **Possible names**: **static_text** : Specifies that the field should have a static text tooltip. The tooltip content will be displayed in the field when the user clicks on the field box. **info_icon** : Specifies that the field should have an info icon tooltip. Clicking on the "info icon" will display the tooltip contents. Note that it is mandatory to specify both the name and value when you specify tooltip key. properties: name: type: string enum: - static_text - info_icon description: >- Specify the type of tooltip: static_text (shown in field box) or info_icon (shown on icon click). value: type: string description: >- Specify the tooltip content. Max 35 chars for static_text, 255 chars for info_icon. maxLength: 255 required: - name - value additionalProperties: false profiles: type: array description: >- Each object in the array represents the name and ID of the profile that has access to the field. By default, all organization users will have access to the field. **Possible permission types:** read_write, read_only, and hidden. **read_write:** The user has read and write permissions for the field. **read_only:** The user has only read permission for the field. **hidden:** The field is not visible to the user. Note that it is mandatory to specify a permission type to the profiles in order to access the field. items: type: object description: Specify the profile access and permission configuration. properties: id: $ref: '#/components/schemas/Id' permission_type: type: string enum: - read_write - read_only - hidden description: Specify the permission level for this profile. additionalProperties: false maxItems: 50 external: type: object description: >- Specify the external field configuration for third-party app integration. properties: type: type: string enum: - user - org - external_lookup description: >- Specify the external field type. 'user' assigns a different ID per user; 'org' assigns a common ID for the organization. maxLength: 25 example: user show: type: boolean description: Specify whether to display the field in the UI. example: true required: - type - show additionalProperties: false crypt: oneOf: - type: object x-zs-$id: FieldEncryptionDetails description: Specify the field encryption configuration. properties: mode: type: string enum: - encryption - decryption description: >- Specify the encryption: Store value encrypted. decryption: Store value unencrypted (default). example: decryption required: - mode additionalProperties: false - type: boolean x-zs-$id: IsFieldEncrypted description: Specify whether field encryption is enabled. example: true encrypt_case: type: string enum: - uppercase - lowercase description: Specify the permission case for encrypted field. example: lowercase textarea: type: object description: Specify the text area field configuration. properties: type: type: string enum: - small - large - rich_text description: >- Specify the small: 2000 chars, large: 32000 chars, rich_text: 50000 chars. example: small required: - type additionalProperties: false unique: oneOf: - type: object x-zs-$id: FieldUniquenessDetails description: Specify the field uniqueness configuration. properties: case_sensitive: type: boolean description: Specify whether uniqueness is case sensitive. example: true required: - case_sensitive additionalProperties: false - type: boolean x-zs-$id: IsFieldUnique description: >- Specify whether the field value must be unique across records. example: true hipaa_compliance_enabled: type: boolean description: Specify the enable HIPAA compliance for this field. example: false private: type: object description: Specify the gDPR compliance configuration. properties: type: type: string enum: - Low - High description: Specify the privacy level for GDPR compliance. required: - type additionalProperties: false pick_list_values: type: array description: Specify the picklist configuration. items: type: object description: Specify the picklistValue to be shown. properties: display_value: type: string description: Specify the display Value to be shown. maxLength: 25 example: EXT_VAL_1 actual_value: type: string description: >- Specify the actual value of the picklist option. Once set, this value cannot be changed. maxLength: 25 example: EXT_VAL_1 reference_value: type: string description: Specify the reference value to be Userd Internal. maxLength: 25 example: EXT_VAL_1 colour_code: type: string description: Specify the hex code for the picklist value color. maxLength: 25 example: '#FF5733' required: - display_value - actual_value additionalProperties: false maxItems: 10 enable_record_state: type: boolean description: >- Specify whether record state is enabled for the picklist field. example: false default_value: type: string description: Specify the default value for the picklist field. maxLength: 25 example: New pick_list_values_sorted_lexically: type: boolean description: Specify whether picklist values are sorted lexically. example: true enable_colour_code: type: boolean description: >- Specify whether colour coding is enabled for the picklist field. example: false global_picklist: type: object description: Specify the global picklist configuration. properties: id: type: string description: >- Specify the ID of the global picklist to associate with this field. example: '2423488000000123456' format: int64 api_name: type: string description: Specify the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 required: - id additionalProperties: false history_tracking_enabled: type: boolean description: Specify whether history tracking is enabled for the field. example: false history_tracking: type: object description: Specify the history tracking configuration. properties: related_list_name: type: string description: Specify the name of the related list for history tracking. example: Field History maxLength: 50 duration_configuration: type: string description: Specify the duration for which history is tracked. enum: - days - time example: time maxLength: 25 followed_fields: type: array description: Specify the list of fields to create. items: type: object description: Specify the field to be tracked. properties: api_name: type: string description: Specify the API name of the field to be tracked. example: Status maxLength: 25 id: type: string description: Specify the ID of the field to be tracked. example: '2423488000000123457' format: int64 required: - api_name - id additionalProperties: false maxItems: 10 required: - related_list_name - duration_configuration - followed_fields additionalProperties: false separator: type: boolean description: >- Specify whether to use a thousands separator for number fields. example: true auto_number: type: object description: Specify the configuration for auto number fields. properties: start_number: type: string description: Specify the starting number for the auto number field. maxLength: 16 example: '3' prefix: type: string description: Specify the prefix of the starting number. maxLength: 16 example: '3' suffix: type: string description: Specify the suffix of the starting number. maxLength: 16 example: '3' required: - start_number - prefix - suffix additionalProperties: false _update_existing_records: type: boolean description: >- Specify whether to update existing auto-number records with the new format. example: true formula: type: object description: >- Specify the details of the formula field, including the return type and the expression. properties: expression: type: string description: Specify the formula expression. maxLength: 255 example: Sqrt(Len(${Email})) return_type: type: string enum: - double - currency - text - date - datetime - boolean description: Specify the return type of the formula. example: double sub_return_type: type: string description: >- Specify the string subtype of the formula return value when the return type is text. example: small maxLength: 25 enum: - small - medium - large dynamic: type: boolean description: Specify whether the formula is Auto Refresh. example: true stop_compute_conditionally: type: boolean description: Specify whether to stop computation conditionally. example: true stop_compute_expression: type: string description: >- Specify the expression that determines when to stop computation. maxLength: 255 example: 3>1 required: - expression - return_type additionalProperties: false decimal_place: type: number description: >- Specify the number of decimal places for the formula field. This is valid for double and currency return types. Possible values are from 0 to 9, both inclusive. format: int32 example: 2 number_separator: type: boolean description: >- Specify whether to display the field value in formatted view. The default value is true. example: true reference_id: $ref: '#/components/schemas/ReferenceId' currency: type: object description: Specify the currency field configuration. properties: rounding_option: type: string enum: - normal - round_off - round_up - round_down description: Specify how to round currency values. maxLength: 25 example: normal precision: type: string description: >- Specify the number of decimal places displayed for the currency value in the user interface. This value should be less than decimal_place. maxLength: 25 example: '123.466' required: - rounding_option - precision additionalProperties: false rollup_summary: type: object description: Specify the rollup summary field configuration. properties: return_type: type: string enum: - currency - double - integer description: Specify the return type of the rollup summary. expression: type: object description: Specify the calculation expression. properties: function_parameters: type: array description: Specify the fields to aggregate. items: type: object description: >- Specify the expression for the calculation need to be done. properties: api_name: $ref: '#/components/schemas/ApiName' required: - api_name additionalProperties: false maxItems: 10 criteria: type: object description: Specify the filter criteria for lookup fields. properties: group_operator: type: string enum: - AND - OR description: >- Specify the logical operator for multiple conditions. group: type: array description: Specify the array of filter conditions. items: type: object description: >- Specify the filter details need to be added for validation action. properties: field: type: object description: Specify the field to be added in validation. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name additionalProperties: false comparator: type: string enum: - equal - not_equal - like - not_like - greater_equal - greater_than - less_equal - less_than - in - not_in - starts_with - ends_with - contains - not_contains - between - not_between - include_all - include_any - exclude_all - exclude_any description: Specify the comparison operator. maxLength: 25 example: exclude_all value: oneOf: - type: string x-zs-$id: CriteriaValueString description: Specify the value to be matched. maxLength: 125 example: max - type: array x-zs-$id: CriteriaValueArray description: >- Specify the array list of value to be matched. items: type: string description: Specify the value to be matched. maxLength: 125 example: max maxItems: 10 description: Specify the value to compare against. required: - field - comparator - value additionalProperties: false maxItems: 10 required: - group additionalProperties: false function: type: string enum: - SUM - COUNT - AVG - MIN - MAX description: Specify the aggregation function. required: - function_parameters - function additionalProperties: false based_on_module: type: object description: Specify the source module for rollup. properties: api_name: $ref: '#/components/schemas/ApiName' required: - api_name additionalProperties: false related_list: type: object description: Specify the related list for rollup. properties: api_name: $ref: '#/components/schemas/ApiName' required: - api_name additionalProperties: false required: - return_type - expression - based_on_module - related_list additionalProperties: false lookup: type: object description: Specify the lookup field configuration. properties: module: type: object description: Specify the module to associate via lookup. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name additionalProperties: false display_label: type: string description: Specify the display label in related list. maxLength: 25 example: demo1 revalidate_filter_during_edit: type: boolean description: Specify the revalidate filters during record edit. default: false query_details: type: object description: Specify the filter criteria for lookup records. properties: criteria: type: object description: Specify the filter criteria for lookup fields. properties: group_operator: type: string enum: - AND - OR description: >- Specify the logical operator for multiple conditions. group: type: array description: Specify the array of filter conditions. items: type: object description: Specify the group criteria values. properties: field: type: object description: Specify the field details. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name additionalProperties: false comparator: type: string enum: - equal - not_equal - like - not_like - greater_equal - greater_than - less_equal - less_than - in - not_in - starts_with - ends_with - contains - not_contains - between - not_between - include_all - include_any - exclude_all - exclude_any description: Specify the comparison operator. value: oneOf: - type: string x-zs-$id: CriteriaValue description: Specify the value to be matched. maxLength: 125 example: max - type: array x-zs-$id: CriteriaArray description: >- Specify the array list of value to be matched. items: type: string description: Specify the value to be matched. maxLength: 125 example: max maxItems: 10 description: Specify the value to compare against. required: - field - comparator - value additionalProperties: false maxItems: 10 required: - group additionalProperties: false additionalProperties: false sharing_properties: type: object description: Specify the sharing configuration (for userlookup). properties: share_preference_enabled: type: boolean description: Specify the enable share preferences. share_permission: type: string enum: - full-access - read-write - read-only description: Specify the sharing permission level. share_with_superiors: type: boolean description: Specify the enable share preferences. required: - share_preference_enabled - share_permission additionalProperties: false required: - module additionalProperties: false multiselectlookup: type: object description: Specify the multi-select lookup field configuration. properties: connected_details: type: object description: Specify the details of the module to connect. properties: module: type: object description: Specify the API name of module to connect. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name additionalProperties: false field: type: object description: Specify the field details. properties: field_label: type: string description: Specify the field label in connected module. maxLength: 25 example: Last Name required: - field_label additionalProperties: false required: - module - field additionalProperties: false linking_details: type: object description: Specify the linking module details. properties: module: type: object description: >- Specify the module name passed as parameter is case insensitive. For example, the module name 'Leads'. properties: plural_label: type: string description: Specify the plural label for linking module. maxLength: 25 example: Leads required: - plural_label additionalProperties: false required: - module additionalProperties: false required: - connected_details - linking_details additionalProperties: false association_details: type: object x-zs-$id: PostAssociationDetails description: Specify the association details configuration. properties: related_field: type: object description: Specify the details of the related field. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' additionalProperties: false lookup_field: type: object description: Specify the details of the lookup field. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' reference_id: $ref: '#/components/schemas/ReferenceId' additionalProperties: false required: - related_field - lookup_field additionalProperties: false required: - field_label - data_type allOf: - if: description: 'Condition: data_type is ''text''' properties: data_type: const: text description: Data type of the field required: - data_type then: description: >- Schema for 'text' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true length: true unique: true hipaa_compliance_enabled: true private: true crypt: true encrypt_case: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''textarea''' properties: data_type: const: textarea description: Data type of the field required: - data_type then: description: >- Schema for 'textarea' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true hipaa_compliance_enabled: true private: true length: true textarea: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''email''' properties: data_type: const: email description: Data type of the field required: - data_type then: description: >- Schema for 'email' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true unique: true crypt: true encrypt_case: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''phone''' properties: data_type: const: phone description: Data type of the field required: - data_type then: description: >- Schema for 'phone' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true length: true unique: true crypt: true encrypt_case: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''website''' properties: data_type: const: website description: Data type of the field required: - data_type then: description: >- Schema for 'website' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true length: true unique: true crypt: true encrypt_case: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''integer''' properties: data_type: const: integer description: Data type of the field required: - data_type then: description: >- Schema for 'integer' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true length: true filterable: true unique: true separator: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''bigint''' properties: data_type: const: bigint description: Data type of the field required: - data_type then: description: >- Schema for 'bigint' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true length: true filterable: true unique: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''double''' properties: data_type: const: double description: Data type of the field required: - data_type then: description: >- Schema for 'double' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true length: true decimal_place: true filterable: true separator: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''currency''' properties: data_type: const: currency description: Data type of the field required: - data_type then: description: >- Schema for 'currency' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true length: true decimal_place: true precision: true rounding_option: true currency: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''percent''' properties: data_type: const: percent description: Data type of the field required: - data_type then: description: >- Schema for 'percent' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true decimal_place: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''date''' properties: data_type: const: date description: Data type of the field required: - data_type then: description: >- Schema for 'date' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''datetime''' properties: data_type: const: datetime description: Data type of the field required: - data_type then: description: >- Schema for 'datetime' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''boolean''' properties: data_type: const: boolean description: Data type of the field required: - data_type then: description: >- Schema for 'boolean' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true association_details: true additionalProperties: false - if: description: 'Condition: data_type is ''picklist''' properties: data_type: const: picklist description: Data type of the field required: - data_type then: description: >- Schema for 'picklist' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true history_tracking_enabled: true history_tracking: true pick_list_values: true enable_colour_code: true default_value: true enable_record_state: true pick_list_values_sorted_lexically: true global_picklist: true additionalProperties: false required: - pick_list_values - if: description: 'Condition: data_type is ''multiselectpicklist''' properties: data_type: const: multiselectpicklist description: Data type of the field required: - data_type then: description: >- Schema for 'multiselectpicklist' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true pick_list_values: true enable_colour_code: true default_value: true enable_record_state: true pick_list_values_sorted_lexically: true additionalProperties: false required: - pick_list_values - if: description: 'Condition: data_type is ''lookup''' properties: data_type: const: lookup description: Data type of the field required: - data_type then: description: >- Schema for 'lookup' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true lookup: true display_label: true association_details: true reference_id: true additionalProperties: false required: - lookup - display_label - if: description: 'Condition: data_type is ''multiselectlookup''' properties: data_type: const: multiselectlookup description: Data type of the field required: - data_type then: description: >- Schema for 'multiselectlookup' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true multiselectlookup: true additionalProperties: false required: - multiselectlookup - if: description: 'Condition: data_type is ''userlookup''' properties: data_type: const: userlookup description: Data type of the field required: - data_type then: description: >- Schema for 'userlookup' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true association_details: true reference_id: true additionalProperties: false - if: description: 'Condition: data_type is multiuserlookup' properties: data_type: const: multiuserlookup description: Data type of the field required: - data_type then: description: >- Schema for 'multiuserlookup' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true filterable: true additionalProperties: false - if: description: 'Condition: data_type is formula' properties: data_type: const: formula description: Data type of the field required: - data_type then: description: >- Schema for 'formula' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true formula: true decimal_place: true number_separator: true additionalProperties: false required: - formula - if: description: 'Condition: data_type is ''autonumber''' properties: data_type: const: autonumber description: Data type of the field required: - data_type then: description: >- Schema for 'autonumber' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true auto_number: true _update_existing_records: true filterable: true additionalProperties: false required: - auto_number - if: description: 'Condition: data_type is ''imageupload''' properties: data_type: const: imageupload description: Data type of the field required: - data_type then: description: >- Schema for 'imageupload' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true additionalProperties: false - if: description: 'Condition: data_type is ileupload' properties: data_type: const: fileupload description: Data type of the field required: - data_type then: description: >- Schema for 'fileupload' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true additionalProperties: false - if: description: 'Condition: data_type is ''address' properties: data_type: const: address description: Data type of the field required: - data_type then: description: >- Schema for 'address' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true filterable: true additionalProperties: false - if: description: 'Condition: data_type is ''rollup_summary''' properties: data_type: const: rollup_summary description: Data type of the field required: - data_type then: description: >- Schema for 'rollup_summary' data type - defines allowed and required properties properties: field_label: true data_type: true api_name: true tooltip: true profiles: true external: true hipaa_compliance_enabled: true private: true rollup_summary: true filterable: true additionalProperties: false required: - rollup_summary additionalProperties: false additionalProperties: false WorkflowRuleProcessingSummary: type: object additionalProperties: false description: >- Represents the summary of workflow rule impact for the job, including counts of total evaluated, processed, and failed rules. properties: processed: type: integer format: int32 description: Represents the processed records. total: type: integer format: int32 description: Represents the total records. failed: type: integer format: int32 description: Represents the failed records. required: - failed - processed - total title: Workflow Rule Processing Summary ApiName: type: string x-zs-$id: ApiName description: >- API name of the resource. It will start with alphabets and can contain alphanumeric characters and underscores. example: api_name30 maxLength: 50 pattern: ^[A-Za-z][A-Za-z0-9_]*$ RequiredParameterMissingError: type: object additionalProperties: false description: >- Represents the error response returned when a mandatory request parameter is missing. properties: code: type: string description: Represents the error code for the missing required parameter error. enum: - REQUIRED_PARAM_MISSING details: type: object additionalProperties: false description: >- Represents the details of the missing required parameter error, including the parameter name. properties: param_name: type: string description: >- Represents the name of the required parameter that is missing from the request. maxLength: 255 required: - param_name message: type: string description: >- Represents the error message indicating a required parameter is missing. enum: - One of the expected parameter is missing status: type: string description: Represents the response status. enum: - error required: - code - details - message - status title: Required Parameter Missing Error x-zs-$id: RequiredParameterMissingError FieldUpdateRequestBodySchema: type: object description: >- Request body for updating custom fields. Maximum of 25 fields can be updated in a single call. properties: fields: type: array description: Specify the list of fields to update. minItems: 1 maxItems: 25 items: type: object description: Specify the field update configuration. properties: field_label: type: string description: Specify the unique display label of the field. maxLength: 255 example: Your Name id: $ref: '#/components/schemas/Id' length: type: integer description: Maximum number of characters allowed. Varies by data type. format: int32 minimum: 1 maximum: 50000 example: 150 profiles: type: array description: Specify the profiles to which the field is to be assigned. items: type: object description: Specify the profile access and permission configuration. properties: id: $ref: '#/components/schemas/Id' permission_type: type: string enum: - read_write - read_only - hidden description: Specify the permission level for this profile. required: - id - permission_type additionalProperties: false maxItems: 10 unique: oneOf: - type: object x-zs-$id: FieldUniquenessConfig description: Field uniqueness configuration. properties: case_sensitive: type: boolean description: Indicates whether uniqueness is case sensitive. example: true _disable: oneOf: - type: boolean x-zs-$id: IsFieldUniquenessDisabled description: marking the field is not a unique key. example: true - type: 'null' x-zs-$id: IsFieldUniquenessDisabledNull description: Null if no information is available. required: - case_sensitive additionalProperties: false - type: boolean x-zs-$id: FieldUnique description: >- Indicates whether the field value must be unique across records. example: true lookup: type: object description: Specify the lookup field configuration. properties: query_details: type: object description: Specify the filter criteria for lookup records. properties: criteria: type: object description: Specify the filter criteria for lookup fields. properties: group_operator: type: string enum: - AND - OR description: >- Specify the logical operator for multiple conditions. group: type: array description: Specify the array of filter conditions. items: type: object description: Specify the group criteria values. properties: field: type: object description: Specify the field details. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name additionalProperties: false comparator: type: string enum: - equal - not_equal - like - not_like - greater_equal - greater_than - less_equal - less_than - in - not_in - starts_with - ends_with - contains - not_contains - between - not_between - include_all - include_any - exclude_all - exclude_any description: Specify the comparison operator. value: oneOf: - type: string x-zs-$id: FilterValue description: the value to be matched. maxLength: 125 example: max - type: array x-zs-$id: FilterValueArray description: array list of value to be matched. items: type: string description: the value to be matched. maxLength: 125 example: max maxItems: 10 description: Specify the value to compare against. required: - field - comparator - value additionalProperties: false maxItems: 10 required: - group additionalProperties: false additionalProperties: false required: [] additionalProperties: false pick_list_values: type: array description: Specify the picklist configuration. items: type: object description: PicklistValue to be shown. properties: display_value: type: string description: Specify the display Value to be shown. maxLength: 25 example: EXT_VAL_1 actual_value: type: string description: >- Specify the actual value of the picklist option. Once set, this value cannot be changed. maxLength: 25 example: EXT_VAL_1 reference_value: type: string description: Specify the reference value to be Userd Internal. maxLength: 25 example: EXT_VAL_1 colour_code: type: string description: Specify the hex code for the picklist value color. maxLength: 25 example: '#FF5733' id: $ref: '#/components/schemas/Id' _global_picklist_value: type: object description: Specify the global picklist value. properties: id: $ref: '#/components/schemas/Id' required: - id additionalProperties: false additionalProperties: false maxItems: 10 global_picklist: oneOf: - type: object x-zs-$id: GlobalPicklistConfig description: Global picklist configuration. properties: id: type: string description: >- ID of the global picklist to associate with this field. example: '2423488000000123456' format: int64 api_name: type: string description: API name of the global picklist. example: Global_Status_Picklist maxLength: 25 required: - id additionalProperties: false - type: 'null' x-zs-$id: GlobalPicklistConfigNull description: Null if no information is available. sharing_properties: type: object description: Specify the update sharing properties for user lookup fields. properties: share_preference_enabled: type: boolean description: Specify the share permission needed. example: false share_permission: type: string description: Specify the share permission. enum: - full-access - read-write - read-only maxLength: 25 example: read-only additionalProperties: false history_tracking_enabled: type: boolean description: Specify whether history tracking is enabled for the field. example: false history_tracking: type: object description: Specify the history tracking configuration. properties: related_list_name: type: string description: Specify the name of the related list for history tracking. example: Field History maxLength: 50 duration_configuration: type: string description: Specify the duration for which history is tracked. enum: - days - time example: time maxLength: 25 followed_fields: type: array description: Specify the list of fields to update. items: type: object description: Specify the field to be tracked. properties: api_name: type: string description: Specify the API name of the field to be tracked. example: Status maxLength: 25 id: type: string description: Specify the ID of the field to be tracked. example: '2423488000000123457' format: int64 _delete: type: 'null' description: Set to null to remove field from tracking. additionalProperties: false maxItems: 10 required: [] additionalProperties: false formula: type: object description: >- Specify the details of the formula field, including the return type and the expression. properties: expression: type: string description: Specify the formula expression. maxLength: 255 example: Sqrt(Len(${Email})) return_type: type: string enum: - double - currency - text - date - datetime - boolean description: Specify the return type of the formula. example: double sub_return_type: type: string description: >- Specify the string subtype of the formula return value when the return type is text. example: small maxLength: 50 enum: - small - medium - large dynamic: type: boolean description: Specify whether the formula is Auto Refresh. example: true stop_compute_conditionally: type: boolean description: Specify whether to stop computation conditionally. example: true stop_compute_expression: type: string description: >- Specify the expression that determines when to stop computation. maxLength: 255 example: 3>1 required: - expression - return_type additionalProperties: false decimal_place: type: number description: >- The number of decimal places for the formula field. This is valid for double and currency return types. Possible values are from 0 to 9, both inclusive. format: int32 example: 2 currency: type: object description: Currency Field Data. properties: rounding_option: type: string enum: - normal - round_off - round_up - round_down description: Specify how to round currency values. maxLength: 25 example: normal precision: type: string description: >- Specify the number of decimal places displayed for the currency value in the user interface. This value should be less than decimal_place. maxLength: 25 example: '123.466' required: - rounding_option - precision additionalProperties: false rollup_summary: type: object description: Specify the rollup summary field configuration. properties: return_type: type: string enum: - currency - double - integer description: Specify the return type of the rollup summary. expression: type: object description: Specify the calculation expression. properties: function_parameters: type: array description: Specify the fields to aggregate. items: type: object description: Expression for the calculation need to be done. properties: api_name: $ref: '#/components/schemas/ApiName' required: - api_name additionalProperties: false maxItems: 10 criteria: type: object description: Specify the filter criteria for lookup fields. properties: group_operator: type: string enum: - AND - OR description: >- Specify the logical operator for multiple conditions. group: type: array description: Specify the array of filter conditions. items: type: object description: >- Specify the filter details need to be added for validation action. properties: field: type: object description: Specify the field to be added in validation. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' required: - api_name additionalProperties: false comparator: type: string enum: - equal - not_equal - like - not_like - greater_equal - greater_than - less_equal - less_than - in - not_in - starts_with - ends_with - contains - not_contains - between - not_between - include_all - include_any - exclude_all - exclude_any description: Specify the comparison operator. maxLength: 25 example: exclude_all value: oneOf: - type: string x-zs-$id: FilterString description: the value to be matched. maxLength: 125 example: max - type: array x-zs-$id: FilterArray description: array list of value to be matched. items: type: string description: the value to be matched. maxLength: 125 example: max maxItems: 10 description: Specify the value to compare against. required: - field - comparator - value additionalProperties: false maxItems: 10 required: - group additionalProperties: false function: type: string enum: - SUM - COUNT - AVG - MIN - MAX description: Specify the aggregation function. required: - function_parameters - function additionalProperties: false based_on_module: type: object description: Specify the source module for rollup. properties: api_name: $ref: '#/components/schemas/ApiName' required: - api_name additionalProperties: false related_list: type: object description: Specify the related list for rollup. properties: api_name: $ref: '#/components/schemas/ApiName' required: - api_name additionalProperties: false required: - return_type - expression - based_on_module - related_list additionalProperties: false association_details: oneOf: - type: object x-zs-$id: PatchAssociationDetails description: >- Specify the association details for the field, including the related field and lookup field configuration. properties: related_field: type: object description: Details of the related field. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' additionalProperties: false lookup_field: type: object description: Details of the lookup field. properties: api_name: $ref: '#/components/schemas/ApiName' id: $ref: '#/components/schemas/Id' additionalProperties: false required: - related_field - lookup_field additionalProperties: false - $ref: '#/components/schemas/TypeNull' additionalProperties: false additionalProperties: false ErrorResponse: x-zs-$id: BadRequestErrorResponse type: object description: Represents the error response structure. oneOf: - type: object x-zs-$id: InvalidDataResponse description: Represents the error Response for invalid data. properties: code: type: string description: >- Represents the error code identifying the specific type or category of the error returned in the response. enum: - INVALID_DATA example: INVALID_DATA message: type: string description: Represents the error message describing the issue. example: Given data seems to be invalid maxLength: 1000 details: oneOf: - type: object x-zs-$id: CommonInvalidData description: Represents the error Response for invalid data. properties: api_name: type: string description: >- Represents the API name of the field that triggered the error, used to identify the specific field within the Zoho CRM module. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 required: - api_name - json_path additionalProperties: false - type: object x-zs-$id: DataTypeInvalidData description: Represents the request has invalid datatype properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 30 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 expected_data_type: type: string description: Represents the name of the expected_data_type. example: integer maxLength: 25 required: - api_name - json_path - expected_data_type additionalProperties: false - type: object x-zs-$id: RangeValidationResponse description: Represents the request has invalid datatype properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 30 json_path: type: string description: >- Represents the JSON path identifying the exact location of the offending field within the request payload. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 range: type: object description: Represents the name of the expected_data_type. additionalProperties: false properties: from: type: integer description: >- Represents the start of the expected data type range. example: 0 format: int32 to: type: integer description: Represents the end of the expected data type range. example: 100 format: int32 required: - api_name - json_path - range additionalProperties: false - type: object x-zs-$id: ResourcePathInvalidData description: Represents the in uri the data passed is wrong. properties: resource_path_index: type: integer format: int32 description: Represents the index of the resource path. example: 2 required: - resource_path_index additionalProperties: false - type: object x-zs-$id: ValuesInvalidData description: >- Indicates whether the given data is invalid for a list of values. properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 supported_values: type: array description: >- Represents the list of supported values accepted for the JSON key identified by **api_name** and **json_path**. minItems: 1 maxItems: 25 items: oneOf: - type: string x-zs-$id: SupportedValuesInvalidDataString description: Represents the string values that can be present. example: static_text maxLength: 255 - type: boolean x-zs-$id: SupportedValuesInvalidDataBoolean description: >- Represents a Boolean value that can be present in the supported values list. required: - api_name - json_path - supported_values additionalProperties: false - type: object x-zs-$id: AllowedValuesInvalidData description: >- Indicates whether the given data is invalid for a list of values. properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 allowed_values: type: array description: >- Represents the list of allowed values accepted for the JSON key identified by **api_name** and **json_path**. minItems: 1 maxItems: 25 items: type: string description: Represents the values can be present. example: static_text maxLength: 255 required: - api_name - json_path - allowed_values additionalProperties: false - type: object x-zs-$id: MaxLengthInvalidData description: Represents the request has invalid datatype properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. example: $.fields[0].tooltip.name pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ maxLength: 500 maximum_length: type: integer format: int32 description: Represents the maximum lenght allowed. example: 5 required: - api_name - json_path - maximum_length additionalProperties: false - type: object x-zs-$id: MinLengthInvalidData description: Represents the request has invalid datatype properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. example: $.fields[0].tooltip.name pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ maxLength: 500 minimum_length: type: integer format: int32 description: Represents the minimum length allowed. example: 5 required: - api_name - json_path - minimum_length additionalProperties: false - type: object x-zs-$id: SupportedExpectedType description: >- Indicates whether the given data is invalid for a list of values. properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 supported_values: type: array description: >- Represents the list of supported values accepted for the JSON key identified by **api_name** and **json_path**. minItems: 1 maxItems: 25 items: type: string description: Represents the values can be present. example: static_text maxLength: 255 expected_data_type: type: string description: Represents the name of the expected_data_type. example: integer maxLength: 25 required: - api_name - json_path - supported_values - expected_data_type additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: InvalidModuleResponse description: Represents the error response when the given module is invalid. properties: code: type: string description: Represents the error code for this error type. enum: - INVALID_MODULE example: INVALID_MODULE message: type: string description: Represents the error message describing the issue. example: The module name given seems to be invalid maxLength: 1000 details: type: object description: Represents the invalid module details. properties: {} additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: DynamicExpressionLengthExceededResponse description: >- Represents the error response when the given Expression is more length. properties: code: type: string description: Represents the error code for this error type. enum: - DYNAMIC_EXPRESSION_LENGTH_EXCEEDED example: DYNAMIC_EXPRESSION_LENGTH_EXCEEDED message: type: string description: Represents the error message describing the issue. example: dynamic expression length is too long maxLength: 1000 details: type: object description: Represents the length Exceeded details. properties: api_name: type: string description: Represents the API name of the global picklist. example: dynamic maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].formula.dynamic maxLength: 500 dependee: type: object x-zs-$id: DependeeDetails additionalProperties: false properties: api_name: type: string description: Represents the API name of the global picklist. example: expression maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].formula.expression maxLength: 500 description: Represents the maximum length allowed. required: - api_name - json_path - dependee additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: SyntaxErrorResponse description: Represents the error response when a syntax error is error. properties: code: type: string description: Represents the error code for this error type. enum: - SYNTAX_ERROR example: SYNTAX_ERROR message: type: string description: Represents the error message describing the issue. example: Formula expression has syntax error maxLength: 1000 enum: - Formula expression has syntax error details: oneOf: - type: object x-zs-$id: SyntaxErrorResponseDetails description: Represents the syntax error details. properties: api_name: type: string description: Represents the API name of the field with syntax error. example: api_name maxLength: 25 json_path: type: string description: >- Represents the JSON path of the field with duplicate data. example: $.fields[0].api_name maxLength: 500 required: - api_name - json_path additionalProperties: false - type: object x-zs-$id: SyntaxErrorResponseDetails2 description: Represents the syntax error details. properties: api_name: type: string description: Represents the API name of the field with syntax error. example: api_name maxLength: 25 json_path: type: string description: >- Represents the JSON path of the field with duplicate data. example: $.fields[0].api_name maxLength: 500 id: type: string description: Represents the id of the field with duplicate data. example: $.fields[0].id format: int64 required: - api_name - json_path - id additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: AlreadyUsedResponse description: Represents the error response when a field is already used. properties: code: type: string description: Represents the error code for this error type. enum: - ALREADY_USED example: ALREADY_USED message: type: string description: Represents the error message describing the issue. example: Field is already used maxLength: 1000 details: type: object description: Represents the details of the field that is already used. properties: exists_in: type: object description: >- Represents the field due to which dependent fields are expected. properties: api_name: type: string description: Represents the API name of the followed field. example: api_name maxLength: 30 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].history_tracking.followed_fields[0].api_name maxLength: 500 additionalProperties: false api_name: type: string description: Represents the API name of the global picklist. example: api_name maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].history_tracking.followed_fields[1].api_name maxLength: 500 additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: FeatureNotEnabledResponse description: Represents the error response when a feature is not enabled. properties: code: type: string description: Represents the error code for this error type. enum: - FEATURE_NOT_ENABLED example: FEATURE_NOT_ENABLED message: type: string description: Represents the error message describing the issue. example: Duration Configuration enhancement not enabled. maxLength: 1000 enum: - Duration Configuration enhancement not enabled. details: type: object description: Represents the details of the feature that is not enabled. properties: api_name: type: string description: Represents the API name of the global picklist. example: api_name maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].history_tracking.followed_fields[1].api_name maxLength: 500 additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: NotSupportedResponse description: Represents the error response when a feature is not supported. properties: code: type: string description: Represents the error code for this error type. enum: - NOT_SUPPORTED example: NOT_SUPPORTED message: type: string description: Represents the error message describing the issue. example: Field is already used maxLength: 1000 details: type: object description: Represents the details of the feature that is not supported. properties: api_name: type: string description: Represents the API name of the global picklist. example: api_name maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].history_tracking.followed_fields[0].api_name maxLength: 500 additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: FeatureNotSupportedResponse description: Represents the error response when a feature is not supported. properties: code: type: string description: Represents the error code for this error type. enum: - FEATURE_NOT_SUPPORTED example: FEATURE_NOT_SUPPORTED message: type: string description: Represents the error message describing the issue. example: Field is already used maxLength: 1000 details: type: object description: Represents the details of the feature that is not supported. properties: api_name: type: string description: Represents the API name of the global picklist. example: api_name maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].history_tracking.followed_fields[0].api_name maxLength: 500 additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: MissingBracesErrorResponse description: Represents the error response when a missing braces error occurs. properties: code: type: string description: Represents the error code for this error type. enum: - MISSING_BRACES example: MISSING_BRACES message: type: string description: Represents the error message describing the issue. example: Some of brace is missing in given expression maxLength: 1000 enum: - Some of brace is missing in given expression details: type: object x-zs-$id: MissingBracesErrorResponseDetails description: Represents the details of the missing braces error. properties: api_name: type: string description: Represents the API name of the field with missing braces. example: expression maxLength: 26 enum: - expression json_path: type: string description: Represents the JSON path of the field with missing braces. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].expression maxLength: 500 required: - api_name - json_path additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: IncorrectNumberOfParamResponse description: >- Represents the error response when an incorrect number of parameters error occurs. properties: code: type: string description: Represents the error code for this error type. enum: - INCORRECT_NUMBER_OF_PARAM example: INCORRECT_NUMBER_OF_PARAM message: type: string description: Represents the error message describing the issue. example: The number of param is incorrect for one of the method maxLength: 1000 enum: - The number of param is incorrect for one of the method details: type: object x-zs-$id: IncorrectNumberOfParamResponseDetails description: >- Represents the details of the incorrect number of parameters error. properties: api_name: type: string description: >- Represents the API name of the field with incorrect number of parameters. example: expression maxLength: 26 json_path: type: string description: >- Represents the JSON path of the field with incorrect number of parameters. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].formula.expression maxLength: 500 required: - api_name - json_path additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: DependentMismatchResponse description: >- Represents the error response when dependent field values do not match. properties: code: type: string description: Represents the error code for this error type. enum: - DEPENDENT_MISMATCH example: DEPENDENT_MISMATCH message: type: string description: Represents the error message describing the issue. example: Dependent field value does not match maxLength: 1000 details: oneOf: - type: object description: Represents the dependent mismatch details. x-zs-$id: DependenDetailtMismatchResponse properties: dependee: type: object description: Represents the dependice Details . properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: >- Represents the JSON path to the field with the error. example: $.fields[0].tooltip.name maxLength: 500 required: - api_name - json_path additionalProperties: false api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 required: - dependee - api_name - json_path additionalProperties: false - type: object description: Represents the dependent mismatch details. x-zs-$id: DependenWihtrangeDetailtMismatchResponse properties: dependee: type: object description: Represents the dependice Details . properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: >- Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 required: - api_name - json_path additionalProperties: false api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 range: type: object description: Represents the allowed numeric range. properties: from: type: integer format: int32 description: Represents the minimum allowed value. example: 1 to: type: integer format: int32 description: Represents the maximum allowed value. example: 255 required: - from - to additionalProperties: false required: - dependee - api_name - json_path - range additionalProperties: false - type: object x-zs-$id: ValueDetailtMismatchResponse description: >- Indicates whether the given data is invalid for a list of values. properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 supported_values: type: array description: >- Represents the list of supported values accepted for the JSON key identified by **api_name** and **json_path**. minItems: 1 maxItems: 25 items: oneOf: - type: string x-zs-$id: StringSupportedValue description: Represents the values can be present. example: static_text maxLength: 255 - type: integer x-zs-$id: IntegerSupportedValue format: int32 description: Represents the values can be present. example: 1 required: - api_name - json_path - supported_values additionalProperties: false - type: object description: Represents the dependent mismatch details. x-zs-$id: ValueAndDepDetailtMismatchResponse properties: dependee: type: object description: Represents the dependice Details . properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: >- Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 required: - api_name - json_path additionalProperties: false api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 supported_values: type: array description: >- Represents the list of supported values that can be provided for the field. minItems: 1 maxItems: 25 items: type: string description: Represents the supported value. maxLength: 255 required: - dependee - api_name - json_path - supported_values additionalProperties: false - type: object description: Represents the maximum length allowed. x-zs-$id: DependentMaxLengthInvalidData properties: dependee: type: object description: Represents the dependice Details . properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: >- Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 required: - api_name - json_path additionalProperties: false api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 maximum_length: type: integer format: int32 description: Represents the maximum length allowed. example: 5 required: - dependee - maximum_length - api_name - json_path additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: LimitExceededResponse description: Represents the error response when a configured limit is exceeded. properties: code: type: string description: Represents the error code for this error type. enum: - LIMIT_EXCEEDED - FIELD_LIMIT_EXCEEDED example: LIMIT_EXCEEDED message: type: string description: Represents the error message describing the issue. example: Configured limit exceeded maxLength: 1000 details: oneOf: - type: object description: Represents the limit exceeded details. x-zs-$id: LimitDueLimitExceededResponseDetail properties: limit: type: integer format: int32 description: Represents the maximum allowed limit. example: 5 limit_due_to: type: array description: >- Represents the fields due to which the limit is exceeded. minItems: 1 maxItems: 25 items: type: object description: Represents the field responsible for limit exceed. properties: api_name: type: string description: Represents the API name of the field. maxLength: 25 json_path: type: string description: Represents the JSON path of the field. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ maxLength: 500 required: - api_name - json_path additionalProperties: false additionalProperties: false - type: object description: Represents the limit exceeded details. x-zs-$id: LimitExceededResponseDetailForLimitOnly properties: limit: type: integer format: int32 description: Represents the maximum allowed limit. example: 5 additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: DependentFieldMissingResponse description: Represents the error response when a dependent field is missing. properties: code: type: string description: Represents the error code for this error type. enum: - DEPENDENT_FIELD_MISSING example: DEPENDENT_FIELD_MISSING message: type: string description: Represents the error message describing the issue. example: Dependent field is missing maxLength: 1000 details: type: object description: Represents the missing dependent field details. properties: dependee: type: object description: >- Represents the field due to which dependent fields are expected. properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 30 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 additionalProperties: false api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: ExpectedFieldMissingResponse description: >- Represents the error response when expected fields are missing in the request. properties: code: type: string description: Represents the error code for this error type. enum: - EXPECTED_FIELD_MISSING example: EXPECTED_FIELD_MISSING message: type: string description: Represents the error message describing the issue. example: Expected field is missing maxLength: 1000 details: type: object x-zs-$id: ExpectedFieldMissingResponseDetail description: Represents the details of the expected fields that are missing. properties: expected_fields: type: array description: Represents the list of expected fields that are missing. minItems: 1 maxItems: 25 items: type: object description: >- Represents the field due to which dependent fields are expected. properties: api_name: type: string description: Represents the API name of the expected field. example: id maxLength: 25 json_path: type: string description: Represents the JSON path of the expected field. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].lookup.id maxLength: 500 additionalProperties: false api_name: type: string description: Represents the API name of the expected field. example: id maxLength: 25 json_path: type: string description: Represents the JSON path of the expected field. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].lookup.id maxLength: 500 additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: AmbiguityDuringProcessingResponse description: >- Represents the error response when ambiguity occurs during request processing. properties: code: type: string description: Represents the error code for this error type. enum: - AMBIGUITY_DURING_PROCESSING example: AMBIGUITY_DURING_PROCESSING message: type: string description: Represents the error message describing the issue. example: Ambiguity while processing the request maxLength: 1000 details: type: object x-zs-$id: AmbiguityDuringProcessingResponseDetail description: Represents the details about the fields causing ambiguity. properties: ambiguity_due_to: type: array description: Represents the list of fields causing ambiguity. minItems: 1 maxItems: 25 items: type: object description: >- Represents the field due to which dependent fields are expected. properties: api_name: type: string description: Represents the API name of the ambiguous field. example: api_name maxLength: 25 json_path: type: string description: Represents the JSON path of the ambiguous field. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].lookup.api_name maxLength: 500 additionalProperties: false additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: ExpectedDependentFieldMissingResponse description: >- Represents the error response when expected dependent fields are missing. properties: code: type: string description: Represents the error code for this error type. enum: - EXPECTED_DEPENDENT_FIELD_MISSING example: EXPECTED_DEPENDENT_FIELD_MISSING message: type: string description: Represents the error message describing the issue. example: Expected dependent field is missing maxLength: 1000 details: type: object x-zs-$id: ExpectedDependentFieldMissingResponseDetail description: Represents the details of missing dependent fields. properties: expected_fields: type: array description: >- Represents the list of expected dependent fields that are missing. minItems: 1 maxItems: 25 items: type: object description: >- Represents the field due to which dependent fields are expected. properties: api_name: type: string description: >- Represents the API name of the expected dependent field. example: ids maxLength: 25 json_path: type: string description: >- Represents the JSON path of the expected dependent field. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.ids maxLength: 500 required: - api_name - json_path additionalProperties: false dependee: type: object description: >- Represents the field due to which the dependent fields are expected. properties: api_name: type: string description: Represents the API name of the dependee field. example: restore_all_records maxLength: 25 json_path: type: string description: Represents the JSON path of the dependee field. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.restore_all_records maxLength: 500 required: - api_name - json_path additionalProperties: false additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: DuplicateDataResponse description: Represents the error response when duplicate data is found. properties: code: type: string description: Represents the error code for this error type. enum: - DUPLICATE_DATA example: DUPLICATE_DATA message: type: string description: Represents the error message describing the issue. example: duplicate data maxLength: 1000 enum: - Duplicate option display_value - Linking Module label is already Exist. - duplicate data - API NAME DUPLICATE - Field label duplicate - Duplicate related list name details: type: object x-zs-$id: DuplicateDataResponseDetail description: Represents the duplicate data details. properties: api_name: type: string description: Represents the API name of the field with duplicate data. example: api_name maxLength: 25 json_path: type: string description: Represents the JSON path of the field with duplicate data. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].api_name maxLength: 500 additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: MandatoryNotFoundResponse description: >- Represents the error response when a mandatory field is not found in the request. properties: code: type: string description: Represents the error code for this error type. enum: - MANDATORY_NOT_FOUND example: MANDATORY_NOT_FOUND message: type: string description: Represents the error message describing the issue. example: Mandatory field not found maxLength: 1000 details: type: object x-zs-$id: MandatoryNotFoundResponseDetail description: Represents the details of the mandatory field that is missing. properties: api_name: type: string description: Represents the API name of the mandatory field. example: field_label maxLength: 25 json_path: type: string description: Represents the JSON path of the mandatory field. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].field_label maxLength: 500 required: - api_name - json_path additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: ReservedKeywordNotAllowedResponse description: >- Represents the error response when a reserved system keyword is used. properties: code: type: string description: Represents the error code for this error type. enum: - RESERVED_KEYWORD_NOT_ALLOWED example: RESERVED_KEYWORD_NOT_ALLOWED message: type: string description: Represents the error message describing the issue. example: System keyword not allowed in api name maxLength: 1000 details: type: object x-zs-$id: ReservedKeywordNotAllowedResponseDetail description: >- Represents the details of the field containing a reserved keyword. properties: api_name: type: string description: Represents the API name of the field with reserved keyword. example: api_name maxLength: 25 json_path: type: string description: Represents the JSON path of the field with reserved keyword. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].api_name maxLength: 500 required: - api_name - json_path additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: NotAllowedResponse description: >- Represents the error response when the requested operation or field is not allowed. properties: code: type: string description: Represents the error code for this error type. enum: - NOT_ALLOWED example: NOT_ALLOWED message: type: string description: Represents the error message describing the issue. example: Operation is not allowed maxLength: 1000 details: oneOf: - type: object x-zs-$id: NotAllowedResponseDetail description: Represents the details of why the operation is not allowed. properties: api_name: type: string description: Represents the API name of the field or operation. example: unique maxLength: 25 json_path: type: string description: Represents the JSON path of the field or operation. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].unique maxLength: 500 required: - api_name - json_path additionalProperties: false - type: object x-zs-$id: NotAllowedLimitResponse description: Represents the details of why the operation is not allowed. properties: api_name: type: string description: Represents the API name of the field or operation. example: unique maxLength: 25 json_path: type: string description: Represents the JSON path of the field or operation. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].unique maxLength: 500 limit: type: integer description: Represents the limit of the field or operation. example: 1 format: int32 required: - api_name - json_path - limit additionalProperties: false - type: object x-zs-$id: NotAllowedIdResponse description: Represents the details of why the operation is not allowed. properties: api_name: type: string description: Represents the API name of the field or operation. example: unique maxLength: 25 json_path: type: string description: Represents the JSON path of the field or operation. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].unique maxLength: 500 limit: type: integer description: Represents the limit of the field or operation. example: 1 format: int32 id: type: string description: Represents the ID of the field or operation. example: '3708696000004384825' maxLength: 25 required: - api_name - json_path - limit - id additionalProperties: false - type: object x-zs-$id: NotAllowedResponseDetailForResourcePath description: Represents the details of why the operation is not allowed. properties: resource_path_index: type: integer format: int32 description: Represents the index of the resource path. example: 2 required: - resource_path_index additionalProperties: false status: type: string description: Represents the response status. enum: - error example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: RequiredParamMissingResponse description: >- Represents the error response when one of the required parameters is missing. properties: code: type: string description: Represents the error code for this error type. enum: - REQUIRED_PARAM_MISSING example: REQUIRED_PARAM_MISSING message: type: string description: Represents the error message describing the issue. example: One of the expected parameter is missing maxLength: 1000 details: type: object x-zs-$id: RequiredParamMissingResponseDetail description: Represents the details of the missing required parameter. properties: param_name: type: string description: Represents the name of the missing request parameter. example: ids maxLength: 50 additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: PropertyLockedResponse description: >- Represents an error response indicating that the crypt property cannot be changed while the encryption/decryption scheduler is running. properties: code: type: string description: Represents the error code for this error type. enum: - PROPERTY_LOCKED example: PROPERTY_LOCKED message: type: string description: Represents the error message describing the issue. example: The module name given seems to be invalid maxLength: 1000 details: type: object description: Represents the error Response for invalid data. properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 required: - api_name - json_path additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: UnSupportedCriteriaResponse description: >- Represents an error response indicating that the crypt property cannot be changed because unsupported criteria were used. properties: code: type: string description: Represents the error code for this error type. enum: - INVALID_DATA example: INVALID_DATA message: type: string description: Represents the error message describing the issue. example: The module name given seems to be invalid maxLength: 1000 details: type: object description: Represents the error Response for invalid data. properties: api_name: type: string description: Represents the API name of the global picklist. example: Global_Status_Picklist maxLength: 25 json_path: type: string description: Represents the JSON path to the field with the error. pattern: ^\$(\.[a-zA-Z_][a-zA-Z0-9_]*|\[[0-9]+\])+$ example: $.fields[0].tooltip.name maxLength: 500 other_details: type: object description: >- Represents the response object containing an array of errors. x-zs-$id: CustomViewUsage properties: savedCVFilters: type: array description: Represents an array of field metadata objects. items: type: object description: Represents the customView unsupported criteria usage. properties: cvid: type: string description: Represents the id of the CustomView. example: '1385208000000973001' format: int64 cvmodule: type: string description: Represents the module Name. example: Leads maxLength: 50 cvname: type: string description: Represents the customView Name. example: All Open Leads maxLength: 100 required: - cvid - cvmodule - cvname additionalProperties: false maxItems: 100 additionalProperties: false required: - api_name - json_path - other_details additionalProperties: false status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: NoPermissionResponse description: >- Represents the error response when the user does not have permission to perform the requested operation. additionalProperties: false properties: code: type: string description: Represents the error code for this error type. const: NO_PERMISSION message: type: string description: Represents the error message describing the issue. example: permission denied maxLength: 1000 details: type: object x-zs-$id: NoPermissionResponseDetail additionalProperties: false required: - permissions description: >- Represents the details of the permissions required to perform the operation. properties: permissions: type: array description: >- Represents the list of permissions required to perform the operation. minItems: 1 maxItems: 25 items: type: string description: >- Represents the permission required to perform the operation. maxLength: 100 status: type: string description: Represents the response status. const: error - type: object x-zs-$id: GeneralErrorResponse description: >- Represents the error response when one of the required parameters is missing. properties: code: type: string description: Represents the error code for this error type. enum: - INVALID_REQUEST_METHOD - OAUTH_SCOPE_MISMATCH - AUTHENTICATION_FAILURE - INVALID_URL_PATTERN - INTERNAL_ERROR message: type: string description: Represents the error message describing the issue. example: One of the expected parameter is missing maxLength: 1000 details: type: object description: Represents the additional error details. additionalProperties: true status: type: string description: Represents the response status. enum: - error - success example: error required: - code - message - details - status additionalProperties: false - type: object x-zs-$id: IncorrectDataTypeParamResponse description: >- Represents the error response when validation of the request body fails. additionalProperties: false properties: code: type: string description: Represents the error code for this error type. enum: - INCORRECT_DATA_TYPE_PARAM message: type: string description: Represents the error message describing the issue. example: Validation error in the request body maxLength: 255 details: type: object description: Represents the details of the validation errors. additionalProperties: false properties: api_name: type: string description: >- Represents the API name of the field with incorrect data type. example: length maxLength: 25 json_path: type: string description: >- Represents the JSON path of the field with incorrect data type. example: $.fields[0].length maxLength: 500 status: type: string description: Represents the response status. const: error - type: object x-zs-$id: ParticipatingFieldNotFoundResponse description: >- Represents the error response when validation of the request body fails. additionalProperties: false properties: code: type: string description: Represents the error code for this error type. enum: - PARTICIPATING_FIELD_NOT_FOUND message: type: string description: Represents the error message describing the issue. example: Validation error in the request body maxLength: 255 details: type: object description: Represents the details of the validation errors. additionalProperties: false properties: api_name: type: string description: >- Represents the API name of the field with incorrect data type. example: length maxLength: 25 json_path: type: string description: >- Represents the JSON path of the field with incorrect data type. example: $.fields[0].length maxLength: 500 id: type: string description: Represents the ID of the field with incorrect data type. example: '1234567890' maxLength: 25 required: - api_name - json_path - id status: type: string description: Represents the response status. const: error required: - code - message - details - status additionalProperties: true BadRequest: type: object additionalProperties: false description: Represents the standard error response object returned for bad requests. properties: code: type: string description: >- Represents the error code identifying the category or type of the bad request failure, expressed as an uppercase underscore-delimited string. maxLength: 50 pattern: ^[A-Z_]+$ details: type: object additionalProperties: true description: >- Represents additional details about the error, including validation information. message: type: string description: >- Represents a descriptive error message conveying the reason for the bad request in a readable format. maxLength: 255 status: type: string description: >- Indicates the outcome status of the request, always set to "error" for bad request responses. maxLength: 50 pattern: ^error$ required: - code - details - message - status x-zs-$id: BadRequest FieldCreationResult: type: object additionalProperties: false description: Represents the result of a single field creation. properties: code: type: string description: Represents the result code. enum: - SUCCESS example: SUCCESS details: type: object additionalProperties: false description: Represents the details of the created field. properties: id: type: string description: Represents the ID of the created field. example: '111112000000067259' maxLength: 25 required: - id message: type: string description: Represents the result message. example: field created maxLength: 225 status: type: string description: Represents the status of the operation. enum: - success example: success required: - code - details - message - status x-zs-$id: FieldCreationResult InvalidModuleName: type: object additionalProperties: false description: >- Represents the error response returned when an invalid module name is provided in the request. properties: code: type: string description: Represents the error code indicating the type of failure. maxLength: 50 pattern: ^[A-Z_]+$ details: type: object additionalProperties: true description: Represents additional details about the invalid module name error. message: type: string description: Represents the error message describing the issue. maxLength: 255 status: type: string description: Represents the status of the response. maxLength: 50 required: - code - details - message - status x-zs-$id: InvalidModuleName Id: type: string format: int64 x-zs-$id: Id description: Id of the resource. example: '1385208000000973001' FieldPicklistJobsResponse: type: object additionalProperties: false description: >- Represents the response body for the scheduled jobs request, containing the list of scheduled picklist field action jobs and pagination details. properties: scheduled_jobs: type: array description: >- Represents the list of scheduled picklist field action jobs retrieved for the specified field. items: $ref: '#/components/schemas/FieldPicklistActionJob' maxItems: 200 info: $ref: '#/components/schemas/ListPageInfo' required: - info - scheduled_jobs title: Field Picklist Jobs Response x-zs-$id: FieldPicklistJobsResponse parameters: Module: name: module in: query description: >- Specify the API name of the module for which you want to retrieve field data. Refer to the [Get Modules](modules.yaml#$.paths./settings/modules.get) resource for valid values. required: true style: form explode: true schema: type: string description: The API name of the module to which the field belongs. example: Leads maxLength: 30 Includes: name: include in: query description: >- Specify whether to include the **allowed_permissions** JSON object in the response. Possible values: allowed_permissions_to_update - Includes the allowed_permissions JSON object with details about the default permissions for each field. required: false style: form explode: true schema: type: string description: >- To include additional information about the field's permissions to update. enum: - allowed_permissions_to_update example: allowed_permissions_to_update maxLength: 50 Type: name: type in: query description: >- Specify the usage type of the fields to retrieve. Possible values: all - Retrieves both used and unused fields in the module. unused - Retrieves only fields that are not in use. used - Retrieves only fields that are currently in use. required: false style: form explode: true schema: type: string enum: - all - unused - used maxLength: 10 ParamQueryJobId: name: job_id in: query description: >- Specify the job ID of the scheduled field or picklist action to filter the results. required: false schema: type: string format: int64 example: '111113000000135098' ParamQueryPage: name: page in: query description: Specify the page number for paginating the scheduled jobs list. required: false schema: type: integer format: int32 example: 1 ParamQueryPerPage: name: per_page in: query description: Specify the number of scheduled jobs to return per page. required: false schema: type: integer format: int32 example: 200 ParamPathFieldid: name: fieldId in: path description: Specify the unique ID of the custom field. required: true schema: type: string example: '{fieldId}' maxLength: 255 securitySchemes: OAuth2: type: oauth2 description: OAuth2 authentication for API access flows: authorizationCode: authorizationUrl: https://accounts.zoho.com/oauth/v2/auth tokenUrl: https://accounts.zoho.com/oauth/v2/token refreshUrl: https://accounts.zoho.com/oauth/v2/token scopes: ZohoCRM.settings.fields.READ: Access to ZohoCRM.settings.fields.READ scope ZohoCRM.settings.fields.CREATE: Access to ZohoCRM.settings.fields.CREATE scope ZohoCRM.settings.fields.UPDATE: Access to ZohoCRM.settings.fields.UPDATE scope ZohoCRM.settings.fields.DELETE: Access to ZohoCRM.settings.fields.DELETE scope