DelinkRelatedRecords
Breaks the association between two linked records, such as removing a contact from a deal.
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 | The name of the primary module whose record is being delinked. |
| RelatedModule | String | The name of the related module from which the record is being delinked. |
| RecordId | String | The unique identifier of the record in the primary module. |
| RelatedRecordId | String | The unique identifier of the related record to be delinked from the primary module. |
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. |