UpdateLeadProgramStatus
Changes the program status for a list of leads in a target program. Only existing members of the program may have their status changed with this procedure.
Execute
Sample EXECUTE UpdateLeadProgramStatus LeadIds='1557,1558,1559', ProgramId=1001, StatusName='Not in Program'
Input
| Name | Type | Required | Description |
| ProgramId | Integer | True | Id of the program. |
| LeadIds | String | True | Ids of Lead records to update. |
| StatusName | String | True | Name of the new status for the program member. |
Result Set Columns
| Name | Type | Description |
| Id | Integer | Id of the lead. |
| Status | String | Status of update operation. |
| Success | Boolean | Boolean indicating if the procedure was executed successfully. If false, the output parameter 'Details' will contain the failure details. |
| Details | String | Details of execution failure. NULL if success=true. |