DelinkRelatedRecords
Removes the established link between two related records across different modules.
Procedure-Specific Information
ZohoCRM Supports related lists for some specific modules and we can remove the relation between modules by providing the ModuleName, Related ModuleName, RecordId of the module and RecordId of the related module.
NOTE: We can remove multiple relations by providing comma separated value of Related record id's.
For Example:
EXEC DelinkRelatedrecords Module = 'Campaigns',RecordId = '4482327000000467001', RelatedModule = 'Leads', RelatedRecordId = '4482327000000271429' EXEC DelinkRelatedrecords Module = 'Campaigns',RecordId = '4482327000000467001', RelatedModule = 'Leads', RelatedRecordId = '4482327000000271429,4482327000000271430'
Input
| Name | Type | Description |
| Module | String | Name of the primary module from which a related record is delinked. |
| RelatedModule | String | Name of the related module that is being delinked from the primary record. |
| RecordId | String | Unique identifier of the record in the primary module. |
| RelatedRecordId | String | Unique identifier of the record in the related module to be delinked. |
Result Set Columns
| Name | Type | Description |
| Status | String | Indicates whether the operation was successful. |
| RelatedRecordId | String | The identifier of the unlinked record. |
| Message | String | The message from the Zoho CRM API indicating if the relation was removed. |