TransferAndDeletePipeline
Deletes a pipeline and reassigns all its stages to another pipeline, preserving deal associations.
Procedure-Specific Information
ZohoCRM Supports deleting a pipeline and transferring the associated stages to another pipeline by providing the FromId, ToId,Stages and LayoutId of the related pipeline.
Note: It works only with ApiVersion=2.1.
For Example:
EXEC TransferAndDeletePipeline FromId = '228122000000252002',ToId = '228122000000202388', Stages = '[\n" +
" {\n" +
" \"from\": \"4917206000000006801\",\n" +
" \"to\": \"4917206000000006801\"\n" +
" }\n" +
" ]', LayoutId = '228122000000202258'
Input
| Name | Type | Description |
| FromId | String | The identifier (Id) of the pipeline from which you want to delete and transfer associated deals. |
| ToId | String | The Id of the target pipeline where the deals is transferred. |
| Stages | String | The stages in the original pipeline that you want to map to the new pipeline. |
| LayoutId | String | The unique Id of the layout in the Deals module used to retrieve the pipeline details. |
Result Set Columns
| Name | Type | Description |
| Status | String | Indicates whether the transfer operation was successful. |
| JobId | String | The job identifier of the newly created transfer operation. |
| Message | String | The message from the Zoho CRM API indicating if the operation was successful. |