campaign.reset

The campaign.reset command is used to reset a completed or a cancelled campaign. The reset removes all previous results of the campaign.

TR50 Request

{  
         "cmd": {    
           "command": "campaign.reset",    
           "params": {      
             "id": "537a3fa6d15a702de0000007"    
           }  
          }
         }

Request Parameters

Name

Type

Required

Description

id

String

Yes

The unique identifier of the campaign to reset.

TR50 Response

If the command is sent successfully a success message is returned. Otherwise, an error and error message will be returned.


                        {
  "cmd": {
    "success": true
  }
}