Skip to content

Zoho: Contact roles schemas

11 Zoho schemas with complete fields and constraints.

← Contact roles operations · All schemas

Create Contact Roles — response body — contact roles contact roles item

FieldTypePresenceDescription and constraints
$objectRootRepresents the result of a successful contact role operation.
Additional keys: not allowed
codestringRequired within parentRepresents the status code of the operation.

**Possible values:**
- **SUCCESS** - The contact role operation completed successfully.

Known values: SUCCESS
detailsobjectRequired within parentRepresents the details of the contact role for the create or update operation.
Additional keys: not allowed
details.idstringRequired within parentRepresents the unique ID of the contact role.
Maximum length: 19
messagestringRequired within parentRepresents the message describing the result of the operation.
Maximum length: 255
statusstringRequired within parentRepresents the overall status of the operation.

**Possible values:**
- **success** - The contact role operation completed successfully.

Known values: success

Create Contact Roles — response body — contact_roles / contact_roles / item / code: DUPLICATE DATA, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents an error when a contact role with the same name already exists in the CRM organization.
Additional keys: not allowed
codestringRequired within parentRepresents the error code.

**Possible values:**
- **DUPLICATE_DATA** - A contact role with the same name already exists.

Known values: DUPLICATE_DATA
detailsobjectRequired within parentRepresents the error details for the duplicate data.
Additional keys: not allowed
details.api_namestringRequired within parentRepresents the API name of the field that contains a duplicate value.
Maximum length: 100
details.json_pathstringRequired within parentRepresents the JSON path to the field that contains a duplicate value.
Maximum length: 255
messagestringRequired within parentRepresents the error message.
Maximum length: 255
statusstringRequired within parentRepresents the error status.

**Possible values:**
- **error** - The request failed.

Known values: error

Create Contact Roles — response body — contact_roles / contact_roles / item / code: INVALID DATA, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents an invalid data error for a contact role field in a create operation.
Additional keys: not allowed
codestringRequired within parentRepresents the error code.

**Possible values:**
- **INVALID_DATA** - The contact role data is invalid.

Known values: INVALID_DATA
detailsModelRequired within parentExpand Create Contact Roles — response body — contact_roles / contact_roles / item / code: INVALID DATA, status: error details
messagestringRequired within parentRepresents the error message.
Maximum length: 255
statusstringRequired within parentRepresents the error status.

**Possible values:**
- **error** - The request failed.

Known values: error

Referenced models: Create Contact Roles — response body — contact_roles / contact_roles / item / code: INVALID DATA, status: error details

Create Contact Roles — response body — contact_roles / contact_roles / item / code: INVALID DATA, status: error details

FieldTypePresenceDescription and constraints
$objectRootRepresents the error details for the invalid data.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the field that contains invalid data.
Maximum length: 100
expected_data_typestringRequired within parentRepresents the expected data type for the field.
Maximum length: 100
json_pathstringRequired within parentRepresents the JSON path to the field that contains invalid data.
Maximum length: 255

Create Contact Roles — response body — contact_roles / contact_roles / item / code: MANDATORY NOT FOUND, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents an error when a required field is missing from the request.
Additional keys: not allowed
codestringRequired within parentRepresents the error code.

**Possible values:**
- **MANDATORY_NOT_FOUND** - A required field is missing from the request.

Known values: MANDATORY_NOT_FOUND
detailsobjectRequired within parentRepresents the error details for the missing field.
Additional keys: not allowed
details.api_namestringRequired within parentRepresents the API name of the missing required field.
Maximum length: 100
details.json_pathstringRequired within parentRepresents the JSON path to the missing required field.
Maximum length: 255
messagestringRequired within parentRepresents the error message.
Maximum length: 255
statusstringRequired within parentRepresents the error status.

**Possible values:**
- **error** - The request failed.

Known values: error

Update Contact Roles — response body — contact roles contact roles item array

FieldTypePresenceDescription and constraints
$arrayRootContains the list of duplicate data errors for contact role operations.
Maximum items: 100
$[]objectEach itemRepresents a duplicate data error for a contact role field.
Additional keys: not allowed
$[].codestringRequired within parentRepresents the error code.

