

{ "share": [ { "user": { "id": "4150868000001248015" }, "share_related_records": true, "permission": "full_access" }, { "user": { "id": "4150868000001199001" }, "share_related_records": true, "permission": "read_only" } ] } |
Key | Description |
user JSON object, Mandatory | Specify the unique ID of the user in the "id" key. You can retrieve valid user IDs from Get Users API. |
share_related_records Boolean, Optional | Represents if you want to share the record along with the related records: true - share related records along with the record. false - Do not share related records. This is the default value. |
Permission String, Optional | Represents the access permission you want to give the user for the record: full_access - Allow user the full access(read, edit, delete) to the record. The user with whom the record is shared can also update the owner of the record. However, the user cannot share the record with another user. This is the default value. read_only - Allow the user to only view the record. read_write - Allow the user to view and edit the record. The user with whom the record is shared cannot update the owner of the record. |


Key | Description |
shared_through JSON object | Represents the module API name, module ID of the module from which the record was shared. Also, represents the unique ID of the record. |
user JSON object | Represents the name and unique ID of the user, and ZUID of the organization to which the user belongs. |
{ "share": [ { "user": { "id": "4150868000001248015" }, "share_related_records": true, "permission": "read_only" }, { "user": { "id": "4150868000001199001" }, "share_related_records": false, "permission": "full_access" } ] } |

