Skip to content

Zoho: Share records schemas

8 Zoho schemas with complete fields and constraints.

← Share records operations · All schemas

Update share permissions — response body — Represents the partial success response / share / item / value / code: INVALID DATA, message: cannot share the related records, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents the error response returned when **share_related_records** is set on a module that does not support sharing related records.
Additional keys: not allowed
codestringRequired within parentRepresents the response code returned by the API.
Known values: INVALID_DATA
detailsobjectRequired within parentRepresents the additional information about the response.
Additional keys: not allowed
details.api_namestringRequired within parentRepresents the API name of the parameter that caused the error.
Maximum length: 50
details.json_pathstringRequired within parentRepresents the JSON path of the parameter that caused the error.
Maximum length: 100
messagestringRequired within parentRepresents the response message returned by the API.
Known values: cannot share the related records
statusstringRequired within parentRepresents the status of the API call.
Known values: error

Update share permissions — response body — Represents the partial success response / share / item / value / code: INVALID DATA, message: invalid data, status: error details

FieldTypePresenceDescription and constraints
$objectRootRepresents the additional information about the response.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the parameter that caused the error.
Maximum length: 50
dependeeobjectRequired within parentRepresents the details of the parameter on which this parameter depends.
Additional keys: not allowed
dependee.api_namestringRequired within parentRepresents the API name of the parameter that caused the error.
Maximum length: 50
dependee.json_pathstringRequired within parentRepresents the JSON path of the parameter that caused the error.
Maximum length: 100
json_pathstringRequired within parentRepresents the JSON path of the parameter that caused the error.
Maximum length: 100

Update share permissions — response body — Represents the partial success response / share / item / value / code: INVALID DATA, message: invalid data, status: error — Invalid Share With Value Error Response

FieldTypePresenceDescription and constraints
$objectRootRepresents the error response returned when the **shared_with** object in a share entry is invalid due to a dependent field mismatch.
Additional keys: not allowed
codestringRequired within parentRepresents the response code returned by the API.
Known values: INVALID_DATA
detailsModelRequired within parentExpand Update share permissions — response body — Represents the partial success response / share / item / value / code: INVALID DATA, message: invalid data, status: error details
messagestringRequired within parentRepresents the response message returned by the API.
Known values: invalid data
statusstringRequired within parentRepresents the status of the API call.
Known values: error

Referenced models: Update share permissions — response body — Represents the partial success response / share / item / value / code: INVALID DATA, message: invalid data, status: error details

Update share permissions — response body — Represents the partial success response / share / item / value / code: INVALID DATA, message: invalid data, status: error — Invalid Type Error Response

FieldTypePresenceDescription and constraints
$objectRootRepresents the error response returned when the `type` or `permission` field in a share entry does not match the expected pattern.
Additional keys: not allowed
codestringRequired within parentRepresents the response code returned by the API.
Known values: INVALID_DATA
detailsobjectRequired within parentRepresents the additional information about the response.
Additional keys: not allowed
details.api_namestringRequired within parentRepresents the API name of the parameter that caused the error.

**Possible values**:
- type
- permission

Known values: type, permission
details.json_pathstringRequired within parentRepresents the JSON path of the parameter that caused the error.
Maximum length: 100
details.regexstringRequired within parentRepresents the regular expression pattern expected for the parameter value.
Known values: private|public, read_only|read_write|full_access
messagestringRequired within parentRepresents the response message returned by the API.
Known values: invalid data
statusstringRequired within parentRepresents the status of the API call.
Known values: error

Update share permissions — response body — Represents the partial success response / share / item / value / code: INVALID DATA, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents the error response returned when the recipient ID in **shared_with** is invalid or when the record cannot be shared with the specified entity.
Additional keys: not allowed
codestringRequired within parentRepresents the response code returned by the API.
Known values: INVALID_DATA
detailsobjectRequired within parentRepresents the additional information about the response.
Additional keys: not allowed
details.api_namestringRequired within parentRepresents the API name of the parameter that caused the error.
Maximum length: 50
details.json_pathstringRequired within parentRepresents the JSON path of the parameter that caused the error.
Maximum length: 100
messagestringRequired within parentRepresents the response message returned by the API.

**Possible values**:
- invalid data
- invalid user Id
- invalid role Id
- invalid group Id
- cannot share to the user

Known values: invalid data, invalid user Id, invalid role Id, invalid group Id, cannot share to the user
statusstringRequired within parentRepresents the status of the API call.
Known values: error

Update share permissions — response body — Represents the partial success response / share / item / value / code: LIMIT EXCEEDED, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents the error response returned when the share entry exceeds the per-record sharing limit for the recipient type.
Additional keys: not allowed
codestringRequired within parentRepresents the response code returned by the API.
Known values: LIMIT_EXCEEDED
detailsobjectRequired within parentRepresents the additional information about the response.
Additional keys: not allowed
details.api_namestringOptionalRepresents the API name of the parameter that caused the error.
Known values: type
details.json_pathstringOptionalRepresents the JSON path of the parameter that caused the error.
Maximum length: 100
details.limitJSONOptional
details.limit (anyOf 1)integerAlternativeRepresents the maximum number of share records allowed for the entity type.
Format: int32
details.limit (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
messagestringRequired within parentRepresents the response message returned by the API.
Maximum length: 100
statusstringRequired within parentRepresents the status of the API call.
Known values: error

Update share permissions — response body — Represents the partial success response / share / item / value / code: MANDATORY NOT FOUND, message: required field not found, status: error

FieldTypePresenceDescription and constraints
$objectRootRepresents the error response returned when a mandatory field is missing from the share entry.
Additional keys: not allowed
codestringRequired within parentRepresents the response code returned by the API.
Known values: MANDATORY_NOT_FOUND
detailsobjectRequired within parentRepresents the additional information about the response.
Additional keys: not allowed
details.api_namestringRequired within parentRepresents the API name of the parameter that caused the error.
Maximum length: 50
details.json_pathstringRequired within parentRepresents the JSON path of the parameter that caused the error.
Maximum length: 100
messagestringRequired within parentRepresents the response message returned by the API.
Known values: required field not found
statusstringRequired within parentRepresents the status of the API call.
Known values: error

Update share permissions — response body — share share item

FieldTypePresenceDescription and constraints
$objectRootRepresents the per-entry success result of a share record create or update operation.
Additional keys: not allowed
codestringRequired within parentRepresents the response code returned by the API.
Known values: SUCCESS
detailsobjectRequired within parentRepresents the additional information about the response.
Additional keys: not allowed
messagestringRequired within parentRepresents the response message returned by the API.
Known values: record will be shared successfully
statusstringRequired within parentRepresents the status of the API call.
Known values: success

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.