**Possible values:**
- **DUPLICATE_DATA** - A contact role with the same name already exists.

Known values: DUPLICATE_DATA
$[].detailsJSONRequired within parentRepresents the error details for the duplicate data.
$[].details (anyOf 1)ModelAlternativeExpand Update Contact Roles — response body — contact roles contact roles item array item details api name, id, json path
$[].details (anyOf 2)objectAlternativeRepresents duplicate data error details that include the API name and JSON path of the conflicting field.
Additional keys: not allowed
$[].details (anyOf 2).api_namestringRequired within parentRepresents the API name of the field that contains a duplicate value.
Maximum length: 100
$[].details (anyOf 2).json_pathstringRequired within parentRepresents the JSON path to the field that contains a duplicate value.
Maximum length: 255
$[].messagestringRequired within parentRepresents the error message.
Maximum length: 255
$[].statusstringRequired within parentRepresents the error status.

**Possible values:**
- **error** - The request failed.

Known values: error

Referenced models: Update Contact Roles — response body — contact roles contact roles item array item details api name, id, json path

Update Contact Roles — response body — contact roles contact roles item array item details api name, id, json path

FieldTypePresenceDescription and constraints
$objectRootRepresents duplicate data error details that include the ID of the conflicting record.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the field that contains a duplicate value.
Maximum length: 100
idstringRequired within parentRepresents the ID of the existing contact role that conflicts with the duplicate name.
Maximum length: 19
json_pathstringRequired within parentRepresents the JSON path to the field that contains a duplicate value.
Maximum length: 255

Update Contact Roles — response body — contact_roles / contact_roles / item / code: DUPLICATE DATA, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents an error when a contact role with the same name already exists in the CRM organization.
Additional keys: not allowed
codestringRequired within parentRepresents the error code.

**Possible values:**
- **DUPLICATE_DATA** - A contact role with the same name already exists.

Known values: DUPLICATE_DATA
detailsModelRequired within parentExpand Update Contact Roles — response body — contact_roles / contact_roles / item / code: DUPLICATE DATA, status: error details
messagestringRequired within parentRepresents the error message.
Maximum length: 255
statusstringRequired within parentRepresents the error status.

**Possible values:**
- **error** - The request failed.

Known values: error

Referenced models: Update Contact Roles — response body — contact_roles / contact_roles / item / code: DUPLICATE DATA, status: error details

Update Contact Roles — response body — contact_roles / contact_roles / item / code: DUPLICATE DATA, status: error details

FieldTypePresenceDescription and constraints
$objectRootRepresents the error details for the duplicate data.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the field that contains a duplicate value.
Maximum length: 100
idstringOptionalRepresents the ID of the contact role that has the duplicate name.
Maximum length: 19
json_pathstringRequired within parentRepresents the JSON path to the field that contains a duplicate value.
Maximum length: 255

Update Contact Roles — response body — contact_roles / contact_roles / item / code: INVALID DATA, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents an invalid data error for a contact role field in an update operation.
Additional keys: not allowed
codestringRequired within parentRepresents the error code.

**Possible values:**
- **INVALID_DATA** - The contact role data is invalid.

Known values: INVALID_DATA
detailsModelRequired within parentExpand Update Contact Roles — response body — contact_roles / contact_roles / item / code: INVALID DATA, status: error details
messagestringRequired within parentRepresents the error message.
Maximum length: 255
statusstringRequired within parentRepresents the error status.

**Possible values:**
- **error** - The request failed.

Known values: error

Referenced models: Update Contact Roles — response body — contact_roles / contact_roles / item / code: INVALID DATA, status: error details

Update Contact Roles — response body — contact_roles / contact_roles / item / code: INVALID DATA, status: error details

FieldTypePresenceDescription and constraints
$objectRootRepresents the error details for the invalid data.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the field that contains invalid data.
Maximum length: 100
idstringOptionalRepresents the ID of the contact role that triggered the invalid data error.
Maximum length: 19
json_pathstringRequired within parentRepresents the JSON path to the field that contains invalid data.
Maximum length: 255

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

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

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